Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~726 People Reached
Favorite Forums
Favorite Tags
Member Avatar for wheatontrue

Dear all, When I use the pymedia module to play a WAV that I've converted from an mp3 file, it plays it for me twice. I don't know why - my media player (i'm on linux, so mplayer) plays the WAV file only once. Here's what I'm doing: [code]f= wave.open( …

0
49
Member Avatar for wheatontrue

Dear all, I am trying to parse a lot of text. for small amounts of text, the WHILE loop I use to find all spaces in the text works well: markerlist=[] counter=0 while len(markerlist)<text.count(marker): [INDENT]markerlist.append(text.find(marker,counter) counter=text.find(marker,counter)+1[/INDENT] This iterative process is very, very slow when working with a few megabites of …

Member Avatar for wheatontrue
0
137
Member Avatar for wheatontrue

Dear all, I downloaded a google API interface from [url]http://blackcodeseo.com/google-search-api-for-python/[/url] pretty nice. I was sad to hear that google wasn't giving out access keys anymore for their API, but this one seems to work well despite that - I don' t really know all the details, I just plugged-n-played. The …

0
48
Member Avatar for wheatontrue

Dear all, I am trying to create x attributes in a class, to the effect of: class classic: def __init__(self,text): r=range(text.count('TI -')) for l in r: self.l=None Unfortunately I can't iterate through for some reason. I only get self.l, not, for instance self.1 to self.107 How do I do this? …

Member Avatar for wheatontrue
0
77
Member Avatar for wheatontrue

Hello - my Python 2.5 IDLE used to start up, but now it won't. I tried looking at the preferences - those don't have any glaring mistakes. When I try to start it command line I get the following error: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. …

Member Avatar for wheatontrue
0
317
Member Avatar for wheatontrue

Dear all, I am having a lot of trouble using programs I programmed in python 2.5 - having upgraded to 2.6 I find that every function/class that makes use of SSL receives this error: Traceback (most recent call last): File "<pyshell#10>", line 1, in <module> import ssl File "C:\Python26\lib\ssl.py", line …

Member Avatar for wheatontrue
0
98