Menu

how to create setup file for python script in notepad++

Help
Toan
2016-07-11
2016-07-12
  • Toan

    Toan - 2016-07-11

    hello,
    I am using python script for notepad++. It is great. but i want to create setup file to install it on other computer without install python script plugin. I mean that I have script which can run OK on my notepad++. But I want to use it on other computer without install python script plugin, just install my setup file.
    I tried to use pyinstaller but uncesseccfully.
    Could anyone hep me ?

     

    Last edit: Toan 2016-07-11
  • Sasumner

    Sasumner - 2016-07-11

    So you have a Pythonscript program that you want to install on another computer without installing Pythonscript on this other computer? Am I understanding correctly? Since Python (and Pythonscript) are interpreted languages, you need the interpreter installed to run them. So, no, this won't work. Why, may I ask, do you have an objection to installing the Pythonscript plugin on the other computer?

     
    • Toan

      Toan - 2016-07-12

      yes, you understood it correctly.
      in fact, I know pyinstaller to help me convert to excutable file. But for python script in Notepad++, it doesn't know "editor" object. I also import "Npp" but it still fail.
      I want to ask this topic, because, some one can't know how to setup ... and it is the better to create setup file and they just click it to setup....

       
  • Toan

    Toan - 2016-07-12

    I think we can do this by other way.
    How can i set shortcut to notepad++ to execute my python script by command line ?
    currently, I do this task as follow:
    Plugins -> Python Script -> configuration -> seclect python script -> add to toolbar icons -> set Icon ...
    restart notepad++.
    Sorry if i am so stupid :)

     
  • Toan

    Toan - 2016-07-12

    I found out this file. just edit this file and icon will have in toolbar: PythonScriptStartup.cnf

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.