Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c1839f593b
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (10 sloc) 0.289 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
from pickle import dump

class Conference(object):
    def __init__(self, name):
        self.name = name
    def capitalize(self):
        return self.name.capitalize()

if __name__ == '__main__':
    pycon = Conference('pycon')
    f = open('data.pck', 'wb')
    s = dump(pycon, f)
    
Something went wrong with that request. Please try again.