Can I write python program in termux app or, it is just used to execute the program??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 6

Can I write python program in termux app or, it is just used to execute the program???

I have a doubt that can I write program using termux app in my smartphone,if yes how???

7th Mar 2017, 4:15 PM
Prajwal Gowda
Prajwal Gowda - avatar
5 Respostas
+ 1
Tq, I got it....
8th Mar 2017, 4:00 PM
Prajwal Gowda
Prajwal Gowda - avatar
+ 13
hmmmm.. okay try typing "q" while holding down your volume up button. That should bring up a virtual keyboard with ESC, CTRL.. etc press the ESC button and type ":x" that should save and then exit
8th Mar 2017, 1:33 PM
Aidan Haddon-Wright
Aidan Haddon-Wright - avatar
+ 12
packages install vim after that's finished installing: vim a_program.py then write your python script. exit and save by holding the volume down button and type :quit save and exit. then to run your script, use: python a_program.py
8th Mar 2017, 11:35 AM
Aidan Haddon-Wright
Aidan Haddon-Wright - avatar
+ 1
quit save and exit is not working
8th Mar 2017, 12:59 PM
Prajwal Gowda
Prajwal Gowda - avatar
0
To exit vim in Termux you can do one of the following: 1) install hackers keyboard on your phone and follow the steps to make it your input or 2) in Termux drag right from the left side of the screen. you should get a list of your Termux sessions. at the bottom is button that says keyboard. press and hold keyboard and you should get the esc, tab etc keys above your keyboard. after doing 1) or 2) press ESC to exit input mode then type ":wq" (without the quotation signs) and press enter to save and exit vim
19th Jun 2018, 8:24 AM
Tashin