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.

0 Endorsements
Ranked #4K
~10.9K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for gorbulas

Hello Having trouble reading in some 8-bit data (not text) from serial port using pyserial module. Am storing the data in a string buffer as it comes in, that's working fine. Problem is that I'm printing the buffer out to the terminal screen, after a wee bit of data (30~200 …

Member Avatar for Gribouillis
0
346
Member Avatar for Lemony Lime

To answer your second question, try it out yourself in IDLE, what a quick for loop that creates a list and adds 1000 lines of some random sentence. TIP: It works :-) Your first question, sure I don't see anything that can't be done there. Just write the txt file …

Member Avatar for gorbulas
0
225
Member Avatar for dbphydb

That error has nothing to do with the mechanize lib It simply means what ever you are trying to remove from the list (func) is not in the list, so it can't remove it. Try putting print self.bindedfuncs[triplet[2]][triplet[0]], func So you can see what the contents are

Member Avatar for dbphydb
0
77
Member Avatar for gorbulas

As part of a program I'm making, I have a class, and have 5 different instances of this class declared globally for accessing by anywhere else in the program. The class has a list associated with it, that should be different for each of the 5 instances of the classes. …

Member Avatar for gorbulas
0
374
Member Avatar for gorbulas

Hello I made a program that submits a paragraph to a webpage, using mechanize. Its all working great, except when I view the paragraph, all the newlines have disappeared and it makes all the paragraphs all block up together into one long sentence. But when I open up the page …

Member Avatar for gorbulas
0
96
Member Avatar for gorbulas

Is there any problem with manipulating very long strings? When I say long, I'm meaning like over 100,000 characters long. I'm using examplelongString = data.readline() to get it from an html file. I then use examplelongString .find('text to find') to search for stuff. I've been trying to do it, it …

Member Avatar for TrustyTony
0
6K
Member Avatar for gorbulas

I have a class, and create 4 instances of this class as per below: [code=PYTHON]class AuctionList: def __init__(self): self.Clear_Auction_List() # Data auctionList = [] #Functions .... [/code] [code=PYTHON]currentAuctionList = AuctionList() previousCurrentAuctionList = AuctionList() finishedAuctionList = AuctionList() successfulAuctionList = AuctionList()[/code] The class has a list variable and a few functions to …

Member Avatar for gorbulas
0
4K

The End.