Re: [Tutor] Writing to a remote file

2006-06-19 Thread Python
On Sun, 2006-06-18 at 20:11 +0100, kieran flanagan wrote: Hi Thanks for the help. I took a quick scan through the logging module and I can't see any mention of writing to a remote file ? Could you please direct me to the part you mentioned ?. I had 3 suggestions: use the remote computer

[Tutor] local day names in ascii

2006-06-19 Thread frank h.
Hello List,i am trying to convert local Swedish daynames to ASCIIMåndag should become MandagLördag should become LordagSöndag should become Sondag here is my sessionimport localelocale.setlocale(locale.LC_ALL, 'sv_Se')datetime.date(2006, 06, 19).strftime(%A)'M\xc3\xa5ndag'datetime.date(2006, 06,

Re: [Tutor] local day names in ascii

2006-06-19 Thread Andre Roberge
May I suggest you look at this http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/251871 including the comments. (The last comment in particular looks intriguing...) André On 6/19/06, frank h. [EMAIL PROTECTED] wrote: Hello List, i am trying to convert local Swedish daynames to ASCII

[Tutor] Fwd: local day names in ascii

2006-06-19 Thread Andre Roberge
Message forwarded to the list for information. André -- Forwarded message -- From: frank h. [EMAIL PROTECTED] Date: Jun 19, 2006 11:06 AM Subject: Re: [Tutor] local day names in ascii To: Andre Roberge [EMAIL PROTECTED] André, thank you so much for this spot-on pointer. the last

[Tutor] projects for beginners

2006-06-19 Thread josip
Hi!I have read learning python and mede some smaller examples. Now I want to make smoe project, I'm thinking about text editor. Can someone give me pointers like (where and how to start, etc.)? Or maybe another project suitable for beginners. Sneak preview the all-new Yahoo.com.

Re: [Tutor] local day names in ascii

2006-06-19 Thread anush badii
Why don't you use the extended ASCII characters where Swedish characters are included. On 6/19/06, frank h. [EMAIL PROTECTED] wrote: Hello List,i am trying to convert local Swedish daynames to ASCIIMåndag should become MandagLördag should become LordagSöndag should become Sondag here is my

Re: [Tutor] projects for beginners

2006-06-19 Thread Mike Hansen
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of josipSent: Monday, June 19, 2006 8:39 AMTo: tutor@python.orgSubject: [Tutor] projects for beginners Hi! I have read learning python and mede some smaller examples. Now I want to make smoe project,

Re: [Tutor] Beginner question(s)

2006-06-19 Thread David Rock
* Ismael Garrido [EMAIL PROTECTED] [2006-06-18 19:34]: Alan Gauld wrote: Also, does anyone know of a PDA that would run python? There was a project called pippy, but I haven't heard anything of it recently so I don't know if its still around or if it runs on modern PDAs - I

[Tutor] More network server questions

2006-06-19 Thread Tino Dai
Hi Everybody, I took Kent's advice, and used SocketServer instead of rolling my own sockets. It works pretty good except for the fact that when I exit and restart the program, I get a Address in use. And I remember that Danny told me about allow_reuse_address. So, that's where I got stuck. I put

[Tutor] Writing an Alt-Enter

2006-06-19 Thread URBAN LANDREMAN
I'm trying to write a .csv file which I can subsequently load into Excel. The part that's tripping me up is I want to include an Alt-Enter between two of the fields so that when Excel reads the file, it will enter the two fields into the same cell, but on separate lines. Is there a way to do it

Re: [Tutor] Writing an Alt-Enter

2006-06-19 Thread John Fouhy
On 20/06/06, URBAN LANDREMAN [EMAIL PROTECTED] wrote: I'm trying to write a .csv file which I can subsequently load into Excel. The part that's tripping me up is I want to include an Alt-Enter between two of the fields so that when Excel reads the file, it will enter the two fields into the