Python Forum
Cant Get Powershell to run a python program from notepad++. Newbie help!
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cant Get Powershell to run a python program from notepad++. Newbie help!
#1
Hey Forum!

Im new here and happy that I'm part of the community.

I just started geting into programming and recived a book on how to learn Python 2.7 and the first excercise wants me to write a script just printing a few lines of text.

I wrote the script in Notepad++ on Windows 10 and saved the file as a Python file. .py.

Once I save the file and try to run it in Powershell by typing, python example.py, I recive an Errno 2 stating that there is no such file or directory even though i just saved the file!

I'm sure I'm doing something wrong so I would appreciate some insight.

Thanks All,

Pythonerous
Reply


Messages In This Thread
Cant Get Powershell to run a python program from notepad++. Newbie help! - by Pythonerous - Oct-08-2016, 02:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  using PowerShell from Python script for mounting shares tester_V 8 657 Mar-12-2024, 06:26 PM
Last Post: tester_V
  PowerShell & Python deep_logic 2 773 Jun-06-2023, 06:34 AM
Last Post: buran
  How to write a part of powershell command as a variable? ilknurg 2 1,169 Jul-26-2022, 11:31 AM
Last Post: ilknurg
Question Trouble installing modules/libraries and getting Notepad++ to show cyrillic letters Dragiev 6 2,338 Jul-24-2022, 12:55 PM
Last Post: Dragiev
  Python newbie laleebee 2 1,384 May-24-2022, 01:39 PM
Last Post: laleebee
Photo Windows 10 PowerShell doesn't work Amy 3 3,982 Apr-27-2021, 01:33 PM
Last Post: jefsummers
  Newbie on Python syntax rud0lp20 6 3,013 Apr-21-2020, 04:26 PM
Last Post: jefsummers
  Variable from notepad problem samuelbachorik 2 2,346 Apr-10-2020, 09:04 AM
Last Post: samuelbachorik
  Newbie needs help with a simple program feynarun 3 2,370 Jan-15-2020, 01:17 PM
Last Post: DeaD_EyE
  python newbie marcush929 2 2,653 Jan-01-2020, 08:06 AM
Last Post: marcush929

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020