Re: [Tutor] site-packages

2006-03-25 Thread linda.s
On 3/25/06, Danny Yoo <[EMAIL PROTECTED]> wrote: > > > On Sat, 25 Mar 2006, linda.s wrote: > > > I downloaded some modules and were told to put under > > *\Python24\Lib\site-packages > > Hi Linda, > > Out of curiosity, which module? If we're being asked to copy files > manually into site-packages,

Re: [Tutor] site-packages

2006-03-25 Thread Danny Yoo
On Sat, 25 Mar 2006, linda.s wrote: > I downloaded some modules and were told to put under > *\Python24\Lib\site-packages Hi Linda, Out of curiosity, which module? If we're being asked to copy files manually into site-packages, we should do a double check on this, because that's a slightly od

[Tutor] site-packages

2006-03-25 Thread linda.s
I downloaded some modules and were told to put under *\Python24\Lib\site-packages I use mac machine and run Python 2.4 but why i could not find any folder named Python24. Also, my Mac machine has a default Python 2.3, I do not see any folder named Python2.3 Confused... Linda ___

Re: [Tutor] I HAVE A QUESTION

2006-03-25 Thread Kent Johnson
Tom Bachik wrote: > all it means is that i have easygui but every time i open it it only > gives me demos is that all it is suppose to do? Or is actually suppose > to teach me how to the boxes it demos because it doesn't You have to write your own program to use easygui. When you run it by itse

Re: [Tutor] I HAVE A QUESTION

2006-03-25 Thread Kent Johnson
Tom Bachik wrote: > des easygui only demo boxes because thats all i can get it todo I don't understand your question. What have you tried? What do you want it to do? The easygui documentation describes the different types of dialog boxes it supports. You will be more likely to get a helpful ans

[Tutor] I HAVE A QUESTION

2006-03-25 Thread Tom Bachik
des easygui only demo boxes because thats all i can get it todo ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Cleaning up input before inserting into MySQL.

2006-03-25 Thread Kent Johnson
Adam Cripps wrote: > I have a textarea which collects text and other characters. I'm > attempting to put this into a MySQL database. See code at [1]. > > However, if I use any type of quotes (either single or double) then it > prematurely closes the SQL statement, and I get an errror: > > Program

Re: [Tutor] Simple way for i18n ?

2006-03-25 Thread francois schnell
Hello Micheal,I'veĀ  changed LANGUAGE in the shell , it worked at the beginning and then it stopped working ...Also os.environ.setdefault method still has no effect. I begin to wonder if it's specific to my distro (Ubuntu Breezy). Anyway I managed to use "translation" but if I give None for language

[Tutor] Cleaning up input before inserting into MySQL.

2006-03-25 Thread Adam Cripps
I have a textarea which collects text and other characters. I'm attempting to put this into a MySQL database. See code at [1]. However, if I use any type of quotes (either single or double) then it prematurely closes the SQL statement, and I get an errror: ProgrammingError: (1064, "You have an er

Re: [Tutor] Mysql BLOB strangeness?

2006-03-25 Thread Adam Cripps
On 3/19/06, Brian Gustin <[EMAIL PROTECTED]> wrote: > OK so I guess you know what you need to do now :) something like this > perhaaps : > > (modified your original code) > > reportlist = query(reportquery) > mystring = '' > for row in reportlist: > id = row[0] > title = row[1] >