Re: Can I send files through xmlrpc connections?

2005-08-28 Thread ookoi
hi,

You can try this recipe, it should provides what you need.

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/413404

The key is: xmlrpclib.Binary(my_file_object.read())

-- 
sébastien
http://yadp.sourceforge.net

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ajax python module??

2006-01-12 Thread ookoi
Hi Mark,

Basically, all you needs is the CGI module to handle requests from
clients, print some xml or html in response, then handle them back in
your client code (javascript).

With these simple principles I made a small web apps to watch Apache
Logs, see: https://live.dbzteam.com/

If you want to read a comprehensible example or use a simple module,
look at the sajax module http://www.modernmethod.com/sajax/

Cheers,

Sébastien Martini

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Cross compile generation of .pyc from .py files...

2006-03-01 Thread ookoi
You should look at this blog entry:
http://www.voidspace.org.uk/python/weblog/arch_d7_2006_02_11.shtml#e222

But if you have the original .py it's quite insane to want to hack the
.pyc only for porting it under others architectures. Instead, use
setuptools.

-- 
sebastien - http://seb.dbzteam.com

-- 
http://mail.python.org/mailman/listinfo/python-list