Skip to content

Instantly share code, notes, and snippets.

@neumino
Created September 9, 2014 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neumino/8f038aaa4d14f094af21 to your computer and use it in GitHub Desktop.
Save neumino/8f038aaa4d14f094af21 to your computer and use it in GitHub Desktop.
from pytz import timezone
import pickle
timezone = timezone('US/Pacific')
print timezone
f = open('test.txt', 'w')
pickle.dump(timezone, f)
f.close()
f = open('test.txt', 'r')
a = pickle.load( f)
print a
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment