I want to automate a series of functions in python that trigger when
the OSX application Garagband finishes writing to a file called
"todays_recording.mp3".
A Typical transcode process takes 20 minutes , and I fancy starting
the python program immediately after I start the transcode and then
walki
thing I am doing is dir1 and dir2 will each have a
script1.sh . But that still makes it mutually exclusive paths.
Hari
On Dec 30, 5:34 pm, "Thomas L. Shinnick" wrote:
> At 03:46 PM 12/30/2010, harijay wrote:
>
> >Hi,
> >I am writing some multithreaded code
e will be greatly
appreciated.
Thanks
hari
The orchestrator class is at:
https://github.com/harijay/auriga/blob/master/process_multi.py
A sample thread subclass is at :
https://github.com/harijay/auriga/blob/master/scatomtzrunthread.py
Detailed error:
Exception in thread Thread-1:
Traceback
Thanks Tim for your reply. I did get that build .
Also thanks for the examples. Looking forward to using the module
Hari
On Dec 7, 3:22 pm, Tim Golden wrote:
> You want something from here:
>
> http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/
>
> Which one you need will depe
orresponds to the latest build ( same time stamp as the link labeled
"Download Binaries / View all Files")
There was an exe file corresponding to my python version.
Which came with an installer that installed the binaries
Thanks for your help I looked in the right place.
Hari
On Dec
Using the "binary" offered on sourceforge and calling
"python setup.py install"
Has the install asking for "vcsvarsall.bat" . So this does not seem to
be a binary build
On Dec 7, 1:27 pm, Ian wrote:
> On Dec 7, 11:02 am, harijay wrote:
>
>
>
>
Hi I am using Python 2.6.5 on Windows.
I wanted to start using the win32com extensions which I understand are
"essentially part of the stdlib" ( quoted in
http://tgolden.sc.sabren.com/python/win32_how_do_i.html)
Since I didnt have the extensions as standard I went to sourceforge
to get the module
Thanks a tonne..That code works perfectly and also shows me how to
think of using queue and threads in my python programs
Hari
On Jul 27, 1:26 pm, MRAB wrote:
> harijay wrote:
> > I want to quickly bzip2 compress several hundred gigabytes of data
> > using my 8 core , 16 GB
I want to quickly bzip2 compress several hundred gigabytes of data
using my 8 core , 16 GB ram workstation.
Currently I am using a simple python script to compress a whole
directory tree using bzip2 and a system call coupled to an os.walk
call.
I see that the bzip2 only uses a single cpu while the
t; %(options.symm,cellparams)
import subprocess
f2mtzargs = ["f2mtz hklin %s hklout %s" %
(options.phs,options.mtzfile),"< wrote:
> On Thu, 2009-03-26 at 15:23 -0700, harijay wrote:
> > Hi
> > I want to run shell scripts of the following kind from inside python
Hi
I want to run shell scripts of the following kind from inside python
and for some reason either the os.system or the subprocess.call ways
are not working for me .
I am calling a fortran command (f2mtz ) with some keyworded input that
is normally piped (<<) in.
The section of code that deals wi
now in my working code
(element1,) = struct.unpack(" wrote:
> "harijay" wrote in message
>
> news:4c7d58a1-830f-4f02-ba07-aa4910f5f...@b16g2000yqb.googlegroups.com...
>
>
>
> > In my last post I had asked about reading data from a binary file
> > usin
In my last post I had asked about reading data from a binary file
using the struct module.
Thanks to some excellent help , I have managed to read in
successfully
most of the header of this binary format that I want to parse. These
are some time-voltage traces from a digital
to analog converter for
myval1.append(line[0])
myval2.append(line[1])
myval3.append(line[2])
etc etc . The csv module defines a dialect excel_tab. Each line is
then parsed into an array . You can insert that array into another
array and have an array line mydata = [ [line1],[line2] ...]
Hopw this helps
harijay
Hi I am very confused with the use of the struct module to read binary
data from a file.
( I have only worked with ascii files so far)
I have a file spec for a Data-logger (http://www.dataq.com/support/
techinfo/ff.htm)
I am collecting some voltage , time traces on one channel and they are
writte
am always amazed at how helpful everyone on this group is
Hari
On Nov 21, 5:12 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Nov 22, 8:46 am, harijay <[EMAIL PROTECTED]> wrote:
>
> > Hi
> > I am a few months new into python. I have used regexps before in perl
>
t given below
Thanks for your help
Harijay
PyMate r8111 running Python 2.5.1 (/usr/bin/python)
>>> testdigit.py
Matched I have 2004 rupees
Matched I have 3324234 and more
Matched As 3233
Matched 2323423414 is good
Matched dc sav 2412441 asdf
SKIPPED random1341also and also
SKIPP
p://www.nongnu.org/fab/documentation.html>
>
> --R
ALso please look at the pexpect module. This allows you to supply
"human" input to automate scripts that require it.
Look at http://www.noah.org/wiki/Pexpect#Description_of_Pexpect
Hope this helps
Harijay
--
http://mail.python.org/mailman/listinfo/python-list
grateful
to everyone for their time .
harijay
On Oct 9, 12:07 pm, "Jerry Hill" <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 9, 2008 at 11:43 AM, harijay <[EMAIL PROTECTED]> wrote:
> > Hi I am new to writing module and object oriented python code. I am
> > trying to
h
Now I have the variable master name setnameinchild and master.trash hj
On Oct 9, 11:54 am, [EMAIL PROTECTED] wrote:
> On 9 Ott, 17:43, harijay <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi I am new to writing module and object oriented python code. I am
> > trying t
rame my question.
I am pasting the code contained in the three files and the error
message here
Thanks for your help
harijay
The detailed error I get is
hazel:tmp hari$ python runner.py
Traceback (most recent call last):
File "runner.py", line 3, in
import child
File "/
21 matches
Mail list logo