omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Interpreter over command line

    Pythonista
    command line interpreter
    3
    4
    1850
    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.
    • isabellamelo
      isabellamelo last edited by

      Hi

      I start to learn python recently and the course use the command line with a interpreter. There’s this function on pythonista?

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @isabellamelo last edited by cvp

        @isabellamelo In Pythonista, swipe right to left, you are in console mode and the lowest row is the command line

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

          Thanks, I’ve learned tô use the console. It’s easy after sometime

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

            I got this response below which was extremely helpful...

            bennr01 posted 3 days ago 0
            @KipCarter said:

            So what is the proper procedure for pip'ing in new modules?

            The community has written a custom implementation of pip, which is included in StaSh. It works rather well, but does not support any modules depending on C/Fortran code.

            To install, copy the following: import requests as r; exec(r.get('https://bit.ly/get-stash').text), then paste it in the python REPL (the console) and exute it. Restart pythonista (force quit using double tap). Afterwards, there is a file called launch_stash.py in the my iphone (or whatever it is called) directory. Run it. It takes a bit of time, but you should then see a bash-like shell. This shell supports pip install <modulename>.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors