No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: Check out regular expressions in the re module. | |
Re: 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.. | |
Re: 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 a program entry and tell KDE to run that program as a … | |
Re: Assuming the question does not want a count of unique words/characters this should do it: [CODE]open the file for reading number of words,characters, lines = 0 while a line can be read from the file read a line into a string number of lines + = 1 number of characters … | |
Re: [QUOTE=rikxik;557664]Here you go: [CODE] print reduce( lambda x,y: x+y, [int(i) for i in list(raw_input("Enter integer:"))] ) [/CODE][/QUOTE] Nice bit of Python !! | |
The End.