Where to put the import command in the file?

2007-10-02 Thread wang frank
Hi, I am writing Python script now. The project will grow bigger in future. I need to import some packages for several functions, such as numpy. Where is the best plalce to put the import numpy command? Is it fine to put on the first line in the file? Is it better to put it into each

Re: Where to put the import command in the file?

2007-10-02 Thread Gabriel Genellina
En Tue, 02 Oct 2007 19:01:27 -0300, wang frank [EMAIL PROTECTED] escribi�: I am writing Python script now. The project will grow bigger in future. I need to import some packages for several functions, such as numpy. Where is the best plalce to put the import numpy command? Is it fine to