
-
ccc
reportlab
v3.1.8 is already built into Pythonista. You do not need to install it and you cannot upgrade it.>>> import reportlab >>> reportlab.Version # '3.1.8'
https://pypi.org/project/reportlab is v3.5.59 but there is no way to modify the current Pythonista to use that version.
-
ccc
For this use case, you might get a bit further with https://pyto.app than with Pythonista.
-
ccc
try: S.exitonclick() except AttributeError: pass # Workaround for Pythonista
-
ccc
Hey Jay,
You might start with a bare-bones example like TicTacToe at https://github.com/tjferry14/Pythonista-UI-Games
Clicking the squares is already done for you so you can focus on 1. viewing note, 2. editing note, 3. changing value.
-
-
ccc
def main(): global main_view main_view = MyView() main_view.present('fullscreen', hide_title_bar=False) if __name__ == '__main__': main() # Could be simplified as... MyView().present()
-
ccc
I was directed to use spaces instead of tabs
That is always a good idea in Python.