Re: Using pysqlite2
Many thanks Gerhard - the solution you offer is workable in the scope of my project. Gracias muchacho Xera121 -- http://mail.python.org/mailman/listinfo/python-list
Passing tuples of tuples to sqlite
Hi I have tuples in the format shown below: (u('2','3','4'),u('5','6','7')u('20','21','22')) but they are not being accepted into sqlite - due I think to the excessive quote marks which are confusing the issue when converting to a string to send it to sqlite. Can someone advise me on how I should format the strings so the whole tuple of tuples will be accepted in the sqlite insert query? Thanks Lol McBride -- http://mail.python.org/mailman/listinfo/python-list
multiprocessing newbie - semaphore question
Hi, I'm interested in this type of programming but need some fundamental questions answered if someone could oblige: In the docs for the mutiprocessing module it mentions right at the beginning about an underlying semaphore system - would MPI2 fit the bill running on a Beowulf cluster? Is the mutiprocessing module usable for writing apps to run on a Beowulf cluster - i.e. can I use it for an app that will share the work amongst the nodes? I am looking for a way to share the processing on a task which requires intensive and repetitive work done over a large dataset in a sqlite table and I wondered if this would be a way to share the load over a number of pcs I have available for this task. My other idea is a simple(ish) client/server model which I am pretty confident I can execute whereas the setup of the cluster and the writing of a multiprocessing app would require a lot of prep and study/ testing. Therefore the bottom line is is it worth it? I know I haven't been too specific of what I'm doing but I just wanted a quick feel for the task from those who have more knowledge of the subject - Oh and btw I am NOT an expert programmer by any means and would expect almost all my code to be deemed as amateurish - but it keeps me happy and only breaks every other iteration ;-) xera121 -- http://mail.python.org/mailman/listinfo/python-list