• Zoot

    @cvp Yeah, that might be good enough as a general solution these days. Just doesn't work on my crusty old iPad Air. Oh well.

    posted in Pythonista read more
  • Zoot

    It's awesome to have official 3.3! Best iOS app ever.

    Things I would love to see in the future...

    #1 A dark mode for the built-in documentation so I don't turn to dust when I open it every time.
    #2 Ability to do a split-screen view showing the Console REPL and a documentation viewer at the same time to allow little experimental doodles while reading the manual.
    #3 Python 3.8.x of course. But having only 3.6 is hardly a big limitation at the moment.

    Things like Pandas and scikit-learn (or even TensorFlow/PyTorch as long as we're dreaming) would be cool, but honestly, I'm pretty happy with the libraries and functionality that's there today. I use Pythonista mostly as a portable testbed for standard Python stuff that ends up on another platform rather than either for iOS app development or trying to do on-device-data-science. I find it the perfect companion for reading Python documentation or books.

    Also, I would not be bothered in the least if Python 2.x were dropped completely.

    posted in Pythonista read more
  • Zoot

    Ole wrote: "Here are the App Store release notes I've prepared for Pythonista 3.3. I intend to submit over the weekend, a pre-release version will be on TestFlight as soon as it's finished processing on Apple's servers."

    So the implication seems to be that TF will allow access as a "prerelease" between the time it's submitted and whenever it's (hopefully) approved, but that's purely a guess.

    posted in Pythonista read more
  • Zoot

    Ole just tweeted that he plans to submit 3.3 to the app store over the weekend, with a new Test Flight version also being available at that time too! Release notes shown in his tweet as well.

    Super exciting! Looking forward to official 3.3 next week hopefully!

    Congrats Ole!

    posted in Pythonista read more
  • Zoot

    @Drizzel said:

    def clean(data):
    while data.startswith(' '): data = data[1:]
    while data.endswith(' '): data = data[:-1]
    return data

    Just for fun, a couple comments on this function. As written I think it's going to be safe in all cases, but a subtle point is that if the passed in object starts or ends with a space then a new object is returned, but if neither case is true it returns the original object. Since stings are immutable this won't cause a problem, and the startswith() method will fail if you try to pass it a bytes or bytearray object, but if you had written it slightly differently:

    def clean(data):
         while data[0] == ' ': data = data[1:]
         while data[-1] == ' ': data = data[:-1]
         return data
    

    Then the function would work with something like:

    mylist = list('Hello World')
    stripped_list = clean(mylist)
    

    and since lists are mutable, whether or not you return the same object could affect the program behavior if other references are kept to the original mylist, since changing stripped_list will either also affect mylist or not depending on whether it had leading or trailing elements that were a space.

    posted in Pythonista read more
  • Zoot

    On my 6s+, I can select the new Siri 11.x voices as my en-US voice in settings, but when using the speech.say() in Pythonista, it falls back to the default voice and won’t use the new high quality ones.

    Just curious as to whether this is a device limitation, a general one, or if there’s something I (or Pythonista) could do to get it to work.

    Thanks!

    Z.

    posted in Pythonista read more
  • Zoot

    I use it as a calculator and for trying out stuff while learning more about numpy.

    But the missing piece is pandas for most things I want to play with.
    Having bundled SQL Alchemy with drivers for all common databases would be epic.

    Currently playing with Computable and waiting for it to grow up a bit.

    Yes, we're memory constrained even on the top end iOS devices today when you consider what these tools are generally used for, but there's always next week...

    Z.

    posted in Pythonista read more
  • Zoot

    Definitely anaconda for Windows. It includes everything you would like and is completely free and totally awesome. It comes with Spyder if you want a traditional programming environment IDE, but really these days for calculating or computing or general Python experimenting you should be using the iPython Notebook interface.

    http://ipython.org/notebook.html

    Also take a look at the examples at:

    http://nbviewer.ipython.org/

    to see some of the kinds of computation you can perform using the full SciPy environment using the Notebook system. These days Python as a language is as nothing compared to the power of the whole tool stack traditionally associated with SciPy plus things like SQL Alchemy to get at databases, etc., all of which comes with anaconda.

    Z.

    posted in Pythonista read more
  • Zoot

    I bought Editorial last night and am loving it, and of course have Pythonista and think it's perhaps my favorite iOS app, and am waiting excitedly for 1.5 (which I would happily pay $20 for), but I just ran across this that looks really exciting:

    Computable

    Beautiful looking full SciPy iPython stack (Pandas, matplotlib, etc., etc.) apparently now in beta and expected to be released in July. No idea what it will cost.

    Z.

    posted in Pythonista read more
  • Zoot

    Though I'll be deleting and re-installing when 1.0.1 comes out because I'd like him to have his $10 in support of future enhancements :)

    Z.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!