[Tutor] Quick way to find the data type

Bernard Lebel 3dbernard at gmail.com
Tue Sep 27 21:08:21 CEST 2005


Hello,

Let say I have a string. The value of the string might be 'False',
'True', '3', '1.394', or whatever else. Is there a quick way to
convert this string into the appropriate data type other than with
try/except?


Thanks
Bernard


More information about the Tutor mailing list