Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Is it possible?
'''
Файл: test1.py
'''
text = input('Введите текст: ')
'''
Файл: test2.py
'''
from test1.py import text
'''
Файл: test2.py
'''
from test1.py import text
print(text) # Вывод содержимого
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question