No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to write a script where it traverses the current folder and all subfolders and files and prints to screen the name of the files, filesize, and date last modified. e.g. test0.xml | 26 bytes | 11/21/08 23:35:28 (I can get it to do this) Folder/test1.xml | 26 … | |
I am trying to have the user of this script define what html tag they want printed from a document and then print all lines between those tags. e.g. [ICODE] <html> <p>;lasdjf;lsdakjf</p>[/ICODE] if users raw input is <p> I want to print ';lasdjf;lsdakjf' Right now it doesn't print anything but … | |
Hello, I am new to daniWeb. I am creating a script but have run into a problem when it comes to printing the line number. [CODE]print for word in words: word = clearup(word) if word in dictionary: pass else: print word [/CODE] On the last line I want to do … |