Folder Structure
Sym\sym : source code
\test : testing code
\docs : documentation
On Testing
Also like the idea of Thomas Andrews in [1] to put unit test code in the module itself:if __name__ == '__main__':
do tests...
if __name__ == '__main__':
do tests...
git clone https://github.com/gstarnberger/uncompyle.git
cd uncompyle/
sudo ./setup.py install
uncompyler.py thank_goodness_this_exists.pyc > recovered_file.py
DETACHED_PROCESS = 0x00000008
pid = subprocess.Popen([sys.executable, "longtask.py"],
creationflags=DETACHED_PROCESS)
pid.poll() # Returns: None if child still active
# returncode otherwise