Import errors in effect_xxx.py files #67
Unanswered
medicalneil-lang
asked this question in
Q&A
Replies: 1 comment
-
|
Are you getting a runtime error? Some common modules are up-imported to the package level for simplicity. This makes effect writing a bit easier as you don't have to remember where all of these modules live in the overall package. https://github.com/ChrisBuilds/terminaltexteffects/blob/main/terminaltexteffects/__init__.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For example, in effect_decypt.py:
from terminaltexteffects import Color, ColorPair, EffectCharacter, EventHandler, Gradient, Scene
Instead, it should be the way like: from terminaltexteffects.utils.graphics import Color, Gradient ......
Are those mistakes? Or I misunderstood?
Beta Was this translation helpful? Give feedback.
All reactions