• oefe186

    It should be in Reverse domain name notation. Do you own a domain? Then it's easy: just revert the order of the parts of the domain, than tack on a component that is specific for your app. E.g. If you would own example.com, you could use com.example.myapp for your app named "My App".

    If you don't have a domain, you wouldn't be able to submit the app to the App Store. But for your own personal use, the identifier should not matter much, as long as it is unique. I would probably use com.example.<my name>.<my app>

    posted in Pythonista read more
  • oefe186

    @TheWizza, these manual steps are unnecessary.

    Using stash,

    pip install module_name
    

    is all you need. Pip does the searching, downloading and unzipping for you.

    Pip can also search for modules (if you don't know the exact name), update modules, install a specific version, and more. as with any stash command, you can use

    pip -h
    

    or

    man pip
    

    to learn about pip's capabilities.

    posted in Pythonista read more
  • oefe186

    @brumm works for me. Probably you edited bin/find.py by accident. The original is 147 lines long, but the error message refers to line 148..,

    posted in Pythonista read more
  • oefe186

    To download a single file, use wget. Use the -o option to specify the destination file name, otherwise it will download to the clipboard:

    wget http://www.example.com/path/to/file -o file.py
    
    

    posted in Pythonista read more
  • oefe186

    Cool!

    At First, I was wondering which of the .py files to use for the action menu (it's chooseicon.py). Maybe you should add this to the readme.

    posted in Pythonista read more
  • oefe186

    @Des: I had exactly the same problem, see above. Just force-quit and restart Pythonista

    posted in Pythonista read more
  • oefe186

    Item 1 might be a Pythonista issue. Seems that it gets confused if you update code outside of the editor

    Item 2 works now like a charm. Thanks!

    posted in Pythonista read more
  • oefe186

    Hi Jon,

    Very cool! Finally I can review my changes before committing them!

    I noticed a couple of bugs:

    • the first time I tried to run it (after running install_gitview), it failed with an ImportError for the drop down module. Had to restart Pythonista to get it working
    • when trying to push something (to my github repo) it prompts for credentials and Pythonista freezes.

    posted in Pythonista read more
  • oefe186

    iPad 4th generation, Pythonista 1.5: 23446.4 pystones/second

    posted in Pythonista read more
  • oefe186

    Another app might not be able to read Pythonista's keychain, but any script within Pythonista can.

    So if you download and run untrusted scripts, and have valuable passwords in Pythonista, it might be a good idea to use a master password.

    posted in Pythonista read more
  • oefe186

    As many as you like.

    posted in Pythonista read more
  • oefe186

    That's not quite true. Python 2.7 will be supported until 2020. See PEP 373

    Nevertheless I would also like to see Python 3 support in Pythonista. Python 2 is in maintenance mode, Python 3 is where the cool new things are being developed.

    I wouldn't mind paying anew for Pythonista 3. If it were possible to have both interpreters in one version, this would be even better, of course. To decide which interpreter to use, it could use the shebang line, if present, else a user preference.

    posted in Pythonista read more
  • oefe186

    Apple's rules require that the library is statically linked, so LGPL code is off limits for Pythonista.

    posted in Pythonista read more
  • oefe186

    Hi,

    I noticed that the UserList and UserString modules are missing in Pythonista 1.3. UserDict, however, is present:

    import UserDict
    import UserList
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named UserList

    import UserString
    Traceback (most recent call last):
    File "<string>", line 1, in <module>
    ImportError: No module named UserString

    These modules are deprecated, but 3rd party libraries might use them. As a workaround, just replace the UserList.UserList class with list, and UserString.UserString with string,

    posted in Pythonista read more
  • oefe186

    Improved / cleaned up syntax, better string handling (no string vs. unicode, and a separate bytes type for binary data), views and iterators instead of lists in many places, integer types cleaned up, standard library cleaned up... You get the idea.

    All this clean up not only means that the language is easier to learn, it also makes future development of the language easier, as the developer don't have to bother with legacy stuff anymore.

    posted in Pythonista read more
  • oefe186

    Python 3 is the better language, however many libraries and tools are still not compatible with it. Fortunately it seems to get traction now.

    posted in Pythonista read more
  • oefe186

    Sorry, I must have truncated the link somehow. Here is the correct link:

    http://omz-software.com/pythonista/forums/discussion/128/threading-module-crashes-the-app/p1

    posted in Pythonista read more
  • oefe186

    For the crash, maybe it's the problem described here:
    http://omz-software.com/pythonista/forums/discussion/comment/

    For the other problem, can you post a complete example?

    posted in Pythonista read more
  • oefe186

    Just join all your threads before you end the script:

    threads = [ThreadClass() for i in range(3)]
    for t in threads:
    t.start()
    for t in threads:
    t.join()

    posted in Pythonista read more
  • oefe186

    Unfortunately, youn cant do that, Pythonista doesn't provide access to iOS APIs like Core MIDI.

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!