Python 3.0 with notepad++

A forum for general discussion of the Python programming language.

Python 3.0 with notepad++

Postby AEA » Thu May 16, 2013 3:16 am

Hello All

First up, ill warn you, I am a complete novice. In fact this is pretty much a set up question. I have followed all the instructions as per this tutorial video:

However when I run
Code: Select all
C:\Python33\Lib\idlelib\ "$FULL_CURRENT_PATH)"
I get the python shell, the windows\py.exe and what should be my programme code/text. What I am getting instead is a untitled and blank document. I can of course edit this blank document and run the code. But I cannot get it to run the pre existing code that I allready had open in notepad++

If anyone can tell me what I am doing wrong would be appreciated.


Posts: 32
Joined: Thu Apr 18, 2013 11:37 am

Re: Python 3.0 with notepad++

Postby Mekire » Thu May 16, 2013 3:35 am

If you are using windows and trying to use IDLE why bother opening it via command line. Just open IDLE and open the file. I suggest you don't bother with IDLE at all honestly. Pyscripter is a fairly decent windows IDE despite occasional instability (which although admittedly annoying, is far better than IDLE). Also if you are already using notepad++, I again don't see the need for IDLE.

New Users, Read This
  • Use code tags when posting code.
  • Include any errors with your post (in code tags).
  • Describe your problem; not your chosen solution.
  • Make examples the minimum length to demonstrate your issue.
User avatar
Posts: 1710
Joined: Thu Feb 07, 2013 11:33 pm
Location: Tucson, Arizona

Re: Python 3.0 with notepad++

Postby metulburr » Thu May 16, 2013 4:19 am

notpad++ and IDLE are the same thing, an IDE. Just fancy text editors, thats all.

that video is way too complicated for a first timer. Plus no one would ever run a python program as an argument to IDLE in the command line/terminal. They would just execute the file directly.
Code: Select all

of course (in windows) for that to work, you either 1) have to have file in the directory of python AKA
Code: Select all
(or whatever version you downloaded) and must be your current working directory (or put the full path of python.exe) . or 2) to run the script from any directory you need to add the python path th the PATH envrionmental variable. OF course the easiest method for a first timer, is number 1.

both ways are explained in our tutorial executing python)
we will be moving to on October 1 2016
more details here
User avatar
Posts: 2243
Joined: Thu Feb 07, 2013 4:47 pm
Location: Elmira, NY

Return to General Discussions

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests