Trying to debug my code, I'm importing the library pdb
import sys
from subprocess import check_call
import pdb
/*functions*/
if __name__== "__main__":
/* Code */
I'm receiving this error:
File "reg.py", line 11, in <module>
import pdb
File "/usr/lib/python2.7/pdb.py", line 9, in <module>
import cmd
File "/usr/lib/python2.7/cmd.py", line 53, in <module>
IDENTCHARS = string.ascii_letters + string.digits + '_'
AttributeError: 'module' object has no attribute 'ascii_letters'
If I create a new python file and I try to run pdb, the same error occur.