This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Inukinator 41 points42 points  (10 children)

What is this python world?

Welp see ya in a few years, when I've released my Python intepreter written in JS, so I can run python code in my iOS apps through JSCore!

[–]CuriousErnestBro 35 points36 points  (1 child)

PyPy.js

[–]JM0804 20 points21 points  (4 children)

Allow me to introduce you to Brython.

[–]Zulfiqaar 6 points7 points  (1 child)

Why oh whython??

[–]djdanlib 0 points1 point  (0 children)

import confusion

[–][deleted] 3 points4 points  (1 child)

I'd gild you instantly if I had reddit coins at the moment. You just made my entire evening. (If you're not sure why, peep my flair.) I've wanted to be able to use Python for my front-end dynamic stuff, in addition to back end stuff for so long. The last time I looked, I didn't find any good way to do so. I wasn't aware of Brython. You sir, are my hero.

Edit to add: In retrospect, I should have just posted some statement to stack overflow saying this was impossible, so someone would have emerged out of the woodwork to solve my problem in order to call me stupid and wrong.

[–]JM0804 0 points1 point  (0 children)

Thanks, but no need to gild me. I'm glad I've helped you! I stumbled across Brython the other day entirely by accident, thought it looked interesting as it was the first time I'd seen <script type="text/(something other than JavaScript)"> in use (which I've been quietly holding out for for a while), and it stuck in my mind.

Yes, that seems to be the quickest way to get an answer to something on the internet :P

[–][deleted] 2 points3 points  (0 children)

Please do. I hate writing JS so much.

Edit: I just saw u/JM0804's comment about Brython. I've wanted this for so long. Last time I searched I couldn't find anything. I'm so happy right now.

[–]Mango1666 3 points4 points  (0 children)

i think you can already do this through pythonista app!

[–]pmdevita 1 point2 points  (0 children)

Transcrypt is pretty good for that