Suppose that each folder / package already has its respective init .py
If I have this composition:
-Carpeta Padre
| archivo1.py
|
| Carpeta Hija
| |
|archivo2.py
| |_____________
|
|____________________
I would like to import from file2.py the things from file1.py, obviously when I do from Folderpadre import file1.py it does not work.
If it's not too much trouble they could explain to me what the "." and ".." because I've seen in some places that they make from .. import Xcosa, I tried it and it did not work either. Use python 2.7
Thank you very much