Notepad/enter/Coding Tips (Classical)/Terminal Tips/2. CLI Tools/Languages/Python/code/Classes.md

13 lines
494 B
Markdown
Raw Normal View History

2023-07-05 18:29:11 +00:00
Using classes to navigate between files in python is a common thing you will be doing. Hence, knowing when to create python classes is important as well as knowing how to use the methods created in the classes file.
---
For example:
```
import Car
```
if you have a `car.py` class file and you are trying to bring that into another `action.py` file.
Learn more about imports in python [here](https://www.codementor.io/@sheena/python-path-virtualenv-import-for-beginners-du107r3o1).