Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: bgeddy
Forum: Python Apr 24th, 2008
Replies: 6
Views: 574
Posted By bgeddy
Check out regular expressions in the re module.
Forum: Python Mar 16th, 2008
Replies: 7
Views: 2,126
Posted By bgeddy
Have you seen "Dive into Python" by Mark Pilgrim ? It's a fine resource and has an excellent section on XML processing. It's available online too..
Forum: Python Mar 16th, 2008
Replies: 5
Views: 1,144
Posted By bgeddy
When I start kleansweep it warns me that I must run it as root to delete all files and no - I never run things as root.
I've been playing around with another way of achieving this.

I created a...
Forum: Python Mar 16th, 2008
Replies: 5
Views: 1,144
Posted By bgeddy
I've looked at kleansweep and it doesn't prompt me for a root password. However I believe this is probably done not by kleansweep but by KDE. In the KDE menu editor (Under System) you can add or edit...
Forum: Python Mar 15th, 2008
Replies: 10
Views: 2,538
Posted By bgeddy
Sorry for not getting back sooner but it seems other kind folks in the forum have answered already.
It's hard to gauge someones level of experience when answering a question but I only outlined the...
Forum: Python Mar 14th, 2008
Replies: 10
Views: 2,538
Posted By bgeddy
Assuming the question does not want a count of unique words/characters this should do it:

open the file for reading
number of words,characters, lines = 0
while a line can be read from the file ...
Forum: Python Mar 12th, 2008
Replies: 10
Solved: integer sum
Views: 4,977
Posted By bgeddy
Nice bit of Python !!
Forum: Python Mar 9th, 2008
Replies: 8
Views: 1,093
Posted By bgeddy
word = list("movie")
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC