Skip to content

Instantly share code, notes, and snippets.

@me2beats
Created September 21, 2019 19:05
Show Gist options
  • Save me2beats/6fe7cb0eac01adb7835090a54b5540b8 to your computer and use it in GitHub Desktop.
Save me2beats/6fe7cb0eac01adb7835090a54b5540b8 to your computer and use it in GitHub Desktop.
Shared
from shared import Shared
Shared.x = 'a'
class Shared:
pass
from shared import Shared
Shared.x = 'main'
import a
print (Shared.x)
from shared import Shared
Shared.x = 'a'
class Shared:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment