Community
    • Login

    no output when using kivy in python in notepad++

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    16 Posts 2 Posters 3.2k Views 1 Watching
    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.
    • Sean LaceyS Offline
      Sean Lacey
      last edited by

      python works fine, i get text output in the command line, and in idle i get the windowed output i expect, but not when i use notepad++ which i really enjoy.

      Eko palypseE 1 Reply Last reply Reply Quote 1
      • Eko palypseE Offline
        Eko palypse @Sean Lacey
        last edited by

        @Sean-Lacey

        How do you start your kivy/python program?

        1 Reply Last reply Reply Quote 0
        • Sean LaceyS Offline
          Sean Lacey
          last edited by

          I know I installed python correctly, i put it in the path and everything, its been a while since i installed notepad. to install kivy i went into the windows command prompt and typed “python -m pip install kivy”. i know this worked because i can fully use kivy using the idle interface. just not in the Notepad++ interface.

          Eko palypseE 1 Reply Last reply Reply Quote 1
          • Eko palypseE Offline
            Eko palypse @Sean Lacey
            last edited by Eko palypse

            @Sean-Lacey

            sorry but you did not answer my question how you start your program.
            Using run menu and if how? Using NppExec, if so what did you specify to run the program?

            1 Reply Last reply Reply Quote 1
            • Sean LaceyS Offline
              Sean Lacey
              last edited by

              sorry, yes it was nppexec

              Eko palypseE 1 Reply Last reply Reply Quote 0
              • Eko palypseE Offline
                Eko palypse @Sean Lacey
                last edited by

                @Sean-Lacey

                if so what did you specify to run the program?

                1 Reply Last reply Reply Quote 0
                • Sean LaceyS Offline
                  Sean Lacey
                  last edited by

                  im not sure what you mean what did i specify (sorry, pressed submit before i was done and had to wait a minute)

                  1 Reply Last reply Reply Quote 0
                  • Eko palypseE Offline
                    Eko palypse
                    last edited by

                    you need to specify which python interpreter you want to use, with which parameters to execute the program

                    1 Reply Last reply Reply Quote 0
                    • Sean LaceyS Offline
                      Sean Lacey
                      last edited by

                      im using python 3.7.1. its been a while since i set notepad up, where would i find the parameters

                      Eko palypseE 1 Reply Last reply Reply Quote 0
                      • Eko palypseE Offline
                        Eko palypse @Sean Lacey
                        last edited by

                        @Sean-Lacey

                        you will see it if you press F6 - as long as you have not reassigned the standard NppExec shortcut

                        1 Reply Last reply Reply Quote 0
                        • Sean LaceyS Offline
                          Sean Lacey
                          last edited by

                          i have not reassigned anything except F7 is now set to run python
                          this is what im getting "C:\Users\(MYNAME)\AppData\Local\Programs\Python\Python37-32\python.exe “$(FILE_NAME)”

                          Eko palypseE 1 Reply Last reply Reply Quote 0
                          • Eko palypseE Offline
                            Eko palypse @Sean Lacey
                            last edited by

                            @Sean-Lacey

                            this doesn’t work for gui frameworks like kivy.
                            Use something like

                            cmd /C cd $(CURRENT_DIRECTORY) && "C:\Users\(MYNAME)\AppData\Local\Programs\Python\Python37-32\python.exe" -t -B -u "$(FILE_NAME)"

                            1 Reply Last reply Reply Quote 2
                            • Sean LaceyS Offline
                              Sean Lacey
                              last edited by

                              just confirming, am i supposed to copy what you sent me and replace what i sent you for it

                              Eko palypseE 1 Reply Last reply Reply Quote 0
                              • Eko palypseE Offline
                                Eko palypse @Sean Lacey
                                last edited by

                                @Sean-Lacey

                                normally yes, as long as you sent me the whole configured call setup.

                                1 Reply Last reply Reply Quote 0
                                • Sean LaceyS Offline
                                  Sean Lacey
                                  last edited by

                                  i did, i check it now

                                  1 Reply Last reply Reply Quote 0
                                  • Sean LaceyS Offline
                                    Sean Lacey
                                    last edited by

                                    it worked thank you so much

                                    1 Reply Last reply Reply Quote 1

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • First post
                                      Last post
                                    The Community of users of the Notepad++ text editor.
                                    Powered by NodeBB | Contributors