Skip to content

Commit 095c02e

Browse files
Update Doc/using/cmdline.rst
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent e1459e4 commit 095c02e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/using/cmdline.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,13 +527,13 @@ Miscellaneous options
527527
following line can be added at the start of the script:
528528

529529
.. code-block:: batch
530-
530+
531531
@py -x "%~f0" %* & exit /b
532532
533533
Or, to specify the path to the Python interpreter explicitly:
534534

535535
.. code-block:: batch
536-
536+
537537
@"C:\Path\to\python.exe" -x "%~f0" %* & exit /b
538538
539539
Unlike a shebang line which is a Python comment, this line is not valid

0 commit comments

Comments
 (0)