Jul-14-2018, 02:12 PM
Here is a snippet of code from two files:
# FileA.py
import time
def test():
time.sleep(1)
print("Hello")# FileB.py import FileA test()Will this print an error because FileA uses time, but FileB hasn't imported it? Or will it import time by itself?
Self-taught HTML, CSS, Python, and Java programmer
