import config as regex
    except Exception as e:
    logging.error('Issue in Calcutaing: '+str(e))
    return None
I want to execute this program but it gives the following error.
    import config as regex
  File "/usr/local/lib/python3.5/dist-packages/config.py", line 733
    except Exception, e:
                ^
 
    