How to handle video & alpha channel

2005-09-02 Thread Mic
I'm looking for a way to build a little player  (if possibile with 
python ) that could handle common video file formats  (mpeg or other) 
with above an image with alpha channel (png or other)

Is there a way to make this with python and available libs (PIL etc)?


TIA
MB
-- 
http://mail.python.org/mailman/listinfo/python-list


String.Template Source ...

2009-05-08 Thread Mic Pringle
Hi,

I'd like to have a 'dig around' in the source for String.Template, but
can't seem to find where it lives.

Could someone please let me know where about's in the source (perhaps
a path?) the template functions live ?

I'm working on a Mac, using Leopard and the bundled version of Python.

Thanks

-Mic
--
http://mail.python.org/mailman/listinfo/python-list


Re: String.Template Source ...

2009-05-08 Thread Mic Pringle
Brilliant, thanks Peter.

-Mic

2009/5/8 Peter Otten <[email protected]>:
> Mic Pringle wrote:
>
>> I'd like to have a 'dig around' in the source for String.Template, but
>> can't seem to find where it lives.
>
> I assume that you mean string.Template.
>
>> Could someone please let me know where about's in the source (perhaps
>> a path?) the template functions live ?
>>
>> I'm working on a Mac, using Leopard and the bundled version of Python.
>
> Import the module and inspect its __file__ attribute:
>
>>>> import string
>>>> string.__file__
> '/usr/lib/python2.6/string.pyc'
>
> This means that the string module's path is /usr/lib/python2.6/string.py
> over here.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list