Community
    • Login

    Notepad ++ not working with python

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 3.8k 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.
    • Mohammed Al-OthmanM
      Mohammed Al-Othman
      last edited by

      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
      • Vasile CarausV
        Vasile Caraus
        last edited by

        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
        • Claudia FrankC
          Claudia Frank
          last edited by

          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors