• Login
Community
  • Login

Notepad ++ not working with python

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 3 Posters 3.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Mohammed Al-Othman
    last edited by Jan 12, 2017, 7:16 AM

    I am having problems with notepad ++. I am trying to save files so I can run them on the command promt window. In the past when I create a file (.py) Notepad++ will immediately allow me to write codes for python. Now it doesn’t and the disc logo beside the file name is red and not blue. I uninstalled and installed Notepad++but doesn’t still not working. can someone please help me?

    1 Reply Last reply Reply Quote 0
    • V
      Vasile Caraus
      last edited by Jan 12, 2017, 1:33 PM

      me too. I try run:

      D:\Program Files (x86)\Python\python.exe "$(FULL_CURRENT_PATH)"
      or
      d:\Program Files (x86)\Python\Lib\idlelib\idle.py -i "$(FULL_CURRENT_PATH)"
      or
      D:\Program Files (x86)\Python\python.exe -r "$(FULL_CURRENT_PATH)"

      Nothing happen, evan if I make a shortcut key.

      So, I make a shortcut on tcm “d:\Program Files (x86)\Python\Lib\idlelib\idle.py ” to open directly the shell.

      1 Reply Last reply Reply Quote 0
      • C
        Claudia Frank
        last edited by Jan 12, 2017, 1:52 PM

        I guess we have two different issues here,

        @Vasile-Caraus
        if you want to use the normal python installation (not the python script plugin) you
        need to make sure to use the command shell together with the python interpreter.
        In addition encase the path with double quotes to prevent that command shell
        tries to run D:\Program and everything else is treated as a parameter to that prog.

        So you have to call

        cmd /K "D:\Program Files (x86)\Python\python.exe" "$(FULL_CURRENT_PATH)"
        

        @Mohammed-Al-Othman
        if the icon is red it means that there are changes and you should save it.
        Beside this obvious one explain what your problem is exactly.
        Add screenshots if needed and provide examples or step by step descriptions.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors