• sidewinder

Can I widen this question to ask if a workflow / python module can change app settings? I'd like to write a workflow which can change the Markdown HTML template (e.g. to install Mathjax support).

• sidewinder

@Vijay
Fantastic tip. The online mathjax works brilliantly! Did you get inline latex to compile? I can only get $x$ style equations to compile when I try.

Update: Inline latex works when you escape the slash character, e.g. //(/sqrt{x}//)

What a powerful tool editorial is...

• sidewinder

Fantastic work Ole! Looking brilliant on my iPhone. Still waiting for the iPad to pick up the update.

Vijay, if you can get MathJax to work I'll be very interested! :-)

• sidewinder

Hi all,

I've written some lovely code in Pythonista which uses Scene to display graphics and handle touch interactions. I'd like to port my code to PC/Mac and replace the touches by mouse clicks. I see I can do this with tkinter but it's syntax is very different to Scene. Is there a PC python module whose syntax is close to Scene?

• sidewinder

Great! Henryiii - it shouldn't be too hard to edit the Dropbox script to tell it to ignore the sympy folder. Have a look at my alteration to it to ignore the inbox folder on downloading (since attempting to write to the Inbox causes an error).

https://gist.github.com/sidewinder42/8631794

• sidewinder

So sympy works with pythonista? Great! How did you install it? And why do you have to delete it to do a DropBox backup?

• sidewinder

Hi all,

I have been experimenting with the Scene module and I love it's simplicity. I am coding up a physics demo and the touch syntax is wonderful.

However, I'd like to also allow the user to enter text during the Scene. E.g to change a value such as gravity. I'm thinking of coding my own Gravity+ Gravity- keys but is there a simpler way to combine keyboard entry with Scene?

• sidewinder

• sidewinder

I learnt Python (mostly) on the iPad. The best basic treatments don't use any modules which Pythonista doesn't have. I'd recommend the very thorough "Learning Python" by Lutz (O' Reilly) and the good for programming-savvy beginners online notes "Learn Python the hard way".

• sidewinder

Thanks Coder123! It is strange, the console seems to have permissions to delete scripts in that directory, but not write to it! In any case, the fix above does work now, but it is making me cringe a little. Now I have learnt more Python, a far better way of accomplishing the error handling would be to use try and except.

Internal error.

Oops! Looks like something went wrong!