A framework/library written with and for Python.
EggEngine comes with 7 Python modules ready to use!
data
debug
encrypt
files
image
module
turtl
ui
(experimental)
This will install Python modules (or dependencies) that are required to allow all features of EggEngine to work as intended.
- Create a new Python file, you can name it anything you want.
- Copy the folder
EggEngine
into the same diredctory. - In the Python file, add the following line:
from EggEngine import module
- Or (not recommended) alternative:
import EggEngine.module
- Next, add these line:
module.dependencies()
- If you used the alternative, add this line:
EggEngine.module.dependencies()
- You're ready to use EggEngine!
Obviously, the first step would be to download the repository or from the latest release. Then, follow these steps:
- Copy the folder
EggEngine
into your project folder. - In your Python file(s), add the following line:
from EggEngine import <module you want to use>
- For example, if I want to use the
data
module fromEggEngine
, I would add this line of code:
from EggEngine import data
- When calling functions, this is what it would look like:
data.function()
- Another (not recommended) alternative:
import EggEngine.<module you want to use>
- Following my example from earlier, this is what it would look like:
import EggEngine.data
- The downside to this import statement is when calling functions, you must type out the parent module, then the module, and finally the function like this:
EggEngine.data.function()
- Now you're ready to start using EggEngine in your project!