Hello,
Can help me with this:
I am using a python module that someone else wrote
http://www.alextreme.org/projects/python_ai/
This is an example of how it works
# Usage:
# import ga
#
# ga = ga.GA()
# ga.evolve()
# Function arguments (fun defaults are used otherwise):
#
# ga.GA(population_siz
Carlos schrieb:
> My problem is that no matter were I put this, I have to declare ga a
> global.
You are confusing two different objects with the name 'ga' here:
a) the module object 'ga' which you create by import ing it:
import ga
this binds the name 'ga' to the module object created by read
Hello. I'm just starting to learn Python, and want to do some python
cgi scripting. Can someone recommend a good web site or online
reference (beginner level)?
Thank you.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Troy
> Sent: Tuesday, December 26, 2006 10:01 PM
> To: tutor@python.org
> Subject: [Tutor] Python cgi scripting
>
> Hello. I'm just starting to learn Python, and want to do some python
> cgi script
"Troy" <[EMAIL PROTECTED]> wrote
> Hello. I'm just starting to learn Python, and want to do some
> python
> cgi scripting. Can someone recommend a good web site or online
> reference (beginner level)?
The standard documentation for cgi is pretty good.
Also check out the Web Programming Topic
Sorry, just testing if I can receive mail from this list again.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor