Re: [Tutor] Recreating the help module

2012-07-24 Thread Peter Otten
M Nickey wrote: > Hey all, > > I'm trying to recreate the 'help' on various modules that are available. > So far, I have a bit of code and it seems to be working for the most part. > I can get the modules available but I also want to be able to print the > information that is available for each m

[Tutor] Recreating the help module

2012-07-24 Thread M Nickey
Hey all, I'm trying to recreate the 'help' on various modules that are available. So far, I have a bit of code and it seems to be working for the most part. I can get the modules available but I also want to be able to print the information that is available for each module. Current output: ['

Re: [Tutor] where is my MySQL database

2012-07-24 Thread Michael Janßen
On 25 July 2012 00:51, Zhenzhen wrote: > hi, I'm working on setting up my database for django by editing the > following file: > mysite/settings.py > > for the field "name", I am suppose to put down the full path of my mySQL > database. > for mysql, it needs to be the database name, specified in

Re: [Tutor] where is my MySQL database

2012-07-24 Thread Alan Gauld
On 24/07/12 23:51, Zhenzhen wrote: hi, I'm working on setting up my database for django by editing the following file: mysite/settings.py for the field "name", I am suppose to put down the full path of my mySQL database. This doesn't have much to do with learing Python, or even Django... You

[Tutor] where is my MySQL database

2012-07-24 Thread Zhenzhen
hi, I'm working on setting up my database for django by editing the following file: mysite/settings.py for the field "name", I am suppose to put down the full path of my mySQL database. I did create a few databases in MySQL, however, I don't seem to be able to find them anywhere. I have tried 'g

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Stefan Behnel
Albert-Jan Roskam, 24.07.2012 11:18: > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is > SPSS version-very-old vs. SPSS version-latest. > > Normally I'd just fire the program up in a subprocess and measure t

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Michael Janßen
On 24 July 2012 11:18, Albert-Jan Roskam wrote: > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is SPSS > version-very-old vs. SPSS version-latest. > > Normally I'd just fire the program up in a subprocess a

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Albert-Jan Roskam
From: Steven D'Aprano To: tutor@python.org >Sent: Tuesday, July 24, 2012 11:48 AM >Subject: Re: [Tutor] measuring the start up time of an event-driven program > >On Tue, Jul 24, 2012 at 02:18:43AM -0700, Albert-Jan Roskam wrote: >> Hi, >> >> I would like to test how long it takes for two versi

Re: [Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Steven D'Aprano
On Tue, Jul 24, 2012 at 02:18:43AM -0700, Albert-Jan Roskam wrote: > Hi, > > I would like to test how long it takes for two versions of the same > program to start up and be ready to receive commands. The program is > SPSS version-very-old vs. SPSS version-latest. I don't think this is a Python

[Tutor] measuring the start up time of an event-driven program

2012-07-24 Thread Albert-Jan Roskam
Hi, I would like to test how long it takes for two versions of the same program to start up and be ready to receive commands. The program is SPSS version-very-old vs. SPSS version-latest. Normally I'd just fire the program up in a subprocess and measure the time before and after finishing. But