Python Forum
Path of Notepad++ and Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path of Notepad++ and Python
#6
(Oct-12-2016, 08:59 PM)sparkz_alot Wrote:
Quote:My question and shout for help would be making a path to notepad++ so I could use Python. If that helps, maybe some of you would know I just got a book "Learning the Python the hard way" and it tells me I have to do just that in order to start programming.

Well, that's not entirely correct, in order to start programming you need Python and just about any text editor, but notepad++ is a good one for Windows. Make sure, in notepad++ you've set the Language as Python, this gives you syntax highlighting and more for Python. Main menu bar --> Language --> P --> Python. 

On the bottom left of the main window, there is the 'file type' , right click and select 'Python' this will automatically save file as a '.py' file. Over to the right is the line feed/carriage return used by your target OS. For now, leave as Dos\Windows, next to that is the encoding, change to UTF-8 by going to the main menu bar Encoding --> Encode in UTF-8.

There are a couple of Plugins for Python, but they are not required.

Next, I would NOT associate '.py' files with notepad++, this will jazz up running scripts by double clicking them (they are, by default associated with python.exe) If you need to open/edit a '.py' file, right click the file and 'Open with' Notepad++

Firstly, Thank you for reading my post. Secondly, I did what you have told me here and it seems it works. Yet, when I do the testing for example: print "Hello world" it does not do anyhing.
Any input on this ?

User has been warned for this post. Reason: written inside quote tag
Reply


Messages In This Thread
Path of Notepad++ and Python - by Vienetas - Oct-12-2016, 08:33 PM
RE: Path of Notepad++ and Python - by sparkz_alot - Oct-12-2016, 08:59 PM
RE: Path of Notepad++ and Python - by Vienetas - Oct-13-2016, 06:55 PM
RE: Path of Notepad++ and Python - by wavic - Oct-12-2016, 10:50 PM
RE: Path of Notepad++ and Python - by Mike Ru - Oct-13-2016, 02:56 AM
RE: Path of Notepad++ and Python - by wavic - Oct-13-2016, 08:09 AM
RE: Path of Notepad++ and Python - by sparkz_alot - Oct-13-2016, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setup Notepad++ for python LavaCreeperKing 8 15,390 Mar-06-2025, 12:30 PM
Last Post: DeaD_EyE
Question Trouble installing modules/libraries and getting Notepad++ to show cyrillic letters Dragiev 6 3,970 Jul-24-2022, 12:55 PM
Last Post: Dragiev
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 3,234 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Variable from notepad problem samuelbachorik 2 2,985 Apr-10-2020, 09:04 AM
Last Post: samuelbachorik
  Running python code meant for Notepad++ plugin independently greektranslator 3 4,043 Jan-28-2019, 06:03 PM
Last Post: maxtimbo
  Exporting Python Output to Notepad Nirmal 4 4,756 Sep-02-2018, 02:36 PM
Last Post: Nirmal
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 7,665 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908
  Is there an equivalent of Notepad in linux sylas 5 4,917 Jun-15-2018, 12:33 PM
Last Post: DeaD_EyE
  With Notepad how to have lines numbered sylas 3 4,068 Mar-10-2018, 08:25 AM
Last Post: sylas
  Get filepath to save from notepad.exe python3 Jason2024 1 3,710 Oct-03-2017, 02:30 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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