User Profile

Collapse

Profile Sidebar

Collapse
surreptitious
surreptitious
Last Activity: Jul 18 '08, 09:47 PM
Joined: Jul 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • surreptitious
    replied to How to print all files in a folder?
    Sorry for being vague. Here's an example of what I want to do.

    import pprint

    pprint.pprint(o pen(r'c:\text\s omefile.txt').r eadlines())

    And kaarthikeyaprey an. I think you have it but I don't know how to execute it. I put all of that into a .py file and then what do I do. I also tried typing it out in the Command Line but at the end I just get the ... and nothing happens. Was the directory name the only thing...
    See more | Go to post

    Leave a comment:


  • surreptitious
    started a topic How to print all files in a folder?

    How to print all files in a folder?

    Hello. I was wondering how to print all the files in a folder. If possible, could it be like Python prints one file and waits for a confirmation and then moves to the next? By the way, by print, I don't mean like printer paper stuff. I mean by Python writes the stuff out in the Command Prompt thing. My friend told me print in language doesn't mean print as in paper and ink. I use Windows2k and Python 2.5. Thanks in advanced.
    See more | Go to post
    Last edited by surreptitious; Jul 17 '08, 09:15 PM. Reason: Forgot to put OS and Version
No activity results to display
Show More
Working...