• robopu

    thanks ccc. i guess i need to set aside some time to really explore this. i've got other fish to fry now but all in due time.

    posted in Pythonista read more
  • robopu

    @zencuke said:

    @omz Thank you. That will be helpful. I experimented with several gestures but didn't hit on that one. I kept trying to pull it down by grabbing the top edge. Are the supported gestures documented anywhere? There are a few documented in the "Using Pythonista" section. I sometimes have this paranoid feeling that everyone else gets much more from Pythonista because they know all these cool features I never heard of. I need a 4 year old to beat on my iPhone. They try everything and seem to find new gestures faster than anyone else.

    BTW: I haven't told you this lately but Pythonista is the absolutely the coolest app I have ever seen. I tell everyone who will listen how great it is. My next project is to sell my kids on it who are both learning python in other contexts. And the best part is you keep adding cool new features. I was glad that I was finally able to give you a little money by getting Pythonista 3. I would have happily paid ten times that amount.

    zencuke i've been playing around with python a bit the last few months on mac. i've been programming for years. i'm new to pythonista. on the surface it would seem to me that it is basically just the same standard python but on an iOS device with perhaps some interfaces to some of the other apps / services on the device. not that this isn't cool. it is but because i'm new here and your enthusiasm is so high, i'm wondering if you might be more explicit and say specifically what is that is cool so i can personally see the light much quicker vs other contexts i'm currently using and cut to the chase to some functionality i'm probably easily overlooking? :)

    btw, i don't see a pythonista app for the mac in Apps. so my guess is this is only an iOS thing right?

    posted in Pythonista read more
  • robopu

    in ulysses, the md editor allows you to enter line breaks (which get converted to </br> tags in html output) and paragraph breaks (newlines??? which are converted to <p> tags in html output).

    if i take the md text i create in ulysses and import it into editorial via dropbox, the editorial editor recognizes both line and new lines correctly as in ulsysses. BUT if i try to html preview it in editorial, the line breaks are not recognized as </br> tags in the html output and the text wraps where i don't want it to.

    is there any way i can change this behavior?

    also is there a way to display the line break / return characters in the editorial editor?

    the ability to have the linebreaks automatically recognized as br tags in html is very important to me. my use case is i often take one line or sentence in a foreign language (set in bold) and then have the translated version right beneath it (set in normal text). ie. the two lines stay together as a unit. this makes it easy to both type up and read in the editor itself (vs entering pre / code or spans etc which slow down the process and clutter the pure text in the edtior) and also a joy to read the same way if exported to html.

    as it is right now, the html output in editorial wraps which just makes it all look a jumbled mess without perhaps having to edit the md text as html instead of pure md

    PS: i'm not sure if i'm using the terms for linebreak and newline correctly above but i think it's clear what i mean.

    thanks

    posted in Editorial read more
  • robopu

    ah. i didn't realize you had the vars with the snippets. great! thanks

    posted in Editorial read more
  • robopu

    i'm tagging on to this thread just because i'm out here today. i confess i haven't used pythonista as much as i thought i would when i bought it a year ago but i have taken to simply installing python on my mac and doing a ton of scripting there. as a linux guy, i have never done any gui programming with any of the scripting languages i use for many administrative tasks. they're all command-line based.programs.

    but i started thinking that some of the python code i'm writing would be easier to use / more reusable IF i could put a gui on top of it. i want to be able to assign python generated lists / arrays to a multi-select box which allows a user to select multiple items. these items then get assigned back to array so that python can process them.

    when i searched online awhile ago, i didn't find much consensus on using a gui with python let alone for multi-select list boxes. the choices actually seemed pretty primitive (tkinter??).

    so, i'm asking you python gurus what i might use with my mac python to superimpose a gui multi select on top of my script? if my python code can integrate with swift gui to turn it into an ios app so that i can run my code back in pythonista on my iphone with an interface that would be just as cool. or if something in xcode on the mac will allow me to put a gui on top of my python on the mac that's also just as cool. my thought is using some gui component for ios / swift and or mac might be more "slick" vs the primitive tkinters of the world etc.

    thanks to all who might be able to provide a guiding hand

    posted in Pythonista read more
  • robopu

    thanks for the quick reply and turning me on to critical markup which i never heard about!. it does exactly what i want on the display side of things and even more since it has multiple colors!

    BUT it's actually going to be quite impractical in real use on the insertion side in editorial if i have to type those 6 characters around everything i want to highlight. this would be the case even i had an actual keyboard attached. fyi, i do a lot of highlighting in my documents so i need to be able to do this quickly and more importantly easily, especially without a keyboard.

    SO... is there a way to assign a function to an editorial keyboard button or popup menu so that when you select some text in editorial, you can simply click the button to automagically wrap the text with one of the choices of 6 characters you mentioned? that WOULD be practical :)

    one last thing: those six extra characters start eating up a lot of screen real estate and effecting the readability of the file in the editor (which is why having something like :: or __ would be preferable as a replacement for the three {++, {==, {-- etc)) so perhaps there is a way to change what critical markup / editoral considers the highlight tags to be (ie my preference for :: or __ vs {++, etc)?

    thanks

    posted in Editorial read more
  • robopu

    in ulysses, i can highlight text in the editor by surrounding it with two colons around both ends of the text (ie ::this is highlighted text::). this makes it appear yellow in the ulysses editor (though it does not highlight on html preview b/c their markdown xl flavor i guess doesn't support it??)

    i would love to be able to do the same thing in editorial. i use the existing emphasis and strong (italic and bold) for marking other aspects of what i'm doing but the ability to highlight on top of emphasis and strong comes in very handy for me.

    is there any way i can get what i want in either the editorial editor and or html preview? perhaps there is an ability to customize the markdown interpreter to support :: or __ as highlight markers? this requires both the ability to add a button to the on screen keyboard to wrap selected text in either :: or __ to represent the highlight as well as hopefully display the text with highlighted yellow background color in the editor while reducing the opacity or the :: or __ marks themselves.

    OR perhaps there is a way that i can add a workflow / python script to do what i want? my thought is that i could attach a button to the popup menu that appears when i highlight text in the editor which will insert the "highlight" :: or __ codes into the text and then magically present them as background yellow? i know how to program if that matters i just don't know where to start in editorial / python in this regard.

    note, the functionality must be saved and activated automatically every time i open the file AND it also must be easy to insert the highlight marks in the file text with mouse gestures or keyboard commands (if attached keyboard), otherwise doing this is not worth the hassle.

    fwiw, since i can get :: marks inserted easy enough from within ulysses, if i can at least display them correctly in the editorial editor / preview as background yellow once i open them from dropbox that would be a worthwhile compromise as well IF it's possible to customize the css behind editorial's editor / html previews.

    thanks in advance.

    posted in Editorial read more
  • robopu

    does anybody have some good suggestions for an editorial equivalent app for mac osx? i've been out on the road for over a year with only an itouch and editorial became my go to writing app b/c i love to write. i really love markdown but editorial's dropdown header navigation feature is what is most important to me as my documents tend to be large with lots of headers. without some way to navigate the document HEADERS IN THE EDITOR EASILY VIA APP FUNCTIONALITY , a markdown tool is almost useless to me.

    UNFORTUNATELY, i didn't realize editorial didn't have an equivalent app for osx when i committed learning it and creating a couple hundred documents for it that i can no longer easily edit now that i'm back on my macbook! kind of pissed off about that actually to be honest.

    so i'm wasting a lot of time now looking for yet another app to work with my editorial md docs on my laptop. what i see are probably 20-50 available markdown apps, some with crap reviews and i can't really determine which of the better reviewed ones actually have the key navigation feature that i require so badly. i don't want to pay for the app to find out i can't navigate my documents easily and must resort solely to scrolling a long document.

    fwiw, i bought ulysses at the same time i downloaded editorial. ulysses had all these great reviews but it was hard to decipher aspects of the app from the site alone so i trusted the reviewers and paid the ridiculous app price / installed it. to be honest, after putting it through it's paces, i think it's way overpriced and had a lot of flaws especially on my device. the biggest one is it doesn't work with traditional text files like editorial which means i have to convert all my documents over and commit to using their proprietary and confusing underlying management scheme which locks me in to this app which i already have reservations about having dealt with their tech support many times over the last year. in short, don't recommend ulysses to me as an editorial complement app on mac osx b/c it's not! :)

    features i want

    • easy inline markdown editing (common to most all of these though i do like editorial's highlight plus auto wrap with asterisks when typing 1 to 3 asterisks!)
    • easy way to navigate long documents by headers in a separate outline or navigator pane vs scrolling (MUST HAVE THIS!)
    • auto synch preview to position in editor (editorial did NOT have this and you have to scroll in preview to find current editor position which is pita for long docs you make a lot of changes to)
    • multiple open files in tabs so you can easily switch back and forth between them (i don't think editorial has this either)
    • files are stored as regular text files (universal format) vs proprietary / non-text containers so my work can shared and backed readily and easily between different platforms and apps

    thanks!

    posted in Editorial read more
  • robopu

    ok thx for both those replies webmaster.. makes sense..

    posted in Pythonista read more
  • robopu

    @Webmaster4o

    ok.. but i could swear the documentation just showed me an example of running a script using:

    python script.py

    since this is pythonista documentation.. i figured they meant it when they said it ;) even if i can't use redirect per bash, can i still invoke a script per above (though i guess it doesn't give me much advantage other than that i don't have to load the actual script in the editor to run it)?

    thx

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!