Skip to content

Commit a1d8dff

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/using/cmdline.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,10 @@ Miscellaneous options
528528

529529
@py -x "%~f0" %* & exit /b
530530

531-
Or, to specify the path to the Python interpreter explicitly::
531+
Or, to specify the path to the Python interpreter explicitly:
532532

533+
.. code-block:: batch
534+
533535
@"C:\Path\to\python.exe" -x "%~f0" %* & exit /b
534536
535537
Unlike a shebang line which is a Python comment, this line is not valid

0 commit comments

Comments
 (0)