How do you make clickable Python/Win9x scripts?
Rob
Rob at p98.f112.n480.z2.fidonet.org
Fri Jul 2 10:17:20 EDT 1999
From: Rob <vaton at postoffice.pacbell.net>
Is there a way to make a Python script file a clickable .BAT file in
Win9x?
It's possible with Perl, and looks something like this:
@rem = '
@echo off
C:\perl\perl5\bin\perl -x -S %0 %1%
goto endofperl
@rem ';
#!.\perl\bin\perl -w
print "Hello World!\n";
__END__
:endofperl
The above Perl file would be named world.bat.
More information about the Python-list
mailing list