Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorter import statement proposal #2386

Open
cfsok opened this issue Sep 1, 2024 · 0 comments
Open

Shorter import statement proposal #2386

cfsok opened this issue Sep 1, 2024 · 0 comments
Labels
state: pending not addressed yet

Comments

@cfsok
Copy link

cfsok commented Sep 1, 2024

The "official" way to import DearPyGui is:

import dearpygui.dearpygui as dpg

This could be changed to:

import dearpygui as dpg

if the following is added to __init__.py:

from .dearpygui import *
@cfsok cfsok added the state: pending not addressed yet label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: pending not addressed yet
1 participant