¡@

Home 

python Programming Glossary: test1.py

What is the best way to call a python script from another python script?

http://stackoverflow.com/questions/1186789/what-is-the-best-way-to-call-a-python-script-from-another-python-script

script from another python script I have a script named test1.py which is not in a module. It just has code that should execute.. another script which runs as a service. I want to call test1.py from the script running as a service. eg test1.py print I am.. to call test1.py from the script running as a service. eg test1.py print I am a test print see I do nothing productive. service.py..

Python package structure, setup.py for running unit tests

http://stackoverflow.com/questions/6164004/python-package-structure-setup-py-for-running-unit-tests

__init__.py module1.py module2.py tests __init__.py test1.py test2.py My setup.py looks like this # usr bin env python..