Re: Spam? Re: whizBase vs. Python

2009-06-30 Thread Tim Harig
On 2009-06-30, NurAzije nuraz...@gmail.com wrote: On Jun 29, 11:04 am, Tim Harig user...@ilthio.net wrote: On 2009-06-29, NurAzije nuraz...@gmail.com wrote: I am working on a study and I need expert opinion, I did not work with Python before, can anyone help me with a comparison

Re: Python Imaging Library download link broken?

2009-06-30 Thread Tim Harig
On 2009-06-30, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: On Tue, 30 Jun 2009 20:16:02 +1200, Lawrence D'Oliveiro wrote: In message td22m.1717$8r@nlpi064.nbdc.sbc.com, Tim Harig wrote: Package managers with dependency tracking were all the rage when I first started using

Spam? Re: whizBase vs. Python

2009-06-29 Thread Tim Harig
On 2009-06-29, NurAzije nuraz...@gmail.com wrote: Hi, I am working on a study and I need expert opinion, I did not work with Python before, can anyone help me with a comparison between WhizBase (www.whizbase.com) and Python please. Given posts like:

Re: pythonware.com down?

2009-06-29 Thread Tim Harig
On 2009-06-29, C. Feldmann casper.feldm...@googlemail.com wrote: I am trying to get a hold of PIL, but pythonware.com seems to be down. Are there mirrors out there? I get a 502 Error Bad Gateway - The proxy server received an invalid response from an upstream server. Does anyone else get that

Re: pythonware.com down?

2009-06-29 Thread Tim Harig
On 2009-06-29, C. Feldmann casper.feldm...@googlemail.com wrote: On 29 Jun., 11:07, Tim Harig user...@ilthio.net wrote: On 2009-06-29, C. Feldmann casper.feldm...@googlemail.com wrote: I am trying to get a hold of PIL, but pythonware.com seems to be down. Are there mirrors out there? I

Re: Python Imaging Library download link broken?

2009-06-29 Thread Tim Harig
On 2009-06-29, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: Sounds more like broken OS with no integrated package management. Package managers with dependency tracking were all the rage when I first started using Linux. So I tried Red Hat and everything worked great until the

Re: Python Imaging Library download link broken?

2009-06-29 Thread Tim Harig
On 2009-06-29, peter peter.mos...@talk21.com wrote: Whilst this is an interesting discussion about installers, I'm still trying to find a copy of PIL. Any ideas? I alluded to a source version below. It will compile on Windows as well as on *nix. Google finds what looks like older versions

Re: wikipedia with python

2009-06-24 Thread Tim Harig
On 2009-06-22, ZeLegolas zelego...@gmail.com wrote: On Mon, 22 Jun 2009 19:23:59 +0200, Andre Engels andreeng...@gmail.com wrote: On Mon, Jun 22, 2009 at 6:58 PM, zelegolaszelego...@gmail.com wrote: I'm looking for wiki writen with python where I can import all wikipedia site. PHP. What do

Re: Newbie queue question

2009-06-19 Thread Tim Harig
On 2009-06-19, =?windows-1252?Q?Jure_Erzno=9Enik?= jure.erznoz...@gmail.com wrote: If this is correct, no amount of threading would ever help in Python since only one core / CPU could *by design* ever be utilized. Except for the code that accesses *no* functions / memory at all. Don't

Re: Play MP3s from Windows

2009-06-19 Thread Tim Harig
On 2009-06-19, Arlie arli...@gmail.com wrote: Hi, Newbie here. I copied and pasted the code below. But when I ran it I got this error: D:\python mp3.py Duree du fichier : 298919 millisecondes Traceback (most recent call last): File mp3.py, line 37, in module

Re: Play MP3s from Windows

2009-06-19 Thread Tim Harig
On 2009-06-19, Arlie arli...@gmail.com wrote: print 'Duree du fichier : ',buf,' millisecondes' You can obviously make sure that 'buf' can be accessed as a string. time.sleep(int(buf)/1000) The error seems to be having issues converting buf to an int. Could you possibly convert it to a string

Re: simple GUI for my application?

2009-06-16 Thread Tim Harig
On 2009-06-16, Filipe Teixeira shuan...@gmail.com wrote: Hi, I'm really struggling to find the best GUI to make a simple application. http://www.python.org/doc/faq/gui/ -- http://mail.python.org/mailman/listinfo/python-list

Re: simple GUI for my application?

2009-06-16 Thread Tim Harig
On 2009-06-16, Mike Driscoll kyoso...@gmail.com wrote: On Jun 16, 9:20 am, Filipe Teixeira shuan...@gmail.com wrote: Hi, I'm really struggling to find the best GUI to make a simple application. [SNIP] Basically I will use a lot of edit boxes and some tabs, and a folder tree, any tips so I can

Re: Newbie question about method options

2009-06-16 Thread Tim Harig
On 2009-06-17, python-newbie113 warhammer1...@gmail.com wrote: If i use, create_arc(bbox, options) = id what is id? and how do i find the parameter list representing options? I am not familiar with tkinker; but, the expression is just showing a function prototype. The function part should be

cross platform method Re: How to get the total size of a local hard disk?

2009-06-15 Thread Tim Harig
On 2009-06-15, Tim Golden m...@timgolden.me.uk wrote: These kind of things tend to be fairly platform specific. There is however a way to do it in a cross platform manner which will return an appoximation of the available space. 1. delete all of the files (and folders) on the partition that

Re: Win32 stdin redirection

2009-06-12 Thread Tim Harig
On 2009-06-12, lynvie lyndiech...@gmail.com wrote: Thanks for the additional info! I had no idea this was an old Windows problem... I'm using Windows XP and I'm up-to-date on all my patches. s/problem/feature/ Steve Ballmer, CEO of Microsoft, would prefer that you think of it as a 'feature'.

Re: Alter list items within loop

2009-06-11 Thread Tim Harig
On 2009-06-11, Brendan brendandetra...@yahoo.com wrote: Can someone please explain what is happening in the output below? The number 3 never gets printed. Does Python make a copy of a list before it iterates through it?: You can see what is happening by printing the list as you work through

Re: Alter list items within loop

2009-06-11 Thread Tim Harig
On 2009-06-11, Duncan Booth duncan.bo...@invalid.invalid wrote: Tim Harig user...@ilthio.net wrote: number 3 never gets printed. Does Python make a copy of a list before it iterates through it?: No, complex types are passed by reference unless explicity copied. *All* types are passed

Re: what does lost sys.stdin error mean?

2009-06-11 Thread Tim Harig
On 2009-06-11, lynvie lyndiech...@gmail.com wrote: I have a very simple program from the first chapter of a book on python 3 (I'm a novice). I called the program tmp.py and the data input file is sum.dat (just a list of numbers, 1 per line). When I type into my command shell tmp.py sum.dat I

Win32 stdin redirection

2009-06-11 Thread Tim Harig
On 2009-06-11, Tim Harig user...@ilthio.net wrote: On 2009-06-11, lynvie lyndiech...@gmail.com wrote: I have a very simple program from the first chapter of a book on python 3 (I'm a novice). I called the program tmp.py and the data input file is sum.dat (just a list of numbers, 1 per line

Re: GD Library

2009-06-08 Thread Tim Harig
On 2009-06-08, Xah Lee xah...@gmail.com wrote: is there a python image library that does pretty much what imagemagick does? GD library has a Python binding: http://www.libgd.org/Main_Page -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL Python Imaging Library

2009-06-08 Thread Tim Harig
On 2009-06-08, Xah Lee xah...@gmail.com wrote: is there a python image library that does pretty much what imagemagick does? http://www.pythonware.com/products/pil/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Generating Tones With Python

2009-05-18 Thread Tim Harig
On 2009-05-18, Adam Gaskins agaskins...@kelleramerica.com wrote: I am pretty sure this shouldn't be as hard as I'm making it to be, but how does one go about generating tones of specific frequency, volume, and L/R pan? I've been digging around the internet for info, and found a few This can

Re: Help with a HTTP GET request

2009-05-12 Thread Tim Harig
On 2009-05-13, Paul Hemans p_hem...@hotmail.com wrote: http://localhost/common/foxisapi.dll/tmsmail.x2.isapi?PROCESS%20sync=''%20schema=''%20class='replicateApplication.getChanges'%20/ Note the entire URL. So I am trying httplib I have encoded the GET request with urllib.quote urllib would be

Re: Help with a HTTP GET request

2009-05-12 Thread Tim Harig
On 2009-05-13, Tim Harig user...@ilthio.net wrote: import urllib url = http://localhost/common/foxisapi.dll/tmsmail.x2.isapi?PROCESS%20sync=''%20schema=''%20class='replicateApplication.getChanges'%20/ content = urllib.urlopen(url).read() forgot to urlencode: host = http://localhost; request

Re: Help with a HTTP GET request

2009-05-12 Thread Tim Harig
On 2009-05-13, Tim Harig user...@ilthio.net wrote: host = http://localhost; request = r/common/foxisapi.dll/tmsmail.x2.isapi?PROCESS sync='' schema='' class='replicateApplication.getChanges' / url = host + urllib.quote(request) content = urllib.urlopen(url).read() Which accidentally encodes

[silly] Re: issue with twisted and reactor. Can't stop reactor

2009-05-11 Thread Tim Harig
On 2009-05-11, Gabriel gabr...@opensuse.org wrote: Subject: issue with twisted and reactor. Can't stop reactor Not having written anything using twisted I cannot help you much with your code; but, I cannot resist commenting about your subject line: I suspect that if are having an issue with

<    1   2   3