Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Azelphur
May 29th, 2011
574
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
>>> def isnum(v):
... try:
... int(v)
... return True
... except ValueError:
... return False
...
>>> isnum("hi")
False
>>> isnum("123")
True
>>> isnum(123)
True
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
NWZonline – Volltext im Original-Style
3 min ago | 8.55 KB
I got $12,000 from this bug
CSS | 2 hours ago | 0.99 KB
This month smells like money
CSS | 2 hours ago | 0.99 KB
✅ Admin Password
CSS | 2 hours ago | 0.99 KB
dev loader method
CSS | 2 hours ago | 0.99 KB
Module v1.3 - rate calculation bug (repro + w...
CSS | 2 hours ago | 0.99 KB
Free money using older build
CSS | 3 hours ago | 0.99 KB
Bought a $40 MacBook Air
1 day ago | 0.55 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!