Hi everyone,
The following program doesn't work as expected:
#Python 2.7 & wxPython 2.9
import wx
class MyFrame(wx.Frame):
""" We simply derive a new class of Frame. """
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, title=title, size=(200,100))
self
On Jan 28, 4:37 am, John O'Hagan wrote:
> On Tue, 27 Jan 2009, Reckoner wrote:
> > I'm not sure this is possible, but I would like to have
> > a list of objects
>
> > A=[a,b,c,d,...,z]
>
> > where, in the midst of a lot of processing I might do something like,
>
> > A[0].do_something_which_chang
Hi everyone,
I'm learning python to get a multiplayer roleplaying game up and
running.
I didn't see any simple examples of multiplayer games on the web so I
thought I'd post mine here. I choose Rock, Paper, Scissors as a first
game to experiment with as the game logic/options are easy to
impleme
, 12:03 am, "Gabriel Genellina"
wrote:
> En Wed, 24 Dec 2008 03:59:42 -0200, greyw...@gmail.com
> escribió:
>
> > New guy here. I'm trying to figure out sockets in order to one day do
> > a multiplayer game. Here's my problem: even the simplest
rt it.
John.
On Dec 24, 12:03 am, "Gabriel Genellina"
wrote:
> En Wed, 24 Dec 2008 03:59:42 -0200, greyw...@gmail.com
> escribió:
>
> > New guy here. I'm trying to figure out sockets in order to one day do
> > a multiplayer game. Here's my problem:
Hi everyone,
New guy here. I'm trying to figure out sockets in order to one day do
a multiplayer game. Here's my problem: even the simplest examples
don't work on my computer:
A simple server:
from socket import *
myHost = ''
myPort = 21500
s = socket(AF_INET, SOCK_STREAM)# create a TCP