[Tutor] Need to start learning again

2009-07-25 Thread Fred @ Mac
I started learning python, but then life got busy... I need some help finding good resources to start learning again. My main need for python at first would be to write small programs to perform system commands. Like moving files around, copying or deleting files, and perhaps some simple

[Tutor] Scan Directory for files

2008-08-01 Thread Fred @ Mac
Hello, new to python, so please go easy on me! I am using for f in os.listdir(watch_dir): tree = ET.parse(f) for shot in tree.findall('Shot'): ..do stuff.. to scan a directory for specific files (xml files specifically). But my script fails if, for example, a

[Tutor] python beginner

2008-07-09 Thread Fred @ Mac
I have an external app that writes out a very basic xml files that contains data that needs to be processed. For Example, one type of job would be a simple file copy. So in the XML file there would be (among other bits of information about the job) things like JobTypeCopyFiles/JobType