LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Python strip "]" from string

[ILUG] Python strip "]" from string

ollie at eillo.org ollie at eillo.org
Wed Oct 8 10:39:07 IST 2008


Hello Everyone,
               Thanks for the help. Apparently theres an evil bit of whitespace at the end that string. 

Technically using strip() wasnt incorrect as the bracket seemed to be at the end of the string.

Conveniently i have two books on python, both of which are on the other side of the country, where
i left them when i stopped using python.

Anyway i expected it to be something stupid but i preferred to ask and risk looking stupid than spend three 
days banging my head on a wall.

Thanks again everyone.

- Ollie



On Wed, 8 Oct 2008 10:02:34 +0100, "Nick Murtagh" <nickmurtagh at gmail.com> wrote:
> 2008/10/8 Francis Daly <francisdaly at gmail.com>:
>> There's usually a fine manual somewhere to describe what the functions
>> really do. If there's a broken manual out there, it would be good to
>> get it fixed.
> 
> http://docs.python.org/library/stdtypes.html#id4
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell