On Wed, 29 Sep 2010 06:12:20 am Shashwat Anand wrote: > On Wed, Sep 29, 2010 at 1:33 AM, Corey Richardson <kb1...@aim.com> wrote: > > Hello tutors. > > > > I hate doing this: > > string = string.lower() > > > > Is there a way to do it without the "string =" part? Thanks. > > 1. string is a module which is deprecated. You should probably use > str or s in your example.
Actually, in this case Corey is not using the string module, but is using string as the name of a variable. -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor