Results 1 to 2 of 2

Thread: Python Script

  1. #1
    Member
    Join Date
    Jun 2005
    Location
    Western Bay of Plenty
    Posts
    282

    Default Python Script

    Hello,

    I have a python interpteter installed on my PC (under Win XP), and I know how to point the command prompt at the python script saved file, but I have a problem.

    I found this python script to delete duplicate files on the location you point it to, but I can't get it to work.

    When I run the script it says something along the lines of:
    Looking for potential dupes...
    0 duplicate files found
    Looking for real dupes...

    Then back to the normal c:\... command lind.

    Is there something in that script that I need to change to point at the directory I want? This has been really frustrating me because I can't find if I'm meant to change something on it or not, I don't have much knowledge of python passed the basic tutorial.

    I also know a specialist forum may have been better, but I'd rather see if I could get it solved here first before making yet another forum account that I'll never use again.

  2. #2

    Default Re: Python Script

    Are you giving it the directory to walk as a command line parameter? If not, that's what it expects.
    Why use a simple solution when a complicated one will suffice?

Similar Threads

  1. Looping in Python
    By Mike in forum PressF1
    Replies: 15
    Last Post: 27-06-2006, 09:03 PM
  2. Replies: 1
    Last Post: 01-07-2004, 02:30 PM
  3. Replies: 11
    Last Post: 09-06-2004, 11:44 AM
  4. Python
    By jonzsie in forum PressF1
    Replies: 4
    Last Post: 21-02-2003, 10:50 AM
  5. Script in XP
    By in forum PressF1
    Replies: 0
    Last Post: 17-03-2002, 02:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •