Menu

running code with python -m

usaar33
2009-05-30
2013-03-15
  • usaar33

    usaar33 - 2009-05-30

    Hello,
      I keep my workspace in my local site-packages.  I like putting small sanity checks in my submodules, but unfortunately, thanks to relative imports, I can only run them with python -m outermodule.innermodule

      Is there a way in pydev to pull this off? That is can I have it run files via python -m modulename?

    Thanks

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-06-09

      Not right now... Can you create a feature request for that?

      Cheers,

      Fabio