In Python
you can access the contents of other files like as if they
are some kind of a library, compared to other languages like java or any
oop base languages , This is really cool ;
This makes accessing the contents of the file or import it to to process
it or to do anything with it ;
And that is the Main reason why Python
is highly preferred Language for
Data Science and Machine Learning etc. ;
And this is the picture of project structure
Where I am accessing variables from .env file
where the API links
and
Secret keys reside .
General Structure:
from <File-Name> import *