Including code

"Dustin ?" <[email protected]>
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
Sorry for this silly question, but what method of including code from a 
different file and have those variables in that file available to the 
included-from file? I'm trying to include an overall header that sets 
variables depending on if a simple SQL query can be made. include.spyce() or 
[[.import name=myspycemodule]] don't seem to return variables to the whole 
context.

Thanks,
Dustin



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.