omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. Kenbo01

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 37
    • Best 0
    • Controversial 0
    • Groups 0

    Kenbo01

    @Kenbo01

    0
    Reputation
    1307
    Profile views
    37
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    Kenbo01 Unfollow Follow

    Latest posts made by Kenbo01

    • Accessing SQL server from Pythonista

      Has anyone had any success in accessing a MS SQLserver database on same network as IPad?

      I've attempted to use pypyodbc but I think I also need FreeTDS and potentially another driver as well.

      Any ideas or suggestions would be greatly appreciated.

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: DropBox 400 v1_retired!

      Stash is here:

      https://github.com/ywangd/stash

      To install updated version of requests type this in stash command line:

      pip install requests

      And similarly for Dropbox

      pip install dropbox

      If they claim to already be installed, try:

      pip update requests
      pip update dropbox

      Note you will need to kill Pythonista and restart for it to pick up the updated libraries

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: synchronator

      Hi,

      The DropboxSetup.py can also be found in the synchronator Github repo. The quickest way to get it may simply be to copy and paste its raw content into an empty script in Pythonista.

      Note I found that I also needed to use stash/pip to install a new and updated version of requests. The default version installed by Pythonista has a bug that Dropbox hits at runtime.

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: Stop bottle from caching files

      Very strange. Even a hard reset wouldn't resolve the issue.

      However, when I changed the port to a new one. It reloaded all the files and worked!

      posted in Pythonista
      Kenbo01
      Kenbo01
    • Stop bottle from caching files

      Hi,

      I'm using bottle to serve web pages that load javascript libraries, html and css.

      It works fine most of the time. However, when I make modifications to the pages it regularly fails to reload the files.

      Sometimes the caching appears to persist even when I kill Pythonista and restart.

      When starting bottle I am doing so with:

      bottle.TEMPLATES.clear()
      run (host='localhost', port=8088, debug=True, quiet=False)
      

      The debug code clearly shows that it is not reloading the files that I have changed.

      I've tried serving the files with both static and template but it makes no difference.

      I've executed the same code on my PC and it clearly picks up the modified files.

      Is there a way I can stop bottle doing any sort of caching? Or is there some kind of Pythonista bug here?

      My suspicion is that I have a old process of bottle running that refuses to die. I will try a hard reset of my Ipad.

      I'm almost at the point of installing my own version of bottle and hacking the code to stop it from caching.

      All help greatly appreciated!

      Thanks

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: Installing new modules with distutils fails

      I had this issue last night while trying to get Jinja2 working with Pythonista. I succeeded by stubbing out the function in dist tools and getting it to drop out to the default platform.

      So I got Jinja2, unidecode, slugify and nvd3 working.

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: General bug report thread

      I often find Pythonista crashes when I copy text from a web page directly into the editor. Is this a well known bug or should I provide examples?

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: Python 3.x support for the next update?

      No, turtle relies on Tkinter which isn't viable for ios.

      See here:
      https://omz-forums.appspot.com/pythonista/post/5505478058573824

      But, some alternatives here:

      https://gist.github.com/omz/4413863

      https://gist.github.com/dvalentino/5519057

      posted in Pythonista
      Kenbo01
      Kenbo01
    • RE: Packages that people have gotten to work

      xlwt seems to work.

      http://www.python-excel.org/

      Presumably xlrd does as well, but I haven't checked yet.

      posted in Pythonista
      Kenbo01
      Kenbo01
    • Display of tabular data

      My applications need to display a lot of tabular data (metrics, financial info etc.). I currently use bottle and webbrowser to achieve this with HTML and CSS (Python/Pythonista backend).

      If I wanted to display using the new <code>ui</code>, what would be considered "best practice" for cleanly displaying Multi-columnar data in Pythonista?

      I note that TableView is for single columns and that there is no CollectionView yet. Would a WebView be the logical approach?

      posted in Pythonista
      Kenbo01
      Kenbo01