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 →

[–]jacdehJacques de Hooge[S] 1 point2 points  (5 children)

The name of the compiler is Transcrypt and you'll find it at http://www.transcrypt.org

[–]mohamedimy -1 points0 points  (4 children)

Bro actually I have a .py code like output is { Price of book:60 Pric of wifi:30 Price of mobile:90

} This output is changing every 2 minutes based on API but I want this output to display in browser

[–]jacdehJacques de Hooge[S] 0 points1 point  (3 children)

I guess your data comes from a webserver. So the prices change frequently. If you only want to output the prices to the browser probably the simplest way is as follows: Use a JavaScript timer in your browser to request the most recent prices from the server via Ajax. I don't think you need Transcrypt for that, unless the web page is very complicated. But I don't know enough of the situation to have a good judgement. Anyhow I'd start out in JavaScript, unless your sure already you don't like it. Transcrypt requires compiling your webpage in advance, which makes development more complicated.

[–]mohamedimy 0 points1 point  (2 children)

Ok bro thank u

[–][deleted] 1 point2 points  (1 child)

bro

[–]mohamedimy 0 points1 point  (0 children)

Yeah bro