wideglidejrp wrote:1. Do you see Python as a long term survivor?
Survivor of what exactly? If you mean Python as a viable language, it's number 4 on the
Tiobe Index of language popularity. It's going to be around for a very long time. And it is the future of Indigo scripting/development.
wideglidejrp wrote:2. I presume it is better than Applescript? Is there a reliable way to convert an Applescript to a Python script?
"better", when referring to a programming language is quite subjective. However, we think it's better in almost every respect. It's widely used (as pointed out above) so there are literally tons of libraries, tutorials, how-to sites, open-source projects using it. Converting from language to language can (arguably) never really be automated well. Converting to anything from AppleScript is practically impossible in an automated way given the loosy-goosy nature of AppleScript. Fortunately, once you've learned Python and Indigo's Object Model, manually converting scripts is usually quite fast. Lots of people around here can help.
wideglidejrp wrote:3. I got PyCharm professional, but found it daunting, to put it mildly. Overkill for me, although the breadth and depth of it is quite impressive.
It's the best Python IDE, bar none (and one of the best IDE's I've ever used on any platform for any language). However, for just writing Indigo scripts, it's way overkill and in some respects it'll even get in the way. I only recommend PyCharm for plugin developers.
wideglidejrp wrote:4. I don't get what you mean by, "Wrap code snippets in the Code tag so that it'll preserve indentation (makes reading code much easier)."
When editing a message on the forums, look at the buttons above the text area under "Selection style". You'll see a button called Code. Click that button and it'll insert the appropriate code tags in your message. Anything between those tags will be rendered in a monospace font so that you'll see the appropriate formatting. Python uses indentation to signify blocks of code (vs the typical end block tags like
}) so the format of the code is important.