Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    NP++ can't execute function inside python file. But he is ok with file on application start. See 'ready'.

    Help wanted · · · – – – · · ·
    3
    10
    4430
    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.
    • John Spark
      John Spark last edited by

      I executed same file in python’s IDLE, and then in NP++. I used for it NppExec. I have all settings correct. I really don’t what where is problem. Please help me.
      See two pics:
      http://i.imgur.com/NTnqyE1.png

      http://i.imgur.com/jLL4a97.png

      Thank you

      1 Reply Last reply Reply Quote 0
      • John Spark
        John Spark last edited by

        dael, claudia pls help

        1 Reply Last reply Reply Quote 0
        • dail
          dail last edited by

          NppExec is not a Python interpreter. You can’t use it like that.

          1 Reply Last reply Reply Quote 0
          • John Spark
            John Spark last edited by

            I don’t understand. I need NppExec just for it’s console. I need write handily code in NP++ and immediatelly see result in same program/window. I did it this way in IDLE, but it’s not good as NP++. I need to add something to show me results. Only option is NppExec.

            Is it possible to make it work or do I need other plugin ?

            Thanks

            1 Reply Last reply Reply Quote 0
            • dail
              dail last edited by

              The “console” in NppExec is pretty much the same as if you had Window’s command prompt open. It can run the entire file by executing the Python program, but it can’t run arbitrary functions within the file.

              1 Reply Last reply Reply Quote 0
              • John Spark
                John Spark last edited by

                But when I was setting this all weeks before with very kind and patient Claudia’s help, it was working. Not this particular python code. But that console was working exactly like python’s IDLE !
                I need Claudia please !!

                1 Reply Last reply Reply Quote 0
                • Scott Sumner
                  Scott Sumner last edited by

                  Perhaps you are thinking of the Pythonscript console window?

                  1 Reply Last reply Reply Quote 0
                  • John Spark
                    John Spark last edited by

                    what you mean, can you go deeper into details please ?

                    1 Reply Last reply Reply Quote 0
                    • Scott Sumner
                      Scott Sumner last edited by

                      Just that your description of an IDLE-like window made me think of the Pythonscript plugin’s console window that can be shown inside the Notepad++ program, that’s all. I thought perhaps you were thinking of that.

                      1 Reply Last reply Reply Quote 0
                      • John Spark
                        John Spark last edited by

                        You meant this, right ?
                        https://github.com/bruderstein/PythonScript

                        I never used it, I just need get back into state when it was working to me.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright © 2014 NodeBB Forums | Contributors