Updated: 7/17/2002; 3:55:29 PM.
PythonCard
PythonCard is cross-platfrom framework for building desktop apps with Python.
        

Wednesday, June 12, 2002

Just a reminder that Patrick O'Brien and I will be doing a presentation at the O'Reilly Open Source Convention (OSCON) this summer in San Diego called Building GUI Applications With PythonCard And PyCrust. The conference is from July 22-26, and our session is scheduled for Thursday, July 25 from 1:45pm - 2:30pm in the Marina III room.

If you will be attending OSCON and would like to find out more about PythonCard, please let me (Kevin Altis) know. I will be in San Diego at the Sheraton all week and would love to get together to discuss PythonCard with anyone interested.


2:40:12 PM    comment []

XML-RPC server in PythonCard 0.6.7

A new release of PythonCard should be out in the next couple of days. You can download it from cvs now if you don't want to wait. Among the many new samples is a GUI front-end to the web server that comes with the Python Standard Libraries. In addition to serving files, the webserver sample can do CGI, so it is a great way to get a web server up quickly on your desktop; all you have to do is double-click the script. Several example CGI scripts are included with the server.

I added Mark Pilgrim's PyWebServices scripts, so the webserver can act as an XML-RPC server too. After starting up the webserver sample you can test the XML-RPC server capabilities by running the radioclient sample, which automatically shows the shell and imports the xmlrpclib module. Then try this in the shell:

>>> server = xmlrpclib.Server('http://localhost/cgi-bin/webservices.py')
>>> server.system.listMethods()
{'sample.helloWorld()': 'None', 'examples.getStateName(stateIndex)': 'None',
'system.listMethods()': 'None'}
>>> server.sample.helloWorld()
'Hello World!'
>>> server.examples.getStateName(1)
'Alabama'
>>> server.examples.getStateName(50)
'Wyoming'

1:29:22 PM    comment []


© Copyright 2002 Kevin Altis.
 
June 2002
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
May   Jul



Subscribe to "PythonCard" in Radio UserLand.

Click to see the XML version of this web page.