Perl chop equivalent in Python?

pem at my-deja.com pem at my-deja.com
Wed May 31 14:21:40 EDT 2000


Is there an equivalent command to chop (the perl command) in Python?  If
not, is there some easy way to use existing commands to do this simple
task?  I need to do it frequently and would like to have a readily
available command that does not require much programming.  Thanks in
advance.

Cheers,

Patrick


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list