Re: xml2schema

2005-09-17 Thread jegenye2001
Er, do you mean to generate a Relax NG (or possibly a DTD in fact) from some XML file?? If you do mean this then just think of that how you could generate grammar from some paragraphs of English text... Sorta non-trivial, if possible at all, isn't it? :-) Best regards, Miklos -- The ring of the

Re: Python Database Scripts

2005-09-12 Thread jegenye2001
Well, for a single connection object you could use several cursor objects and juggle with all of them in your program. This can come in handy if it's not about a simple script like I put in here. You can reuse the results from the cursors, etc. without issuing more, potentially resource-hungry,

Re: Ctypes Install in Linux

2005-09-12 Thread jegenye2001
Uh, I suppose you need a bit of reading up on Linux. ;) http://www.northernjourney.com/opensource/newbies/ http://www.linuxhelp.net/ etc. > How do I make myself a "root-user"? To become root, use the "su" command. Obviously you'll need the root password which you do know, don't you? >how do I a

Re: Ctypes Install in Linux

2005-09-12 Thread jegenye2001
Most likely you're trying to do this as a non-root user and /usr/local/lib/python2.4/site-packages must be writable only with root privileges. If you cannot go root on that machine then you could just install the package in some directory you can write to and add the directory name to your PYTHON

Re: Python Database Scripts

2005-09-12 Thread jegenye2001
import MySQLdb # Create a connection object and create a cursor conn = MySQLdb.Connect(host="localhost", port=3306, user="mysql", passwd="pwd123", db="mytest") c = conn.cursor() # execute some SQL c.execute("SELECT * FROM mystuff") # Fetch all results from the cursor into a sequence results = c

Re: ANNOUNCEMENT: The ring of the friendly serpent in business suite: Python, Zope, Plone

2005-09-12 Thread jegenye2001
Oops, "suit" indeed. Though it might be considered as a pun if you really want to. :-) Anyway, thanks, I will correct it. Cheers, Miklos -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCEMENT: The ring of the friendly serpent in business suite: Python, Zope, Plone

2005-09-12 Thread jegenye2001
Hi everybody, Since I couldn't find a (working) webring with such a profile, I started my own one: The ring of the friendly serpent in business suite: Python, Zope, Plone http://www.jegenye.com/ Anyone (companies or individual programmers/consultants) are welcome to join if they offer services o