Saturday 15 May 2010

python - Importing variables from another file? -


How can I import files from one file to another?

Example: How did the variable x1 and x2 pass on file2 in file1 can go?

I

  to file1 import *    / Code>  

will import all the items and methods in file 1

No comments:

Post a Comment