Overclock.net - An Overclocking Community - View Single Post - Does python have networking?

View Single Post
post #4 of (permalink) Old 09-10-2015, 06:58 PM
New to Overclock.net
aldfig0's Avatar
Join Date: Jan 2010
Location: California
Posts: 850
Rep: 69 (Unique: 66)
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).
aldfig0 is offline