Re: PIL and IPTC

2008-04-30 Thread supercooper
On Apr 30, 9:15 am, Jumping Arne [EMAIL PROTECTED] wrote: I'm completely new to PIL and I'm trying to read IPTC info, I understand that it's possible but I can't find out how (and for once Google doesn't seem to be able to help). Does anyone have an example of how it's done? I use the IPTCInfo

Re: Converting Excel time-format (hours since 1.1.1901)

2007-12-07 Thread supercooper
On Dec 7, 8:15 am, Dirk Hagemann [EMAIL PROTECTED] wrote: On 7 Dez., 14:34, supercooper [EMAIL PROTECTED] wrote: On Dec 7, 7:20 am, Dirk Hagemann [EMAIL PROTECTED] wrote: Hello, From a zone-file of a Microsoft Active Directory integrated DNS server I get the date/time

Re: Converting Excel time-format (hours since 1.1.1901)

2007-12-07 Thread supercooper
On Dec 7, 7:20 am, Dirk Hagemann [EMAIL PROTECTED] wrote: Hello, From a zone-file of a Microsoft Active Directory integrated DNS server I get the date/time of the dynamic update entries in a format, which is as far as I know the hours since january 1st 1901. For Example: the number 3566839

Re: looking for ocbc example

2007-11-29 Thread supercooper
On Nov 28, 2:43 am, Tim Golden [EMAIL PROTECTED] wrote: Carl K wrote: 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

Re: shutil.copyfile problem for GIS data

2007-07-23 Thread supercooper
import shutil import os src = c:\mydata\test\mygeo.mdb dst = v:\updated\data\mygeo.mdb shutil.copyfile(src,dst) This should totally work, do it all the time, but no one can be connected to the database, ie have ArcMap or ArcCatalog open at the time of copy, or the .ldb lock will kill it. I do

Re: Where do they tech Python officialy ?

2007-07-23 Thread supercooper
http://home.earthlink.net/~python-training/ I highly recommend Mark Lutz. Took the class last fall in Estes Park and it was worth every penny. -- http://mail.python.org/mailman/listinfo/python-list

Re: Gmail Error using smtplib

2007-07-20 Thread supercooper
This works for me... def SendEmail(msgType,sender,recipient,subject,message): Sends either a log file or a string message in email to recipient. Uses Google smtp server to send the mail. CHANGELOG: 2006-12-7:Set sender, recipient, subject as input variables

Convert binary string to something meaningful??

2007-06-13 Thread supercooper
I have this string that is being returned from a query on a DBISAM database. The field must be some sort of blob, and when I connect to the database thru ODBC in MS Access, the field type comes thru as OLE Object, and Access cannot read the field (it usually crashes Access). I can sorta pick out

Re: Who uses Python?

2007-06-04 Thread supercooper
I use it for processing GIS data (ALOT), building data harvesting apps that slurp data into MySQL/SQLServer from text files (ALOT), batch processing of daily mindless tasks like copying files and backups, and filing/cataloging/EXIF-IPTC metadata editing on digital photos - to name a few. I took

Re: urllib timeout issues

2007-03-29 Thread supercooper
On Mar 27, 4:50 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 27 Mar 2007 17:41:44 -0300, supercooper [EMAIL PROTECTED] escribió: On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED] escribió: I

urllib timeout issues

2007-03-27 Thread supercooper
I am downloading images using the script below. Sometimes it will go for 10 mins, sometimes 2 hours before timing out with the following error: Traceback (most recent call last): File ftp_20070326_Downloads_cooperc_FetchLibreMapProjectDRGs.py, line 108, i n ? urllib.urlretrieve(fullurl,

Re: urllib timeout issues

2007-03-27 Thread supercooper
On Mar 27, 3:13 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Tue, 27 Mar 2007 16:21:55 -0300, supercooper [EMAIL PROTECTED] escribió: I am downloading images using the script below. Sometimes it will go for 10 mins, sometimes 2 hours before timing out with the following error