How do you make clickable Python/Win9x scripts?

Rob vaton at postoffice.pacbell.net
Sat Jul 3 00:17:20 EDT 1999
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