Pass a variable to another python script
Rene Pijlman
reply.in.the.newsgroup at my.address.is.invalid
Sat Jan 3 12:02:56 EST 2004
More information about the Python-list mailing list
Sat Jan 3 12:02:56 EST 2004
- Previous message (by thread): "literal" objects
- Next message (by thread): Pass a variable to another python script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve:
>I've written a small cgi python script that collects feedback from a
>webform. I need to pass the values to another python script.. how do I
>do this?
There are many ways (command line, socket, file, database, ...), but the
easiest solution is as parameter of a function in the other module.
In module a:
feedback = "good site"
import b
b.function(feedback)
--
René Pijlman
- Previous message (by thread): "literal" objects
- Next message (by thread): Pass a variable to another python script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list