Stats: 3,190,624 members, 7,941,407 topics. Date: Friday, 06 September 2024 at 06:17 AM |
Nairaland Forum / Science/Technology / Programming / Python Django Android... (3448 Views)
Let's Build A Simple Blog With Python(django) / Please Review My Price comparison engine / Python-django Can Now Be Ran On Your Android Through Qpython... (2) (3) (4)
Python Django Android... by emilykel(m): 3:17pm On Mar 17, 2016 |
if you're interested in django and are comfortable using it on your android, then you can run it on Qpython using the pip console.. pip install django once the installation is done you'd need a terminal to run the django commands like django-admin.py runserver ... using the terminal emulator on android is very frustrating and requires a lot of work arounds so I came up with this solution... you can use your Qpython console as a terminal ,I.e run commands like CD,L's,pwd, etc..but to get the console to change from interpreter to actual console is a bit tricky or not possible (I don't know of a direct way,the OS module doesn't do The job) so this is how to do it... open Qpython (Qpython 2.7) open the editor create a new file and name it nil.py in the file, type "run server" without quotes and save then run the file ... the above will trow an exception and turn your interpreter into a terminal... you can then run all python commands... Note: you can start a new console window to bring up another interpreter.. Everything works fine but that's if you're comfortable doing it on your android like I said... below is the tutorial on how to create your first django app av been following and its quite fun... 1 Like
|
Re: Python Django Android... by timex4u(m): 8:59am On Mar 18, 2016 |
Wow, thats really cool. I'v tot of dis, I used QPython also buh neva tried it.. Would love a more detailed approach.. Wot Text Editor do you den use to edit your Py files>?? |
Re: Python Django Android... by emilykel(m): 2:17pm On Mar 18, 2016 |
timex4u: I use droidedit for editing |
Re: Python Django Android... by HAIBEEY: 6:31pm On Mar 19, 2016 |
. |
Re: Python Django Android... by emilykel(m): 8:54am On Mar 20, 2016 |
HAIBEEY: as at now, django only works for python 2 on android.. if you have python 2 then use the pip console...it'll work |
Re: Python Django Android... by HAIBEEY: 1:04pm On Mar 20, 2016 |
. |
Re: Python Django Android... by emilykel(m): 8:54am On Mar 22, 2016 |
HAIBEEY: that's strange. Are you sure you're not using qpython3 instead of qpython ? |
Re: Python Django Android... by Irelokeh(m): 9:08pm On Mar 23, 2016 |
Thanks for this info bro I'm really greatful! |
Re: Python Django Android... by emilykel(m): 10:15pm On Mar 23, 2016 |
Irelokeh: you're welcome bro |
(1) (Reply)
How To Program Outseal Arduino PLC / How Do I Upload String To A Website In Vb.net And Get Response For Processing. / Creating Com With C++
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11 |