[python-win32] starnge error at startup

Gabriel Genellina gagsl-p32 at yahoo.com.ar
Thu Jul 20 22:20:42 CEST 2006


At Thursday 20/7/2006 12:20, Robin Becker wrote:

>I get the following error when starting pythonwin on a particular script. I
>would like to be able to debug the script, but pythonwin won't seem 
>to open it.


>      import tokenize
>    File "C:\Python\lib\tokenize.py", line 38, in ?
>      COMMENT = N_TOKENS
>exceptions.NameError: name 'N_TOKENS' is not defined

Looking at tokenize.py, it imports all from token.py
Look at your token.py. There is a notice at the top of the file, it 
should have been built automatically, but perhaps something failed.



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



More information about the Python-win32 mailing list