help needed!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • drjekil

    help needed!


    i have a script which will do a specific task for a file in a folder,now i
    would like to do the same task for the all files in that folder(25
    files).how can i do that?

    Thanks in advance.

    --
    View this message in context: http://www.nabble.com/help-needed%21...p17148388.html
    Sent from the Python - python-list mailing list archive at Nabble.com.

  • Mike Driscoll

    #2
    Re: help needed!

    On May 9, 8:54 am, drjekil <drjeki...@gmai l.comwrote:
    i have a script which will do a specific task for a file in a folder,now i
    would like to do the same task  for the all files in that folder(25
    files).how can i do that?
    >
    Thanks in advance.
    >
    --
    View this message in context:http://www.nabble.com/help-needed%21...p17148388.html
    Sent from the Python - python-list mailing list archive at Nabble.com.
    Use a loop, probably in combination with os.walk.

    Mike

    Comment

    • Mike Driscoll

      #3
      Re: help needed!

      On May 9, 8:54 am, drjekil <drjeki...@gmai l.comwrote:
      i have a script which will do a specific task for a file in a folder,now i
      would like to do the same task  for the all files in that folder(25
      files).how can i do that?
      >
      Thanks in advance.
      >
      --
      View this message in context:http://www.nabble.com/help-needed%21...p17148388.html
      Sent from the Python - python-list mailing list archive at Nabble.com.
      Or use the glob module and a loop...

      Mike

      Comment

      Working...