Найти - Пользователи
Полная версия: Импортирование из папки с __init__
Начало » Python для новичков » Импортирование из папки с __init__
1
Guljaca
Внизу схема папок
Как импортировать из file_3 file_2, если file_3 был запущен из file_1?
Ошибка: No module named ‘file_2’

Folder
___file_1
___Folder_2
_____ __init__
_____ file_2
_____ file_3
DamMercul
 import __init__.file_2
import __init__.file_3
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB