how to run python2.6 module with absolute imports stand alone
Jean-Michel Pichavant
jeanmichel at sequans.com
Mon Sep 10 05:28:23 EDT 2012
More information about the Python-list mailing list
Mon Sep 10 05:28:23 EDT 2012
- Previous message (by thread): how to run python2.6 module with absolute imports stand alone
- Next message (by thread): PExpect Cross-Platform Alternative
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gelonida N wrote: > On 09/08/2012 02:13 AM, Mark Lawrence wrote: >> [snip] >>> >> >> I hope this helps >> http://stackoverflow.com/questions/3616952/how-to-properly-use-relative-or-absolute-imports-in-python-modules >> > > It seems the safest bet seems to be to not use relative imports. That's what I figured as well. I may have been misusing relative imports, but I never found the solution for my problems. Absolute imports just solved everything. I think this is the way to go for anyone who does not want to spend too much brain on their import directives. JM
- Previous message (by thread): how to run python2.6 module with absolute imports stand alone
- Next message (by thread): PExpect Cross-Platform Alternative
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list