Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c1839f593b
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.316 kB
from pickle import load
class Conference(object):
def __init__(self, name, year):
self.name = name
self.year = year
def title(self):
return self.name.capitalize()
if __name__ == '__main__':
f = open('data.pck', 'rb')
pycon = load(f)
print pycon.title(), pycon.year
Jump to Line
Something went wrong with that request. Please try again.