<reponame>DelftStack/DelftStack
#!/usr/bin
# -*- coding: utf-8 -*-
"""
DelftStack Python Tkinter Tutorial

Author: <NAME>
URL: https://www.delftstack.com/tutorial/python-3-basic-tutorial/namescape-and-scope/
Website: https://www.delftstack.com
"""

x = 1
y = 2
stringX = "String X"

def globalTest():
    for (key, value) in globals().items():
        print("{} - {}".format(key, value))
    
globalTest()
#!/usr/bin
# -*- coding: utf-8 -*-
"""
DelftStack Python Tkinter Tutorial

Author: <NAME>
URL: https://www.delftstack.com/tutorial/python-3-basic-tutorial/namescape-and-scope/
Website: https://www.delftstack.com
"""

x = 1
y = 2
stringX = "String X"

def globalTest():
    for (key, value) in globals().items():
        print("{} - {}".format(key, value))
    
globalTest()
#!/usr/bin # -*- coding: utf-8 -*- DelftStack Python Tkinter Tutorial  Author: <NAME> URL: https://www.delftstack.com/tutorial/python-3-basic-tutorial/namescape-and-scope/ Website: https://www.delftstack.com