Re: [Tutor] About installing 3.2.2

2011-09-12 Thread Richard D. Moores
On Mon, Sep 12, 2011 at 06:48, Prasad, Ramit wrote: > -Original Message- > From: tutor-bounces+ramit.prasad=jpmorgan@python.org > [mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of > Richard D. Moores > Sent: Sunday, September 11, 2011 10:03 PM > To: Tutor List

Re: [Tutor] need advice about a dictionary ({})

2011-09-12 Thread Richard D. Moores
I'm the OP. Nick Zarr, alias Jack Trades, has done something really marvelous. He's made a thorough critique and refactoring of my phone_book.py, in its last incarnation as . See . He'll be making that part of his blog (

Re: [Tutor] Calendar

2011-09-12 Thread nitin chandra
I tried it in the following way, but beyond that i am not able to go. #!/usr/bin/env python import os, re, sys, calendar from datetime import datetime myCal = calendar.monthcalendar(2011,9) html += str(myCal) mycal = myCal[:1] cal1 = myCal[1:2] cal2 = myCal[2:3] cal3 = my

Re: [Tutor] Calendar

2011-09-12 Thread Sander Sweers
On 12/09/11 21:15, nitin chandra wrote: I need to create a calendar with python& CSS for the web page, in the following format Dec , 2011 - sun | mon | tue | wed th

Re: [Tutor] Calendar

2011-09-12 Thread spawgi
If you want to create a calendar for a webpage, I think you can use many ready made JS packages for this. May be jquery also has something. Is using Python mandatory for this task? And why? On Tue, Sep 13, 2011 at 12:45 AM, nitin chandra wrote: > Hi All, > > I need to create a calendar with pyth

[Tutor] Calendar

2011-09-12 Thread nitin chandra
Hi All, I need to create a calendar with python & CSS for the web page, in the following format Dec , 2011 - sun | mon | tue | wed thu fri sat sun mon tue wed thu f

Re: [Tutor] Unusual pathfile

2011-09-12 Thread Alan Gauld
On 12/09/11 15:49, Susana Iraiis Delgado Rodriguez wrote: Hi! I developed a python gui module to make a walk through a directory. This time I want the user to select the parameters I need from the python gui. The results will be written in a csv file, the problem I found is the pathfile shows thi

[Tutor] Unusual pathfile

2011-09-12 Thread Susana Iraiis Delgado Rodriguez
Hi! I developed a python gui module to make a walk through a directory. This time I want the user to select the parameters I need from the python gui. The results will be written in a csv file, the problem I found is the pathfile shows this way: C:/\Archivos de programa\FWTools2.4.7\bin\mapnik-0.7.

Re: [Tutor] About installing 3.2.2

2011-09-12 Thread Prasad, Ramit
-Original Message- From: tutor-bounces+ramit.prasad=jpmorgan@python.org [mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Richard D. Moores Sent: Sunday, September 11, 2011 10:03 PM To: Tutor List Subject: [Tutor] About installing 3.2.2 Win 7, Python 3.2.1 I h

Re: [Tutor] databases

2011-09-12 Thread Prasad, Ramit
> Also I suspect you don't really need to download the full Developers >Tools(XCode) you could probably just use the gcc compiler which >is much smaller from Macports or Fink. The last I checked, Macports required XCode compiler to build/install itself (and requires XCode to be updated on OS up

Re: [Tutor] Can't edit a file I've opened with open(), then closed with close()

2011-09-12 Thread Dave Angel
On 09/12/2011 01:29 AM, Richard D. Moores wrote: Win 7, Python 3.2.1 I'm trying to improve my skills with opening text files, reading from them, and writing to them. But while I'm doing this sometimes I want to manually modify the text file I'm using, C:\t\text.txt . Say I've done this: f = o