Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91287
| From | al.basili@gmail.com (alb) |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: SyntaxError on progress module |
| Date | 2015-05-27 07:30 +0000 |
| Message-ID | <csla4lFjduaU2@mid.individual.net> (permalink) |
| References | <csjitvF6cptU1@mid.individual.net> <mailman.58.1432655950.5151.python-list@python.org> |
Hi Mark, Mark Lawrence <breamoreboy@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-26 15:48 +0000
Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-26 16:59 +0100
Re: SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-27 07:30 +0000
Re: SyntaxError on progress module David Palao <dpalao.python@gmail.com> - 2015-05-27 09:47 +0200
Re: SyntaxError on progress module Chris Angelico <rosuav@gmail.com> - 2015-05-27 18:22 +1000
Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 10:42 +0200
Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 14:44 +0100
Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 16:11 +0200
Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 15:51 +0100
Re: SyntaxError on progress module Cecil Westerhof <Cecil@decebal.nl> - 2015-05-27 17:18 +0200
Re: SyntaxError on progress module Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-27 21:03 +0100
Re: SyntaxError on progress module Steven D'Aprano <steve@pearwood.info> - 2015-05-28 11:39 +1000
Re: SyntaxError on progress module Chris Angelico <rosuav@gmail.com> - 2015-05-27 02:27 +1000
Re: SyntaxError on progress module al.basili@gmail.com (alb) - 2015-05-27 07:24 +0000
csiph-web