Re: Module python-magic on/for Windows - UPDATE: WORKING & HowTo!!!

2008-10-26 Thread Carl K
Michael Torrie wrote: > Carl K wrote: >> I need to convert pdf to png, which imagemagic convert does, I think by using >> ghostscript. a little over a year ago I tried with some imagemagic (there >> are >> at least 2 i think) and neither seemed close to working

v4l module

2008-10-26 Thread Carl K
eports. what this is for: http://chipy.org/V4l2forPyCon Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: Module python-magic on/for Windows - UPDATE: WORKING & HowTo!!!

2008-10-26 Thread Carl K
working (for pdf that is.) any idea if pdf conversion is working? Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: Video4Linux for [EMAIL PROTECTED]

2008-02-16 Thread Carl K
Ok, that post was somewhat bleck. Here is a much better version: http://chipy.org/V4l2forPyCon Carl K -- http://mail.python.org/mailman/listinfo/python-list

Video4Linux for [EMAIL PROTECTED]

2008-02-16 Thread Carl K
re, or off list, or on #python or #chipy. Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: convert pdf to png

2007-12-28 Thread Carl K
pre-processing goes: the pdf is generated from data the user just entered into a web page. it may not even be saved to the DB yet. the new ImageMagick bindings should do what I need: http://www.procoders.net/?p=39 Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: Counter-spam: Change the subject

2007-12-26 Thread Carl K
PROTECTED]:~$ cat /etc/hosts 127.0.0.1 localhost 127.0.0.1 asus17.personnelware.comasus17 127.0.0.1 newsgroups.comcast.net Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: Extracting images from a PDF file

2007-12-26 Thread Carl K
I am trying to convert the pdf to a png, but without having to run external commands. so I will understand if you arn't happy with pdfimages. Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: convert pdf to png

2007-12-26 Thread Carl K
Grant Edwards wrote: > On 2007-12-25, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> Carl K schrieb: >>> Grant Edwards wrote: >>>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>>> >>>>>> If it is a multi page pdf Imagem

Re: convert pdf to png

2007-12-25 Thread Carl K
Rob Wolfe wrote: > Carl K <[EMAIL PROTECTED]> writes: > >> I need to take the take the pdf output from reportlab and create a >> preview image for a web page. so png or something. I am sure >> ghostscript will be involved. I am guessing PIL or ImageMagic ? >>

Re: convert pdf to png

2007-12-25 Thread Carl K
Diez B. Roggisch wrote: > Carl K schrieb: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> >>>>> If it is a multi page pdf Imagemagick will do: >>>>> >>>>> convert file.pdf page-%03d.pn

Re: convert pdf to png

2007-12-24 Thread Carl K
Jaap Spies wrote: > Carl K wrote: >> Grant Edwards wrote: >>> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >>> >>>>> If it is a multi page pdf Imagemagick will do: >>>>> >>>>> convert file.pdf page-%03d.png >&

Re: convert pdf to png

2007-12-24 Thread Carl K
Andrew MacIntyre wrote: > Grant Edwards wrote: >> On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: >> >>>> If it is a multi page pdf Imagemagick will do: >>>> >>>> convert file.pdf page-%03d.png >>> I need python code to do th

Re: convert pdf to png

2007-12-24 Thread Carl K
Grant Edwards wrote: > On 2007-12-24, Carl K <[EMAIL PROTECTED]> wrote: > >>> If it is a multi page pdf Imagemagick will do: >>> >>> convert file.pdf page-%03d.png >> I need python code to do this. It is going to be run on a >> someone else&#x

Re: convert pdf to png

2007-12-24 Thread Carl K
Jaap Spies wrote: > Carl K wrote: >> I need to take the take the pdf output from reportlab and create a >> preview image for a web page. so png or something. I am sure >> ghostscript will be involved. I am guessing PIL or ImageMagic ? >> >> all sugestions welco

convert pdf to png

2007-12-23 Thread Carl K
I need to take the take the pdf output from reportlab and create a preview image for a web page. so png or something. I am sure ghostscript will be involved. I am guessing PIL or ImageMagic ? all sugestions welcome. Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: mac dashboad

2007-12-21 Thread Carl K
Chris Mellon wrote: > On Dec 21, 2007 3:25 PM, Carl K <[EMAIL PROTECTED]> wrote: >> ianaré wrote: >>> On Dec 21, 12:37 pm, Carl K <[EMAIL PROTECTED]> wrote: >>>> How do I hang an app off the mac dashboard? >>>> >>>> The goal is a

Re: mac dashboad

2007-12-21 Thread Carl K
ianaré wrote: > On Dec 21, 12:37 pm, Carl K <[EMAIL PROTECTED]> wrote: >> How do I hang an app off the mac dashboard? >> >> The goal is a python version of Weatherbug. >> >> something like: >> read xml data from a URL, >> display some num

mac dashboad

2007-12-21 Thread Carl K
How do I hang an app off the mac dashboard? The goal is a python version of Weatherbug. something like: read xml data from a URL, display some numbers, mouse over shows more details Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: looking for ocbc example

2007-11-27 Thread Carl K
jay graves wrote: > On Sep 21, 2:43 am, Tim Golden <[EMAIL PROTECTED]> wrote: >> Carl K wrote: >>> It seems there are 2 odbc modules - pyOdbc and mxOdbc - anyone know the >>> difference? >> In short, pyodbc is open source; mxOdbc requires a commercial licens

looking for ocbc example

2007-09-20 Thread Carl K
ow what modules, and the lines to connect and execute a sql command. It seems there are 2 odbc modules - pyOdbc and mxOdbc - anyone know the difference? Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: installing cx_Oracle.

2007-05-24 Thread Carl K
Dennis Lee Bieber wrote: > On Thu, 24 May 2007 09:07:07 -0500, Carl K <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> Getting closer, thanks Bill and Diez. >> >> $ export ORACLE_HOME >> $ ORACLE_HOME=/usr/lib/oracle/xe/app/oracle

Re: installing cx_Oracle.

2007-05-24 Thread Carl K
Bill Scherer wrote: > Carl K wrote: >> Getting closer, thanks Bill and Diez. >> >> $ export ORACLE_HOME >> $ ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client >> $ python setup.py build >> $ sudo python setup.py install >> >> $ pyt

Re: installing cx_Oracle.

2007-05-24 Thread Carl K
tError: libclntsh.so.10.1: cannot open shared object file: No such file or directory guessing I need to add /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/lib/ to some path? btw - anyone know of a .deb that will install this? Carl K -- http://mail.python.org/mailman/listinfo/python-list

installing cx_Oracle.

2007-05-24 Thread Carl K
;, line 17, in __getitem__ def __getitem__(self, key): return self.data[key] KeyError: 'ORACLE_HOME' Now I don't really know whos problem this is. Carl K -- http://mail.python.org/mailman/listinfo/python-list

ctree data

2007-05-12 Thread Carl K
e.html - This just shows what lengths I am willing to go to. but I really don't want to start learning perl. TIA Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: mysql "rows affected"

2007-04-29 Thread Carl K
Dennis Lee Bieber wrote: > On Thu, 26 Apr 2007 18:18:57 -0700, John Nagle <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> Carl K wrote: >>> using MySQLdb, I do cursor.execute("update...") >>> >>> How can I tell h

Re: mysql "rows affected"

2007-04-26 Thread Carl K
John Nagle wrote: > Carl K wrote: >> using MySQLdb, I do cursor.execute("update...") >> >> How can I tell how many rows were affected ? >> >> Carl K > > cursor = db.cursor() # get cursor > cursor.execute(sql

mysql "rows affected"

2007-04-26 Thread Carl K
using MySQLdb, I do cursor.execute("update...") How can I tell how many rows were affected ? Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor/IDE on Linux?

2007-04-14 Thread Carl K
I use spe - it is in universe. Has some rough edges, but in general I like it enough to recommend it. Carl K -- http://mail.python.org/mailman/listinfo/python-list

Re: attribute save restore

2007-04-13 Thread Carl K
Steven Bethard wrote: > Carl K wrote: >> Is there a more elegant way of coding this: >> >> x=o.p # save .p >> o.p=0 >> o.m() >> o.p=x # restore .p >> >> seems very push/pop to me - like there should be a way that doesn't >> need

attribute save restore

2007-04-13 Thread Carl K
ng in a parameter, but that isn't my choice.) Carl K -- http://mail.python.org/mailman/listinfo/python-list

py and Dabo class in chi

2006-10-25 Thread Carl K
I am organizing 3 python events in Chicago: 2 free, one cheap. 1st is really just an extended VFP users group meeting featuring Ed Leafe, one of the Dabo developers. I am getting a larger room to accommodate the python group too. The meeting is Nov 14 5:30pm in the loop: (not sure yet where,