Am Sat, 11 Oct 2008 10:46:51 -0700 schrieb [EMAIL PROTECTED]:
> how to acess mplayer with slavemode in python?
Have a look at:
http://developer.berlios.de/projects/lbrc/
the magic is done in LBRC/MPlayer.py there are two variants present - one
utiliasing a FIFO, the other starting mplayer with
Am Fri, 29 Aug 2008 03:35:51 -0700 schrieb mathieu:>
> A = [1,2,3]
> B = [4,5,6]
> for a,b in A,B: # does not work !
> print a,b
>
> It should print:
>
> 1,4
> 2,5
> 3,6
Hey,
zip is your friend:
for a,b in zip(A,B):
print a,b
does what you want. If you deal with big l
Am Mon, 18 Aug 2008 14:33:27 +0200 schrieb David Härdeman:
>
> I'm used from C programming to use setresuid() to change the real,
> effective and saved uid in one go, and although the os module has some
> of the set*uid() functions it doesn't seem to have setresuid().
no - python offers the posix
Am Wed, 28 May 2008 10:41:51 -0700 schrieb davidj411:
> I like the str2num function approach, but then i get left with a float
> that has more than 2 decimal spaces , i.e. 11.50 becomes
> 11.449 and round will not fix that.
Welcome to the wonderful world of floating point numbers. For
Am Sat, 19 Jan 2008 14:14:30 -0800 schrieb snoylr:
> For example if the variable is 105Markum
>
> What statement do I need to create a file name 105Markum.txt?
filename_base = '105Markum'
filename = '%s.txt' % filename_base
f = open(filename, 'w')
f.write(http://mail.python.org/mailman/listinfo/
timsspamaddress wrote:
> I'm currently writing something that will rename and alter the ID tags to
> be more friendly (in Python), but in the process, I'd like to convert from
> Variable Bit Rate to Constant Bit Rate.
>
> Is there a library for doing this, or alternatively, what would be the
> st