Re: newbe question about removing items from one file to another file

2006-08-27 Thread PetDragon
Sounds like you need to use html parser, check it out in the 
documentation



<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> def simplecsdtoorc(filename):
>file = open(filename,"r")
>alllines = file.read_until("")
>pattern1 = re.compile("orcfilename = filename[-3:] + "orc"
>for line in alllines:
>if not pattern1
> print >>orcfilename, line
>
> I am pretty sure my code isn't close to what I want.  I need to be able
> to skip html like commands from  to  and to key on
> another word in adition to  to end the routine
>
> I was also looking at se 2.2 beta but didn't see any easy way to use it
> for this or for that matter search and replace where I could just add
> it as a menu item and not worry about it.
>
> thanks for any help in advance
> 


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


Re: Firewire comms using Python?

2006-08-28 Thread PetDragon
yeah man no joy there

"Simon Forman" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Fraggle69 wrote:
>> Hi,
>> Does anyone have any idea of how I can use Python to get images from my
>> firewire camera??
>> I am using python under winXP pro
>>
>> Cheers
>> Fraggle
>
> Have you tried google?
>
> Peace,
> ~Simon
> 


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