Re: Issue with MySQLdb wrapper

2007-05-16 Thread jmg3000
On May 15, 7:22 pm, Gerard M <[EMAIL PROTECTED]> wrote: > Hi guys I have a big problem with this wrapper im using Ubuntu 7.04 > and I want to install python-MySQLdb, I used synaptics and it is > installed, but when I try to do>>> import MySQLdb > > and I get this error: > > Traceback (most recent

Re: customary way of keeping your own Python and module directory in $HOME

2007-05-14 Thread jmg3000
On May 14, 6:00 pm, James Stroud <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > [snip], but on *nix, > you can compile python with the "--prefix=" option set to a directory in > your home dir and install there. Check. > I recommend having your own python install if you want a comprehensi

customary way of keeping your own Python and module directory in $HOME

2007-05-14 Thread jmg3000
What's the customary way to keep your own local Python and package directory? For example, when you're on a server where you don't have root access, and everything must go in your home directory. * What directories do you create? * What environment variables do you set? * What config files do you

Re: append

2007-05-10 Thread jmg3000
On May 10, 1:11 pm, HMS Surprise <[EMAIL PROTECTED]> wrote: > Found list popping at > > http://en.wikibooks.org/wiki/Python_Programming/Lists:) You can find terse info on the list methods by doing: >>> help(list) ---John -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie look at Python and OO

2007-05-10 Thread jmg3000
On May 10, 11:58 am, walterbyrd <[EMAIL PROTECTED]> wrote: >[snip] > > 2) list assignment handling, pointing two vars to the same list: > > With simple data types:>>> a = 5 > >>> b = a > >>> a = 3 > >>> a,b > > (3, 5) > > Which is what I'd expect, since I have changed a, but not b. > > But with lis

Re: Chart drawing tool in python

2007-04-29 Thread jmg3000
On Apr 29, 9:52 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > In Perl, there is a GD module to draw custom chart. > > http://www-128.ibm.com/developerworks/opensource/library/os-perlgdcha... > > Can you please tell me if there is an equivalent library in python? > > Thank you. I've