thanks both (Alan and Kent)!
now am clear about the right way of making import..
salu2..
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
What is the best aproach when it comes to import??, is allways better to
make all the import calls in the global scope, making the overall
runtime of the program better because the program is not going to import
something everytime a function is called, or is better to make specific
import's in
Olli Virta escribió:
Hi!
I have a textfile (job.txt) that needs modifying. The structure of
this file is like this:
AAA1...
BBB1...
CCC1...
AAA2...
BBB2...
CCC2...
etc...
Question is how can I turn this all to a textfile (done.txt) that is
suppose to look like this:
AAA1...BBB1...C
Nathan Wing escribió:
Hello All,
I've been racking my brain trying to figure out, what I imagine to be,
a very simple problem. I found the Intro to comp science MIT open
course
(http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2007/CourseHome/index.htm)
and was