Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 21st, 2017
70
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
class Test(object):
mylist = []
def __init__(self):
self.mylist.append("Hello")
first_test = Test()
second_test = Test()
print first_test.mylist
>> ['Hello', 'Hello']
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
Bash | 58 sec ago | 1.06 KB
RequestException: error with request [Errno 1...
Python | 1 min ago | 2.88 KB
take_out_the_trash
Python | 9 min ago | 2.59 KB
bin_metadata
Python | 9 min ago | 2.14 KB
requirements main_env
Bash | 11 min ago | 0.83 KB
HFM Launches Gadget Giveaway Trading Contest
PHP | 12 min ago | 1.25 KB
Python - sorting visualize
Python | 14 min ago | 0.99 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 31 min ago | 0.39 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!