converting types
Ludovic Fotin
ludovic_nospam_ at fotin.net
Sun May 12 18:07:13 EDT 2002
More information about the Python-list mailing list
Sun May 12 18:07:13 EDT 2002
- Previous message (by thread): converting types
- Next message (by thread): The vault and XP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> hi i know its a pain answering newbie questions > that to you lot seem really simple No matter i'm a newbie too !!! > num = "list is " + number + " long" try this : number = len(list) num = "list is %s long" % number print num Look in the man the fonction with %. There is different use. %s (numeric) %d (string) etc... Bye Ludo
- Previous message (by thread): converting types
- Next message (by thread): The vault and XP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list