Interpreter over command line
I start to learn python recently and the course use the command line with a interpreter. There’s this function on pythonista?
@isabellamelo In Pythonista, swipe right to left, you are in console mode and the lowest row is the command line
Thanks, I’ve learned tô use the console. It’s easy after sometime
I got this response below which was extremely helpful...
bennr01 posted 3 days ago 0
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>.