#! shbang for pyc files?

Roman Suzi rnd at onego.ru
Sat Jun 5 13:15:50 EDT 2004


On Sat, 5 Jun 2004, Christian Gudrian wrote:

Then why not just use a wrapper Python program
which imports module and runs "main" function?

>"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
>
>
>

Sincerely yours, Roman Suzi
-- 
rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3




More information about the Python-list mailing list