[Tutor] Using £ in python

David Holland davholla2002 at yahoo.co.uk
Sat Jan 1 12:05:25 CET 2005


Kent,

When I tried '\xc2' nothing happened.
I should have said that is a game using pygame.

Kent
 --- tutor-request at python.org wrote: 
> Send Tutor mailing list submissions to
> 	tutor at python.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://mail.python.org/mailman/listinfo/tutor
> or, via email, send a message with subject or body
> 'help' to
> 	tutor-request at python.org
> 
> You can reach the person managing the list at
> 	tutor-owner at python.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Tutor digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: O.T. (Michael Lange)
>    2. OT (David Holland)
>    3. ASCII encoding for a ? sign (David Holland)
>    4. Fwd: ASCII encoding for a ? sign (David
> Holland)
>    5. Parsing a block of XML text (kumar s)
>    6. Parsing a block of XML text (kumar s)
>    7. Re: cgi.FieldStorage and dictionary.get(' ')
> (Patric Michael)
>    8. Re: O.T. (Brian van den Broek)
>    9. Re: Fwd: ASCII encoding for a ? sign (Kent
> Johnson)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 31 Dec 2004 16:01:10 +0100
> From: Michael Lange <klappnase at freenet.de>
> Subject: Re: [Tutor] O.T.
> To: tutor at python.org
> Message-ID:
> <20041231160110.51e519e8.klappnase at freenet.de>
> Content-Type: text/plain; charset=US-ASCII
> 
> > * Jacob S. <keridee at jayco.net> [041228 01:42]:
> > > But who are you all, what are you're ages, what
> do you do, marriage status,
> > > etc?
> 
> 37, no kids but a girlfriend with a cat. I work at a
> clinical laboratory in a hospital in germany.
> I'm just a hobby programmer and started with python
> about 2 years ago; I chose python as my first
> (and yet only) language because I happened to find a
> cheap german version of Ivan van Laningham's
> "Teach yourself python in 24 hours" in a local
> bookstore when I was looking for something to
> start with. The book had a sticker on it that said
> something like "No programming knowledge required!"
> which looked very promising to me back then.
> 
> A happy new year to all of you
> 
> Michael 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 31 Dec 2004 16:16:35 +0000 (GMT)
> From: David Holland <davholla2002 at yahoo.co.uk>
> Subject: [Tutor] OT
> To: tutor at python.org
> Message-ID:
>
<20041231161635.52669.qmail at web25406.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> I am 31 married, living in London UK.
> I can play guitar but I am not that good. 
> I work in IT as Oracle support but the only
> languages
> I know apart from basic python is basic PL/SQL and
> of
> course SQL.  Of course I know how to use various
> Oracle applications.
> I studied Chemistry but sadly there were no jobs so
> I
> moved in IT.
> 
> 
> 	
> 	
> 		
>
___________________________________________________________
> 
> ALL-NEW Yahoo! Messenger - all new features - even
> more fun! http://uk.messenger.yahoo.com
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 31 Dec 2004 16:28:59 +0000 (GMT)
> From: David Holland <davholla2002 at yahoo.co.uk>
> Subject: [Tutor] ASCII encoding for a ? sign
> To: tutor at python.org
> Message-ID:
>
<20041231162859.54839.qmail at web25406.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> I ran a program with a "£" sign, and I got this
> message :-
> 
> "sys:1: DeprecationWarning: Non-ASCII character
> '\xc2'
> in file birdgame32a.py on line 93, but no encoding
> declared; see
> http://www.python.org/peps/pep-0263.html
> for details'
> I looked at the message but I am not sure what
> encoding to use for "£".
> 
> 
> 	
> 	
> 		
>
___________________________________________________________
> 
> ALL-NEW Yahoo! Messenger - all new features - even
> more fun! http://uk.messenger.yahoo.com
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Fri, 31 Dec 2004 16:42:10 +0000 (GMT)
> From: David Holland <davholla2002 at yahoo.co.uk>
> Subject: [Tutor] Fwd: ASCII encoding for a ? sign
> To: tutor at python.org
> Message-ID:
>
<20041231164210.49306.qmail at web25403.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Apologies,
> I did not see that Kent had already answered this !
> Thanks Kent I put that encoding and it works fine.
> Although surprisingly the other idea :-
> write the string with '\xc2'  did not work.
> 
>  --- David Holland <davholla2002 at yahoo.co.uk> wrote:
> 
> > Date: Fri, 31 Dec 2004 16:28:59 +0000 (GMT)
> > From: David Holland <davholla2002 at yahoo.co.uk>
> > Subject: ASCII encoding for a £ sign
> > To: tutor at python.org
> > 
> > I ran a program with a "£" sign, and I got this
> > message :-
> > 
> > "sys:1: DeprecationWarning: Non-ASCII character
> > '\xc2'
> > in file birdgame32a.py on line 93, but no encoding
> > declared; see
> > http://www.python.org/peps/pep-0263.html
> > for details'
> > I looked at the message but I am not sure what
> > encoding to use for "£".
> > 
> > 
> > 	
> > 	
> > 		
> >
>
___________________________________________________________
> > 
> > ALL-NEW Yahoo! Messenger - all new features - even
> > more fun! http://uk.messenger.yahoo.com
> >  
> 
> 
> 	
> 	
> 		
>
___________________________________________________________
> 
> ALL-NEW Yahoo! Messenger - all new features - even
> more fun! http://uk.messenger.yahoo.com
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 31 Dec 2004 14:15:42 -0800 (PST)
> From: kumar s <ps_python at yahoo.com>
> Subject: [Tutor] Parsing a block of XML text
> To: tutor at python.org
> Message-ID:
> <20041231221543.64372.qmail at web53707.mail.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 
=== message truncated === 


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


More information about the Tutor mailing list