#! shbang for pyc files?

Christian Gudrian Christian.Gudrian at gmx.de
Sat Jun 5 10:59:14 EDT 2004


"MarkV" <markv_at_letitrain_com at yougettheidea.com> schrieb:

> .py extension to run it - just type "whatever" - but when you compile the
> file, it loses this ability!

Write a wrapper script:

#!/bin/sh
python mycompiledpythonprogram.pyc

Christian





More information about the Python-list mailing list