• Ivoah

    I followed your instructions, but it still doesn't work. When trying to import aiohttp it fails in the __init__.py file. It looks like it tries to import other parts of the library with from .<something> import *, but it isn't working. The exact message it gives is name 'client' is not defined. Pythonista says the error is on line 38, but I think it's actually line 29.

    posted in Pythonista read more
  • Ivoah

    Has anyone made any progress on this? I've been trying for the last hour to get discord.py working on the latest Pythonista beta (3.1.1), but haven't had much luck. Currently I'm stuck on getting aiohttp to work. A little bit of googling shows that at one point pythonista beta had aiohttp built in (https://forum.omz-software.com/topic/4456/ui-and-aiohttp), but that doesn't seem to be the case anymore. I was able to install aiohttp using pip from stash, but it seems the imports are messed up, with python complaining about not being able to find parts of the library.

    posted in Pythonista read more
  • Ivoah

    Bumpity bump. I've added quite a few features since my last post, including image caching, searching comics, share sheet, and directly opening explainxkcd.com. I think it can actually compete with other xkcd viewer apps now :D You can find it in pythonista tools under the "Fun" category.

    posted in Pythonista read more
  • Ivoah

    I spent part of today messing with the UI module, and ended up making an XKCD comic viewer. I may add more features to this in the future, but for now I'm calling it done. You can install it for yourself using the excellent Pythonista Tools, or download it from my GitHub repo

    Comments and suggestions are welcome :)

    posted in Pythonista read more
  • Ivoah

    could you add me? My email is <deleted>.

    posted in Pythonista read more
  • Ivoah

    Just using print('blah') worked for me. Your simple example also worked. Are you sure you set the right script in Pythonista's settings?

    posted in Pythonista read more
  • Ivoah

    @Tizzy said:

    Is there a way to print out how much memory your script is using?

    You might want to take a look at the resource module

    posted in Pythonista read more
  • Ivoah

    I just messed around with the new beta, and the today widget is great! I also love the new icon, I wasn't a fan of using the python logo, and really like that you switched back to the old style. As a quick test I changed the calculator example to run from the today widget and it worked fine, so that's nice :) one suggestion I have is the ability to remove the play button from the widget. It takes up the entire column, and makes the view not be centered.

    posted in Pythonista read more
  • Ivoah

    I ran into this issue when making an ascii movie viewer, and I resorted to using a scene view, and plastering my text there.

    posted in Pythonista read more
  • Ivoah

    If you don't want the board, I know someone who might *coughmyselfcough* ;)

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!