Re: [Tutor] Automating operations... os module, mysql operations, more...

2007-11-01 Thread Jeff Younker
On Nov 1, 2007, at 12:15 PM, John wrote: 1) Maintain a mysql database which contains information, as well as 'control' variables, pointers to directories, etc. for various shell scripts / fortran code. ->pyMySQL Look at an object relational mapper like SQLObject or SQLAlchemy. They make

Re: [Tutor] Automating operations... os module, mysql operations, more...

2007-11-01 Thread John
> > > > > > 2) Query various servers to see if there is 'idyl' time/resources... > > send a job to the server if it's available... > > > > This and 3 can be helped out with ipython > > > > > 3) Use python to check the file system for existing files (glob?) , > > decide which 'jobs' need to be run,

Re: [Tutor] Automating operations... os module, mysql operations, more...

2007-11-01 Thread Michael Langford
> > 1) Maintain a mysql database which contains information, as well as > 'control' variables, pointers to directories, etc. for various shell > scripts / fortran code. ->pyMySQL > You're on the right track > 2) Query various servers to see if there is 'idyl' time/resources... send > a job to t

[Tutor] Automating operations... os module, mysql operations, more...

2007-11-01 Thread John
I should begin by explaining I am not a sysadmin, I'm merely one trying to use the right tool for the right job, and for my job I believe Python to be that tool. Here is an outline of what I wish to accomplish, pointers to modules, tools of interest, etc. would be greatly appreciated... Below each