Java to Python - how to??
George Sakkis
gsakkis at rutgers.edu
Mon Jun 13 06:48:39 EDT 2005
ka_czor at poczta.onet.pl wrote:
> Hello
>
> I just start programing in Python.
> I've got a qestion, how translate the example code writen in Java to
> Python??
>
>
> public class ConnectionManager {
>
> public ConnectionManager() {
> super();
> }
> public void sendAgent(Agent anAgent, WorkplaceAddress anAddress) {
>
> }
> }
>
> bye
class ConnectionManager(object):
def __init__(self):
super(ConnectionManager,self).__init__()
def sendAgent(self, anAgent, anAddress):
pass
George
More information about the Python-list
mailing list