Pandas would be very useful.
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.
Best posts made by ihf
-
Request for an App
I am in need of an app which can find the area of a space that is represented by a jpeg where at least one measurement is known. For example, I have a floor plan of an apt that purports to be a certain area. The floor plan has room sizes shown. I want to be able to simply enter one measurement to get the scale ratio and then trace the plan to find the area. This is easy to do using a program such as Adobe Acrobat Pro on a desktop but I have not seen anything similar for IOS (or Android). If someone knows of such a program, please let me know. It seems as if this should not be overly difficult to do using Pythonista and I could make it my project to write it but I fear that may take awhile given my (rusty) python skills not to mention the UI using Pythonista. If someone has the time and inclination, I (and I think others) would be most grateful for such an app/script.
-
RE: Outliner with drag/drop reordering - part 2
@cvp Using a UI would be very nice but I would settle for the console. Python comes on the Mac but since it is OSX (and not iOS) you can pretty much install any Python distribution you like. I use Anaconda.
-
RE: Pythonista on Android
With the advantage that there would be no restrictions on the libraries that could be ported :-) I would guess that @omz has his hands full with IOS but it would be great if someone would develop an IDE for Android. SL4A makes it easy to run python 2.7 or 3 but I have not seen an IDE that runs under Android.
-
Question about the forum software
The profile settings has a setting for receiving email for topics to which you are subscribed. I have Watch turned on for a few threads but have never received an email. I get a sound if I have the browser open and a tab to the thread but no notification otherwise. Am I missing something or does this function not work?
-
RE: Outliner with drag/drop reordering - part 2
@cvp I am glad to see that you are maintaining a sense of humor. (or at least I hope you are).
-
RE: Outliner with drag/drop reordering
@cvp Good question. On the Notebook app that I've mentioned earlier, if you move to under the 2.0 it becomes 3.0 but if you move to under the b (in 2.0) then it becomes 2.1. So it is sensitive to whether the location is indented or not.
-
Outliner with drag/drop reordering
I am looking for an outliner tool (app) that would permit me to create an outline using either the Roman numeral (I. A. a., ii. ) or numeric format (1. 1.1 1.11 1.111). and that would support drag and drop reordering of items. I have searched unsuccessfully for such an app. I think this ought to be possible with Pythonista but I am not skilled enough to do that. Has anyone done this with Pythonista or seen an app to do this?
-
RE: New Beta for Pythonista 3.3
Some Apple Watch support would be a great addition and (as has been said) would help fill the void that Apple created when they replaced Workflow with Shortcuts.
-
What's in the works for Pythonista?
@omz Can you share with us what you are working on for future releases of Pythonista?
-
RE: Windows SQLite Database File Into Pythonista 3?
Or you can use OMZ's script: https://gist.github.com/omz/1aec8a66a5d5d19a36ab
-
RE: Windows SQLite Database File Into Pythonista 3?
Another option if you don't want to use Dropbox is ftp. You can use stash to pip install pyftpdlib and then follow the example here: https://pypi.python.org/pypi/pyftpdlib/
I just tested it with transferring an sqlite file and then opening it in Pythonista and it worked fine. -
RE: Request for an App
@JonB That would be great. In the meantime, I shall try to gain a better understanding of the script.
-
RE: Request for an App
@JonB I added the (primitive) file picker snippet to your script to enable selecting an image from the photo gallery. The modified version is in my git as floorplanarea-2.py. I wish I could say I understood your code well enough to make more than trivial changes (e.g. scale setting mode with feet/inches, a way to save the image with the area calculation, etc.) but I sincerely appreciate the work you have already done.
-
RE: Request for an App
@JonB I added floorplanarea-4 to the git repository with a file picker to select an image from the photo gallery and a slider for the scale setting. I tried to get the code to work in the RoomAreaView function but resorted to using a temporary file and calling the script with that file. In using the script, I also realize that a slider is fine except that the initial setting of the scale must be done with a known distance (e.g., a room width) but that measurement may not be part of the area calculation (e.g., it may be an interior room). So, a better way to set scale might be to do that explicitly (tap a button, select 2 pts with a known distance and enter that measurement in feet/inches) and then go on to mark the area to be computed.
I will say that this is already a useful script as I can now simply save a floor plan to the photo gallery and open it with the script and measure areas. Thank you for your expert assistance.
-
RE: Apple Mail Objc_Util
Presumably you could also construct the email and send it using smtplib without ever invoking the mail app.
-
RE: Request for an App
@TutorialDoctor Unless I am mistaken, the doc shows how to compute area of a figure you have drawn in the app. Perhaps there is a way to import a JPEG and draw on it, but I didn't see that. Yes, my requirement is fairly specific but, I think, not unique. People often publish a floor plan as part of a house or apartment listing and assert that the area is x when in fact a measurement of the plan (or the space itself) shows otherwise.