Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 22nd, 2017
71
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
import inspect
idx = 0
def get_my_code():
global idx
x = "abcd" + str(idx)
return x
code = inspect.getsource(get_my_code)
print(code)
exec(code)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Router CVLC dual wan
TypoScript | 2 min ago | 8.15 KB
Untitled
Java | 11 min ago | 6.01 KB
Untitled
Java | 11 min ago | 1.06 KB
Untitled
Java | 12 min ago | 1.34 KB
Help for Dan
C++ | 12 min ago | 1.10 KB
Untitled
XML | 12 min ago | 1.97 KB
Untitled
XML | 13 min ago | 2.12 KB
Untitled
XML | 13 min ago | 17.00 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!