Re: timezones

2019-02-08 Thread Jaap van Wingerde
002-10-27 01:30:00 EDT-0400 / 2002-10-27 01:30:00 EST-0500 > > > Browse through their examples and see if you can find something > similar that works for you. > > > -Original Message- > From: Python-list > [mailto:python-list-bounces+david.raymond=tomtom@pyt

timezones

2019-02-07 Thread Jaap van Wingerde
as the 'Exif.GPSInfo.GPSTimeStamp' and 'Exif.GPSInfo.GPSDateStamp' are missing. Why I get this unrespected results? Kind regards, Jaap. -- Jaap van Wingerde e-mail: 1234567...@vanwingerde.nl -- https://mail.python.org/mailman/listinfo/python-list

Re: modification time in Python - Django: datetime != datetime :-(

2014-03-04 Thread Jaap van Wingerde
(os.path.realpath(__file__ ))+'/templates/art_index.html'))) ... -- Jaap van Wingerde e-mail: 1234567...@vanwingerde.nl -- https://mail.python.org/mailman/listinfo/python-list

modification time in Python - Django: datetime != datetime :-(

2014-03-03 Thread Jaap van Wingerde
:~$ ... -- Jaap van Wingerde e-mail: 1234567...@vanwingerde.nl -- https://mail.python.org/mailman/listinfo/python-list

Re: modification time in Python - Django: datetime != datetime :-(

2014-03-03 Thread Jaap van Wingerde
Op Tue, 4 Mar 2014 01:08:52 +1100 schreef Chris Angelico ros...@gmail.com in bericht captjjmrp9ca5zyfo75nkcx_ik0qi4kocjhhy6eewkq-xjx7...@mail.gmail.com: See if ls is actually giving you ctime rather than mtime - compare the results if you ask for os.path.getctime. jaap@liakoster:~$ python

Re: Python magazine

2010-03-29 Thread Jaap van Wingerde
On 29 mrt, 13:13, Pasi Oja-Nisula p...@iki.fi wrote: Python magazine web site says this: So, sit back and relax - enjoy your holidays, and come see us again on January 26th, when the new  PyMag will launch. http://rhodesmill.org/brandon/2010/leaving-python-magazine/ --

Re: ordinal not in range

2009-03-02 Thread Jaap van Wingerde
Stefan Behnel wrote: Jaap van Wingerde wrote: outfile = codecs.open(output, w, utf_8) I guess you mixed up the case here. Does this help? outfile = codecs.open(output, wb, encoding=UTF-8) According to the Python Codec registry an base classes http://www.python.org/doc/2.6/library/codecs.html

TypeError: descriptor 'replace' requires a 'str' object but received a 'unicode'

2009-02-21 Thread Jaap van Wingerde
(most recent call last): File /home/jaap/Desktop/unicode.py, line 3, in module Omschrijving = str.replace(Omschrijving, priv?, 'priv�') TypeError: descriptor 'replace' requires a 'str' object but received a 'unicode' How can I solve this? -- Jaap van Wingerde e-mail: 1234567

ordinal not in range

2009-02-21 Thread Jaap van Wingerde
Stefan Behnel wrote: Omschrijving = Omschrijving.replace(priv?, 'privé') I Thank you, this works now, but I get a new error message. import codecs file = postbank.csv output = %s.eb % file outfile = codecs.open(output, w, utf_8) Omschrijving = u'priv? assuranti?n' # string from

Re: ordinal not in range

2009-02-21 Thread Jaap van Wingerde
Lenny. With your help I made my first Python-script. This script saves me from hours dumb work. Thanks a lot!! -- Jaap van Wingerde e-mail: 1234567...@vanwingerde.net -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP like documentation?

2009-02-15 Thread Jaap van Wingerde
Pavan Mishra wrote: I was wondering if I can use python documentation source (reStructuredText) and restructure it along the lines of PHP documentation. Allowing users to add comments, improving search etc. I was thinking if it would be useful. Very good idea! -- Jaap van Wingerde e-mail