• 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
  • Ivoah

    Sorry if this is too off topic, but I figured some people here might be interested in this. (disclaimer: I am not related to this project, I just think it's awesome)
    MicroPython is a tiny python 3 interpreter designed to run on microcontrollers. Recently, the creators ran a Kickstarter campaign to port it to the ESP8266, a wildly popular wifi development chip. The kickstarter was successful, and the code is being made opensource, so even if you didn't back the project, you can still download and compile the code yourself. https://www.kickstarter.com/projects/214379695/micropython-on-the-esp8266-beautifully-easy-iot

    posted in Pythonista read more
  • Ivoah

    Thanks @omz! I've merged your pull request.

    posted in Pythonista read more
  • Ivoah

    Just a reminder that I'm lonely in #pythonista :(

    posted in Pythonista read more
  • Ivoah

    Yeah, I'm pretty sure OS X has the ability to mount an FTP server like a flash drive natively. Anyways, it should be pretty trivial to make an FTP server in Pythonista, using something like this: python ftp server example

    posted in Pythonista read more
  • Ivoah

    @Phuket2 Yep, that's what it's supposed to look like.

    posted in Pythonista read more
  • Ivoah

    I registered the channels #pythonista and ##pythonista on Freenode, so come by and chat.
    @omz if you have IRC I'll turn the channels over to you, just pm me or something.

    posted in Pythonista read more
  • Ivoah

    The first link you posted is a program that requires something to be installed on the computer, where's mine is browser based, just like AirCode. The second just ends up pointing back to the first, so what was the point of them?

    posted in Pythonista read more
  • Ivoah

    The other day I was going to work on a program on my iPad, while sitting next to my laptop. It seemed silly to be writing on an on-screen keyboard when I had a nice keyboard right next to me. Codea has a feature called AirCode, which starts up a web server on the iPad which lets you connect using a computer and write code in a browser and save it to the iPad when you're done. I made something like this using bottle for Pythonista. It doesn't work on my iPad because I have an old version of Pythonista (my iPad can only run iOS 5.1.1), but I have tested it on an iPod with the latest version of Pythonista. If anyone has any suggestions or bug reports, I'd be glad to hear them. Also, if anyone has any idea why it doesn't work on old Pythonista, I'd really appreciate help.

    GitHub project here: https://github.com/Ivoah/WebIDE

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!