For finnished the subject i resolve the problem using the PEP-328, i was using the old kind of imports :s<br /><br />On Feb 4, 2010 10:10pm, Hidura <hidura@gmail.com> wrote:<br />> Thanks i middle resolve the problem, and i going to read the PEP-366 i've been read the 328, i will kept informed of the progresses.<br />> <br />> Thanks again for the help <br />> <br />> <br />> On Thu, Feb 4, 2010 at 6:47 PM, Ben Finney ben+python@benfinney.id.au> wrote:<br />> <br />> "Gabriel Genellina" gagsl-py2@yahoo.com.ar> writes:<br />> <br />> <br />> <br />> > If you directly run a script from inside a package, Python does not<br />> <br />> > know that it belongs to a package, and treats it as a simple, lonely<br />> <br />> > script. In that case, relative imports won't work.<br />> <br />> <br />> <br />> <br />> Which I consider to be a bug. Fortunately, it's already addressed in PEP<br />> <br />> 366 http://www.python.org/dev/peps/pep-0366/>. Unfortunately, it<br />> <br />> involves more hackish boilerplate at the top of the program, and is only<br />> <br />> available in Python 2.6+.<br />> <br />> <br />> <br />> --<br />> <br />>  \              “Ignorance more frequently begets confidence than does |<br />> <br />>   `\           knowledge.” —Charles Darwin, _The Descent of Man_, 1871 |<br />> <br />> _o__)                                                                  |<br />> <br />> Ben Finney<br />> <br />> <br />> --<br />> <br />> http://mail.python.org/mailman/listinfo/python-list<br />> <br />> <br />> <br />> <br />> <br />> <br />> -- <br />> Hidura<br />>