![]() |
Dynamically set variables?
Say I import another Python script into the Python script I'm working on. I want to be able to set variables in that file, OR in the file I'm working in, by passing a single variable. For example:
:
import thing |
Hmm... Perhaps something like:
:
def set_variable(name, value, obj = None): |
| All times are GMT -5. The time now is 12:51 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC