Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.05; 'porting': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'python': 0.11; 'syntax': 0.13; 'everyone,': 0.15; '3.3.': 0.16; 'guess.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reinstated': 0.16; 'rough': 0.16; 'setuptools': 0.16; 'syntaxerror:': 0.16; 'used:': 0.16; 'wrote:': 0.16; 'language': 0.19; 'handling': 0.20; 'lawrence': 0.22; 'strip': 0.22; 'module': 0.23; '3.0': 0.23; 'ease': 0.23; "i've": 0.24; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'header:X-Complaints-To:1': 0.26; 'appreciated.': 0.27; 'error': 0.27; 'skip:( 20': 0.28; 'fine': 0.29; "i'm": 0.29; 'environment': 0.29; 'language.': 0.32; 'running': 0.34; 'file': 0.34; 'to:addr :python-list': 0.35; 'unicode': 0.35; 'list': 0.35; 'but': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'front': 0.38; 'progress': 0.38; 'virtual': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'mark': 0.40; 'some': 0.40; 'our': 0.64; 'due': 0.65; 'believe': 0.67; 'demand': 0.79; 'received:89': 0.80; 'pip': 0.84; 'pythonistas,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: SyntaxError on progress module Date: Tue, 26 May 2015 16:59:01 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: host-89-240-166-61.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1432655950 news.xs4all.nl 2963 [2001:888:2000:d::a6]:54624 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91251 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: invalid syntax > > I believe I have some problems with unicode handling but it's just a > rough guess. > > I'm running in a virtual environment with python3.2 with the following > configuration: > > (venv)debian@debian:tex_tool$ pip list > pip (7.0.1) > progress (1.2) > pypandoc (0.9.7) > setuptools (15.0) > > Any suggestions/comments/pointer is appreciated. > > Al > 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. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence