Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Oups, script is truncated! Here it is again' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Oups, script is truncated! Here it is again
Authored by: dimus on Apr 02, '03 02:54:24PM

#!/usr/bin/env python

import os, sys, time

#Change these directories to your own settings
picturesDownloadDirectory="/Users/dimus/Pictures"
newPhotosDirectory="/Users/dimus/newPhotos"


#Don't change anything below this line:
#_________________________________________________________
os.chdir(picturesDownloadDirectory)
files=os.listdir(os.curdir)
pics=[]

for i in files:
    if i [-3:].upper()=="JPG":
        pics.append(i)

print "Enter the name of the pictures: ",
name=raw_input()

local_time=time.localtime(time.time())
year=str(local_time[0])[2:]
month=str(local_time[1])
if len(month)


[ Reply to This | # ]