Question on embedding. www.mcmillian-inc.com

Arinté jamarijr at my-deja.com
Fri Jun 2 11:04:17 EDT 2000


I just looked at that web page and saw a sample of embedding.  The
source is located here http://www.mcmillan-inc.com/embed2.html.  I am
not sure if I am reading this right, but it seems the c program runs
the script by calling "doit" in the *.py file.  How would you call a
*py file that didn't have any functions just the main thing.

some.py
----------------start file-------
print "junk"
----------------end file------------

How would you call that file using that source.

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list