|Topic Review (Newest First)|
|08-17-2019 01:30 PM|
you guys rock. Those links you've provided greatly helps.
|12-11-2018 01:47 PM|
|PhotonFanatic||A bit off topic, but it looks like learnpythonthehardway.org is just a site that sells a book. Am I missing anything here?|
|12-09-2018 11:03 PM|
Python Networking Programs..
|09-15-2015 11:26 AM|
Whenever i need to listen to a port for data and do something with it, I tend to go with python because it's pretty quick and easy. This script listens to port 5555 and writes the data into an SQL db.
|09-10-2015 06:58 PM|
It means that by virtue of installing Python you've already got the standard library included. All you have to do is type "import socket" in your .py file and you can use everything in the socket module by typing socket. and the function name and arguments after the dot.
If you're clicking at things in your game instead of just typing in commands then your game uses a graphical user interface. If you want to do this note that Python has Tkinter built in its standard library which will easily allow you do create a GUI. You can also use third-party ones like PyQt, wxPython, or PyGame (which should have game-specific features but I've never used it so I can't be too sure).
|09-10-2015 06:32 PM|
... rather confused with the word native attached to libraries. Does that mean I've got to learn another language? as that answer mentions c/c++ and normal dll and libs.
This is a example I was able to find that at least made some sense, but confused me on other parts.
This was in a java area.
"Native Library" generally means a non-Java library that's used by the system (so C/C++, etc). Think normal DLLs or libs.
What about graphics? Would it be called a gui in this case? I know linux has cli and gui versions... in a game is it called a gui still?
|09-05-2015 09:04 PM|
Sure... python has network libraries/modules natively....
Just learning to networked gaming is quite a big jump....
|09-05-2015 08:54 PM|
I'm trying to learn python from learnpythonthehardway.org and I'm about half way through.
I've looked at the index or whatever its called (don't know book terms) and it never mentions anything about networking. Only at the end does it say something like move onto ruby..
Does python have networking... Like I could make a game and have people connect over lan/wan?