I am having a project built like this:
project
module1.py
module2.py
packages1/
module3.py
etc.
I have script that uses objects from those modules/packages. If I keep
this script inside project directory it's ok and it works. But I would
like to move it to own scripts directory
2009/3/22 Filip Gruszczyński grusz...@gmail.com:
I am having a project built like this:
project
module1.py
module2.py
packages1/
module3.py
etc.
I have script that uses objects from those modules/packages. If I keep
this script inside project directory it's ok and it works.
=?UTF-8?Q?Filip_Gruszczy=C5=84ski?= grusz...@gmail.com wrote:
I am having a project built like this:
project
module1.py
module2.py
packages1/
module3.py
etc.
I have script that uses objects from those modules/packages. If I keep
this script inside project directory
Filip Gruszczyński gruszczy at gmail.com writes:
I would like to ask if there is any workaround?
Use the runpy module.
--
http://mail.python.org/mailman/listinfo/python-list
Works great. Thanks a lot.
2009/3/22 Maxim Khitrov mkhit...@gmail.com:
2009/3/22 Filip Gruszczyński grusz...@gmail.com:
I am having a project built like this:
project
module1.py
module2.py
packages1/
module3.py
etc.
I have script that uses objects from those