SyntaxError on progress module
alb
al.basili at gmail.com
Wed May 27 03:30:31 EDT 2015
Hi Mark,
Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
[]
>> File "/home/debian/repos/2418_IASI-NG/Documents/Tools/tex_tool/venv/local/lib/python3.2/site-packages/progress/bar.py", line 48
>> empty_fill = u'∙'
>> ^
>> SyntaxError: invalid syntax
>>
[]
>
> Python 3.0 removed the 'u' for unicode in front of strings but due to
> popular demand to ease porting it was reinstated in 3.3. Strip it away
> and you should be fine to go.
I'm not particularly comfortable in fiddling with the library source,
even if the change seems really minor, therefore I guess that I'll
upgrade to a more recent version of Python/Debian.
But here I have another question, as a python novice is there really any
reason for me to use any particular version of Python?
Should I start directly with the newest? What about 2.7?
Al
More information about the Python-list
mailing list