Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import Pyro.core
|
||||
|
||||
DATA = "my name is eren"
|
||||
NUM1 = 10
|
||||
NUM2 = 5
|
||||
|
||||
string = Pyro.core.getProxyForURI("PYRONAME://string")
|
||||
math = Pyro.core.getProxyForURI("PYRONAME://math")
|
||||
|
||||
print 'We sent: %s' % DATA
|
||||
print 'Server responded: %s\n' % string.makeUpper(DATA)
|
||||
|
||||
print 'We sent two numbers to divide: %d and %d' % (NUM1, NUM2)
|
||||
print 'Server responded the result: %s' % math.div(NUM1, NUM2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue