Created
August 5, 2014 15:14
-
-
Save jrdmcgr/71d951ac8f03c679f8eb 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
# first import the global | |
from global import myspecialglobal | |
# now import bootstrap which changes the global | |
import bootstrap | |
# what is the value of myspecial global? | |
print myspecialglobal |
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 global import myspecialglobal | |
myspecialglobal = 'bootstrapped' |
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
myspecialglobal = 'uninitialized' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment