Re: [Tutor] databases

2011-09-11 Thread Alan Gauld
On 11/09/11 06:19, Alejandro Companioni wrote: I had the same thoughts at first: OS X is just BSD! This can't be too different from a Linux installation, right? There are a number of problems with mysql-python--chiefly its poor maintenance. I'll link to a nine (!) step guide on installing mysql

[Tutor] About installing 3.2.2

2011-09-11 Thread Richard D. Moores
Win 7, Python 3.2.1 I had downloaded python-3.2.2.amd64.msi and started the installation when I saw the attached. Does it mean that I would lose everything in the site-packages folder? Is this something even the Python newbie is supposed to know? Thanks, Dick Moores <>___

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

2011-09-11 Thread Richard D. Moores
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 = open(r"C:\t\test.txt", 'r+') >>> f.read() '0\n1\n