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.
dialogs module in 1.6, very nice date and time implementation
-
I only seen this today. But in the dialogs.form_dialog, the way @omz has implemented time and date is very nice. Is animated and the right size. Really nice.
Just worth a look
-
Opps, the form name not so good. I use these bad names when testing
-
Haha thanks for sharing. Can't wait for the Appstore release.
-
Was going to say this isn't documented, but then looked inside pythonista itself (1.6b) and it's there. Where can the beta documentation be accessed with a web browse? I guess the docs will just get updated with the 2.0 release though.
-
@Tizzy , to be true full, I am not sure if @omz would have got all the docs updated before submitting 2.0. He may have. But it's a big job. like all major releases I think it will take a while for all the loose ends to be tied up. But I can only imagine omz will have a lot more time to dedicate to the loose ends after being out of beta. All speculation on my part.
But modules like ui, dialogs etc that are written in Python can be found in the standard-library/site-packages/ dir. Can get a better understanding of what's there by looking at the files
-
Where can the beta documentation be accessed with a web browser?
https://github.com/cclauss/Ten-lines-or-less/blob/master/pythonista_docs.py
-
@ccc thanks. That's cool! What I meant was is it available anywhere on the web such that I can access it from my Mac? Also, tried to run that from the simulator in xCode and it doesn't work there fyi. It returns a path behind an executable...such that you can't "show package contents" to get there - it loads a blank page from the simulator.
-
@Tizzy, couldn't you just copy the docs directory to your Mac. Via dropbox or what other methods you use
-
@Tizzy, just copied some code to create a zip file in the root dir. Just modified it to zip the documentation folder. I opened up the zip in ZipExtractor on iOS, it appears all correct.
Maybe useful to you...but read through it first before running itThe zip file created on my ipad was 145.3mb
# coding: utf-8 import os import zipfile # copied from stackflow # http://stackoverflow.com/questions/1855095/how-to-create-a-zip-archive-of-a-directory def zipdir(path, ziph): # ziph is zipfile handle for root, dirs, files in os.walk(path): for file in files: ziph.write(os.path.join(root, file)) if __name__ == '__main__': documents_path = os.path.expanduser('~/Documents') zip_file = os.path.join(documents_path , 'web_help_file_docs.zip') documentation_path = os.path.join(os.path.split(os.__file__)[0], '''../../../Documentation/''' ) print 'Starting Zip....' zipf = zipfile.ZipFile(zip_file, 'w') zipdir(documentation_path, zipf) zipf.close() print 'Zip completed'