Module trouble [newbie]

Boris Ozegovic silovana.vjeverica at com.gmail
Fri Feb 23 07:05:35 EST 2007


Diez B. Roggisch wrote:

> Are you sure the above is what you really used for your test? Because your
> output features a single 100, which the above lacks a print-statement for.

Yeah, I cancelled the message, but synchronization allready happened.  :)

Problem was in some other place.

One more question: is calling import inside function definition poor
design?  e.g.

def foo():
   doSomething:
   import someModule
   someModule.doSomethin

-- 
http://www.nacional.hr/articles/view/23894/23



More information about the Python-list mailing list