Using python in web server? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Using python in web server?

Hello, I am a back-end developer (php). I started learning python + django doing some examples . But the problem is can i use this examples in a web server like php?

25th Apr 2020, 6:20 AM
Yasser Bdj
Yasser Bdj - avatar
3 Respostas
+ 3
Yes, try pythonanywhere or heroku
25th Apr 2020, 6:25 AM
Gordon
Gordon - avatar
+ 4
Yes, Django already comes with the built-in server for development purpose. just run this command in your console. python manage.py runserver But if you want to deploy your web app or project then Gordon already has answered it. You can also you apache with Django as we use in PHP.just by using XAMPP or WAMP but for this, you need to do some changes in your project. See here. https://www.tutorialspoint.com/django/django_apache_setup.htm
25th Apr 2020, 6:34 AM
Maninder $ingh
Maninder $ingh - avatar
0
Thanks ..
25th Apr 2020, 6:36 AM
Yasser Bdj
Yasser Bdj - avatar