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
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for pluring

Hi! I need to split a list if item A is followed by item B. I'm really stuck at this and the only thing i could think of is that i should use regex, but i dont know how. Example of list: list = ['email@email.com', 'email@email.com', 'email@email.com', 'REF123', 'REF123', 'email@email.com', …

Member Avatar for Namibnat
0
100
Member Avatar for pluring

I use url retrive and reporthook to update wx.gauge. The problem i have is that after just a few updates it stops. I use a simple threading for the downloading process and guess thats the problem? [CODE] def trad(): thread.start_new_thread(download, ()) def download(): for url in open('url', 'r').readlines(): url = …

0
53
Member Avatar for pluring

Hi! I don't remember where but i found this download function (geturl) that works great if i just send one url to the function. But as you can see i want to execute geturl() for each line in url.txt witch contains url:s. It still downloads but instead of a progressbar …

Member Avatar for pluring
0
137
Member Avatar for pluring

Hi! What i want to do is for my program to detect all USB disks inserted and return the device path (/dev/XXX) and system type. My first tought was to fetch output from fdisk -l but thats not very fancy and i guess there is some function or such to …

Member Avatar for pluring
0
140
Member Avatar for pluring

Hi! I'm trying to search a html site for a spefic word and print the result thats x rows after that word. If the html page looks like: "Hello welcome to daniweb" I want to search for welcome and look for what the next word is ("to" should be the …

Member Avatar for pluring
0
103
Member Avatar for pluring

Hi! I'm very new to both python and Tkinter and would be thankful for some help. i want to search a text document for a word and print each line that match the searchword in a text widget. [CODE]def ladda(): fts = 'thefile.txt' file = open(fts,"r") text = file.readlines() file.close() …

Member Avatar for pluring
0
2K