Edit and Run a Script
(Menu) A B C D E F G H I
The first line reduces unnecessary screen output.
In the folder first create a file menu.bat
Right-click menu.bat and Edit.
Enter these lines:
@echo off
C:\python26\python menu.py
echo.
pause
The second line uses Python to run menu.py
The third line prints a blank line
The fourth line freezes the window and displays a prompt.
(The text of this prompt is determined by Windows.)
The window stays open until a key is pressed.
End the edit and save the batch file.
Double-click the batch file to run the script.
This is my first program
Press any key to continue . . .