Jump to content

Python and notepad

I don't understand what you're asking. Notepad is simply a text editor and doesn't interact with the Python interpreter. It can be used to write python scripts. It can be used to create a file that contains data, which can be read by a python script.

Link to comment
Share on other sites

Link to post
Share on other sites

If you have python installed correctly you can enter by windows file explorer to your text file with python code, then click on address (path) bar and enter "cmd" followed by enter should result in new console window with working directory of your file, then just type python [your_file_name] and press enter, python should start interpreting your script.

 

You can find out if your python installation is added to PATH environment variable by opening cmd and enter python --version. If all is right it should print your python version.

It will ensure you can use python from your cmd.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×