By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

Pass a variable to another python script

P: n/a
Hi,

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? Is this even possible? Thanks

Steve

Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.