+ 35

Will I be able to code games or application with python ?

like a game and apps used in mobile phones

25th Jan 2017, 8:04 AM
Tirthraj Gandhakwala
Tirthraj Gandhakwala - avatar
56 Réponses
+ 61
You CAN use python to develop Desktop / Mobile applications and video games. You have to use a third-party library to do that. You can use PyGame, PyGlet, Panda 3D or Ogre to make games. and GTK, Kivy, wxPython or QT for designing GUI for applications. I'm currently using PyGTK (GTK for Python) with Glade UI designer. Hope it helps
25th Jan 2017, 7:13 PM
Naseef
Naseef - avatar
+ 25
yes . you can . use pygame bindings for beginning and panda3d engine later on . but the game syntexes doesn't take much deeper knowledge and unity3d will support python soon ...so don't worry you can do everything in python
25th Jan 2017, 12:56 PM
Sun
Sun - avatar
+ 15
Sure you can, it will work. But it is generally better to stick to native languages of mobile platforms. They have many libraries specially designed for the mobile OSes (Java/C# for Android and objectiveC/Swift for iOS). But try Python too. Download Qpython3 from the store and check their example scripts to learn what you can do with Python for mobile.
25th Jan 2017, 12:02 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 11
@Linux , Look at my python website http://tiny.cc/websourceviewer I applied python and sqlite3 in that (requests module) to scrape a webpage
25th Jan 2017, 5:48 PM
Sun
Sun - avatar
+ 10
If you want to become a true game developer - C++ is the best choise.
25th Jan 2017, 1:34 PM
Anton Zubko
Anton Zubko - avatar
+ 6
@L1nux websites are basically made out of text files written in HTML, CSS and JavaScript, plus any images or video that need to be displayed. Python can be used to put together those text files on the server or computer you host the website from and also to act on responses the server gets (for sites with login or give you data to act on ). You don't necessarily have to write all the python yourself though - there are freely (legally free) available systems that you can just download a copy of, install on a hosting server, and if your site is just a basic site you just pick a theme (layout and colours) and add your content. If you want features that they don't include, then usually you can add the features on for your version. These systems are called CMS - Content Management Systems. Also sometimes people make code that they have written publicly available on the web for others to find and use. I've been working on a script in code playground that uses Python to create some basic HTML, some of the code will go over your head if you've not done quite a bit of the python course plus know the very basics of HTML, but it should help a bit with understanding how they fit together and you can always come back and look at my code once you've learnt more. my code is called: (add to me) python writing html v3 (As I work on this bit of code that I'm expecting to get quite long, I save a copy and change the number after the V to show what version of my code it is each time, so there are multiple versions of this and latest is the highest number)
25th Jan 2017, 2:46 PM
Phil
Phil - avatar
+ 5
Yup why not. Python​ is a platform for creating different games, device drivers, applications, etc. Learning of python is very easy when compared to other languages.
26th Jan 2017, 4:38 AM
praveen
praveen - avatar
+ 5
I have developed 100s of apps in Python using PyQt4 module which I think is best and easiest way to make *softwares*. For game making I think PyGame is the best choice although I haven't used it. With it you can export it to even android. PyQt4 : With it I have even created some Artifical Intelligence apps like the one related to javaris, the one from Iron Man movie who evokes in my PC whenever I say 'Hey Javaris' and it always runs in background. Purely made in Python. There are also other alternatives like kivy, which is cross platform. I tried to learn kivy but it became too difficult for me so I came back to PyQt4. Also there are very less tutorials for kivy, and plenty for PyQt4 and PyGame.
5th Feb 2017, 5:03 PM
Ahmad Taha
+ 4
i think yeah u can
25th Jan 2017, 8:43 AM
Kawaii
Kawaii - avatar
+ 4
yes u can
4th Feb 2017, 5:43 AM
Ashish Pradhan
Ashish Pradhan - avatar
+ 3
Cprogramming is the best to use.
26th Jan 2017, 12:55 PM
Hassan Muhammad
Hassan Muhammad - avatar
+ 3
Yes, but keep in mind that it's going to depend on what your making games and applications for. Python is a decent choice for web based games. If your thinking twords mobile then your going to want to use Java for Android and Objective C or swift for iOS. If it's a PC application then Java, C#, or C++ will all be good. Although in the case of PC games, developers tend to prefer c/c++ for their power.
4th Feb 2017, 1:19 AM
Ethan Dritz
Ethan Dritz - avatar
+ 2
yes
25th Jan 2017, 11:39 PM
Mahesh J
Mahesh J - avatar
+ 2
were i can get advanced lessons for learning python
26th Jan 2017, 11:02 AM
suhayb Càzzèm
suhayb Càzzèm - avatar
+ 2
yes i know a game called geometry dash programmed in python
3rd Feb 2017, 7:19 PM
Karam Boubou
Karam Boubou - avatar
+ 2
if you have the skill you can even build AI with it...
6th Mar 2017, 3:13 PM
Binyam Tesfaye
Binyam Tesfaye - avatar
+ 1
wasnt this a question in the tutorial? ^^
25th Jan 2017, 10:41 AM
KiX
+ 1
yes you can. mostly arcade type games. if you are serious about making games. try game engines and learn a scripting language like c# or something.
25th Jan 2017, 5:14 PM
Abdul Rauf khan
Abdul Rauf khan - avatar
+ 1
Yes but I prefer to use c++ for most games. It also helps to know it in unity.
26th Jan 2017, 12:58 AM
charles ryan (charlesryan9 Gaming)
charles ryan (charlesryan9 Gaming) - avatar
+ 1
Praveen said : "Yup why not. Python​ is a platform for creating different games, device drivers, applications, etc. Learning of python is very easy when compared to other languages." Device drivers with python? Python is not really suitable for writing drivers as it was interpreted by python interpreter, and not compiled. but still you can use python to write drivers for windows with WDF : https://msdn.microsoft.com/en-us/Library/Windows/Hardware/ff557565(v=vs.85).aspx ..I'm writing this because i've tried to make a driver in Python after reading @Praveen's post..
26th Jan 2017, 6:32 AM
Naseef
Naseef - avatar