Re: SyntaxError on progress module

2015-05-27 Thread Steven D'Aprano
On Thu, 28 May 2015 06:03 am, Mark Lawrence wrote: > You make the statement regarding Python3 "even while it is 10 to 20 > percent slower". Where is your evidence to support this statement? Its well known that Python 3 is generally slower than Python 2. Cecil's claim shouldn't be controversial,

Re: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
On 27/05/2015 16:18, Cecil Westerhof wrote: Op Wednesday 27 May 2015 16:51 CEST schreef Mark Lawrence: On 27/05/2015 15:11, Cecil Westerhof wrote: Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST schre

Re: SyntaxError on progress module

2015-05-27 Thread Cecil Westerhof
Op Wednesday 27 May 2015 16:51 CEST schreef Mark Lawrence: > On 27/05/2015 15:11, Cecil Westerhof wrote: >> Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: >> >>> On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST schreef alb: > But here I have

Re: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
On 27/05/2015 15:11, Cecil Westerhof wrote: Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST schreef alb: But here I have another question, as a python novice is there really any reason for me to use an

Re: SyntaxError on progress module

2015-05-27 Thread Cecil Westerhof
Op Wednesday 27 May 2015 15:44 CEST schreef Mark Lawrence: > On 27/05/2015 09:42, Cecil Westerhof wrote: >> Op Wednesday 27 May 2015 09:30 CEST schreef alb: >> >>> But here I have another question, as a python novice is there >>> really any reason for me to use any particular version of Python? >>

Re: SyntaxError on progress module

2015-05-27 Thread Mark Lawrence
On 27/05/2015 09:42, Cecil Westerhof wrote: Op Wednesday 27 May 2015 09:30 CEST schreef alb: 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? In principal y

Re: SyntaxError on progress module

2015-05-27 Thread Cecil Westerhof
Op Wednesday 27 May 2015 09:30 CEST schreef alb: > 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? In principal you should use the ‘latest’ 3. The only pr

Re: SyntaxError on progress module

2015-05-27 Thread Chris Angelico
On Wed, May 27, 2015 at 5:30 PM, alb wrote: > 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? > Start with the newest that's conveniently available. With

Re: SyntaxError on progress module

2015-05-27 Thread David Palao
2015-05-27 9:30 GMT+02:00 alb : > Hi Mark, > Mark Lawrence 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 s

Re: SyntaxError on progress module

2015-05-27 Thread alb
Hi Mark, Mark Lawrence 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'

Re: SyntaxError on progress module

2015-05-27 Thread alb
Hi Chris, Chris Angelico wrote: [] >> 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. > > Or upgrade to 3.3 or better; is there anything holding you on 3.2? > Buildin

Re: SyntaxError on progress module

2015-05-26 Thread Chris Angelico
On Wed, May 27, 2015 at 1:59 AM, Mark Lawrence wrote: > On 26/05/2015 16:48, alb wrote: >> >> Hi everyone, >> >> I've installed the 'progress' module (ver 1.2) and I have the following >> error when used: >> >>File >> "/home/debian/repos/2418_IASI-NG/Documents/Tools/tex_tool/venv/local/lib/pyt

Re: SyntaxError on progress module

2015-05-26 Thread Mark Lawrence
On 26/05/2015 16:48, alb wrote: Hi everyone, I've installed the 'progress' module (ver 1.2) and I have the following error when used: 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 on progress module

2015-05-26 Thread alb
Hi everyone, I've installed the 'progress' module (ver 1.2) and I have the following error when used: 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: inv