Re: [Tutor] Help with checking for a data type

2008-09-04 Thread Spencer Parker
Those worked for me...thanks again!!! On Thu, Sep 4, 2008 at 3:26 PM, Kent Johnson <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 4:56 PM, Spencer Parker <[EMAIL PROTECTED]> > wrote: > > I have a script that is taking a directory list, the script then splits > the > > name up by the hyphens

Re: [Tutor] Help with checking for a data type

2008-09-04 Thread Kent Johnson
On Thu, Sep 4, 2008 at 4:56 PM, Spencer Parker <[EMAIL PROTECTED]> wrote: > 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 it

Re: [Tutor] Help with checking for a data type

2008-09-04 Thread christopher . henk
uot;] for entry in inputValue: postData(entry) "Spencer Parker" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/04/2008 04:56 PM To tutor@python.org cc Subject [Tutor] Help with checking for a data type I have a script that is taking a directory list, the script then spli

[Tutor] Help with checking for a data type

2008-09-04 Thread Spencer Parker
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 dataif not discard? -- Spencer Parker __