-
import cudatext as app
if os.path.isfile(path):
app.file_open(path)
app.app_idle(True)
ed #None... ??? In API wiki:
but my |
Beta Was this translation helpful? Give feedback.
Answered by
Alexey-T
Sep 22, 2024
Replies: 2 comments 4 replies
-
Try
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jackusay
-
```py
import cudatext as app
import cudax_lib as apx
ed = apx.get_tab_by_id(tab_id) #possible None
if os.path.isfile(path):
app.file_open(path)
app.app_idle(True)
ed #None |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
app.ed
.ed
cannot be None if you import it fromcudatext
.