to overcome type error?
Posted
by kaushik
on Stack Overflow
See other posts from Stack Overflow
or by kaushik
Published on 2010-06-11T05:24:13Z
Indexed on
2010/06/11
5:32 UTC
Read the original article
Hit count: 241
python
i have a file of this format:
3.334 1
2.345 1
1.453 1
3.343 1
and so on
but in middle at times in file there are few number which are not in float format and i receive type msg when i run them performation some operation..
I want to give a condition that:
if(not in float format):
continue
else:
perform operation
please tell me how to put the condtion
© Stack Overflow or respective owner