Created
September 9, 2014 17:12
-
-
Save neumino/8f038aaa4d14f094af21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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