Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91252
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'cpython': 0.05; 'porting': 0.09; 'subject:module': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'syntax': 0.13; 'wed,': 0.15; 'everyone,': 0.15; '3.3.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reinstated': 0.16; 'syntaxerror:': 0.16; 'used:': 0.16; 'wrote:': 0.16; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'lawrence': 0.22; 'strip': 0.22; 'am,': 0.23; '2015': 0.23; 'module': 0.23; '3.0': 0.23; 'ease': 0.23; "i've": 0.24; 'header:In-Reply-To:1': 0.24; 'installed': 0.26; 'error': 0.27; 'message-id:@mail.gmail.com': 0.28; 'fine': 0.29; "i'm": 0.29; 'environment': 0.29; 'source': 0.31; 'running': 0.34; 'file': 0.34; 'received:google.com': 0.34; 'unicode': 0.35; 'but': 0.36; 'there': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'front': 0.38; 'virtual': 0.38; 'building': 0.38; 'mark': 0.40; 'easy': 0.60; 'more': 0.62; 'course': 0.64; 'due': 0.65; 'upgrading': 0.72; 'demand': 0.79; 'chrisa': 0.84; 'to:none': 0.90 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=VqU1XF4BzQ+9AKijqLmFRFwNDBh4bUVESxzIoPtTGuM=; b=tXzjU4UNDCh/CfSQx5v01wbptg4V95bSe02IvDxGDfx9Cf0WYVl+FlBCB6NzWvqJ2S 4Mmdiw5NbsUGtc1OEu9NymPbYbqlCI5RnhI0AGHxKgCi1MG21u5PFRcD1ICgEqlkMRbq oR9CmHH1hrS9mlRR04UF/E2HuAs2WWGv5K9DVOBLdk8VWHFds13lUnRfyTd0fXil3uAw eqDUhjtW9FlrYxyR/mF53Km4EJLWBDPwlmgqHifSYF8qcLZuDq4fhCiky9bQcbNcHGME mNeiKsnsTThQxyJ92H5LiCLjj1QJH/cnAFutv6s6vk6ia52EdHD+j27gAfeW2AO355+4 jgzw== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.43.199 with SMTP id y7mr30522126ice.12.1432657621647; Tue, 26 May 2015 09:27:01 -0700 (PDT) |
| In-Reply-To | <mk2586$d30$1@ger.gmane.org> |
| References | <csjitvF6cptU1@mid.individual.net> <mk2586$d30$1@ger.gmane.org> |
| Date | Wed, 27 May 2015 02:27:01 +1000 |
| Subject | Re: SyntaxError on progress module |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.59.1432657630.5151.python-list@python.org> (permalink) |
| Lines | 30 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1432657630 news.xs4all.nl 2872 [2001:888:2000:d::a6]:59981 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:91252 |
Show key headers only | View raw
On Wed, May 27, 2015 at 1:59 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> 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/python3.2/site-packages/progress/bar.py", >> line 48 >> empty_fill = u'∙' >> ^ >> SyntaxError: invalid syntax >> >> I'm running in a virtual environment with python3.2 > > 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? Building CPython from source is pretty easy on Debian, and of course upgrading to Jessie will correspondingly upgrade you to a more recent Python (3.4, to be precise). ChrisA
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