jkjkil4 / JAnim

a library for simple animation effects
https://janim.rtfd.io
MIT License
65 stars 3 forks source link

How about using "from janim import" instead? #1

Closed Samuelhzx closed 3 months ago

Samuelhzx commented 3 months ago

by adding imports in __init__.py, we can use from janim import * instead of from janim.imports import *. We can move the code in imports.py into __init__.py, or simply add from janim.imports import * to __init__.py, like this: and it works: it works ——manim群友Samuelhzx

jkjkil4 commented 3 months ago

If you just want to import a part of janim, put imports into __init__.py could result in a huge overhead, so I put them into imports.py instead.