Hi,
I am coding a small script to batch-convert flv files. At the core of
it, mencoder is called through
processString='mencoder -oac lavc -ovc lavc -of lavf -lavcopts
aglobal=1:vglobal=1:vcodec=mpeg4:acodec=libfaac:vbitrate=256:abitrate=64
-lavfopts format=mp4 -ofps 15 -vf scale=320:240,harddup
On Mar 9, 1:25 pm, John Deas <[EMAIL PROTECTED]> wrote:
> On Mar 8, 5:47 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
>
>
>
> > poof65 wrote:
> > > For your problem you have to use threads.
>
> > Not at all true. Thread provide one way to solve th
from s and do whatever with the data
> if s is at EOF: close and remove s from openSockets
>
> That's it. Far easier than threads.
>
> Gary Herron
>
> > You can have more information here.
> >http://artfulcode.nfshost.com/files/multi-threading-in-py
Hi,
I would like to write a python script that will download a list of
files (mainly mp3s) from Internet. For this, I thought to use urllib,
with
urlopen("myUrl").read() and then writing the resulting string to a
file
my problem is that I would like to download several files at the time.
As I ha
On Feb 11, 6:51 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > Have you any idea why this is not working on my computer ?
>
> Can you please try the listdir operation with the Python distribution
> from python.org instead ofCygwinPython?
>
> Regards,
> Martin
it works. Thanks.
--
http://mai
On Feb 9, 3:00 am, "Mark Tolonen" <[EMAIL PROTECTED]>
wrote:
> "Chris" <[EMAIL PROTECTED]> wrote in message
>
> news:[EMAIL PROTECTED]
>
>
>
> > On Feb 8, 11:29 am, John Deas <[EMAIL PROTECTED]> wrote:
> >> Hi,
>
> >&g
Hi,
I made a small script to recursively copy files from a directory tree
to an exportDir only if they have an mp3 extension :
a=os.walk(os.getcwd())
for root, dirs, files in a:
for currFile in files:
pathCurrFile=os.path.join(root, currFile)
if mp3Reg.sear
Hi, I am very new to Python (1 evening...)
I need to process a series of files (toto-1.txt toto-2.txt toto-3.txt
toto-4.txt), and as such I created a small program to go through the
files in a directory. I want to call the script with arguments, like
python script.py toto- 1 1 4
my script is as f