[Tutor] Help with checking for a data type

Spencer Parker inthefridge at gmail.com
Thu Sep 4 22:56:32 CEST 2008


I have a script that is taking a directory list, the script then splits the
name up by the hyphens in the name.  The first part of the name should be a
number, but it isn't always a number.  Is there a way to say: if its a
number then post this data....if not discard?

-- 
Spencer Parker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080904/3475083d/attachment.htm>


More information about the Tutor mailing list