We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d8dff commit e1459e4Copy full SHA for e1459e4
Doc/using/cmdline.rst
@@ -524,8 +524,10 @@ Miscellaneous options
524
This can be used to turn a Python script into a Windows batch file.
525
Similarly to adding a shebang line and setting the executable bit on Unix,
526
the extension of the Python script can be changed to ``.bat`` and the
527
- following line can be added at the start of the script::
+ following line can be added at the start of the script:
528
529
+ .. code-block:: batch
530
+
531
@py -x "%~f0" %* & exit /b
532
533
Or, to specify the path to the Python interpreter explicitly:
0 commit comments