Cleaning up repeated whitespaces and newlines

2007-05-01 Thread mobiledreamers

Hi guys i m trying out newline characters and to clean them up
a\n\n\n\n\n\n\n\n\nsss\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvsa\n\n\n\nasf\n\nafs

hello guys

im trying to replace
\n\n\n\n\n\n\n\n\n with \n

thanks for help

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n also with \n as the browser gives \r
carrriage returns

thanks for any help or pointers
-- 
http://mail.python.org/mailman/listinfo/python-list

barcode generation

2007-02-13 Thread mobiledreamers

Hi
I want to generate barcode based on an input which can be numbers or
numbers+alphabets.
How do I do this? Is there any library that will doo this?
thanks
mark
-- 
http://mail.python.org/mailman/listinfo/python-list