Live data from Hacker News

Chrome Extension: Python Shell

chrome.google.com

21–24 of 24 posts

Re: Chrome Extension: Python Shell

#21
post #20

Earlier quoted context omitted.

IMHO, it feels quite awkward to have GNU/Linux system under the hood, and "run" Python by sending requests to some interpreter-hosting third-party service. However, I would extremely enjoy Python interpreter being hooked with Chrom{e,ium}, either as Python-to-Javascript compiler, or native code plugin. Preferably, with ability to interact with DOM and Javascript.

"IMHO, it feels quite awkward to have GNU/Linux system under the hood, and "run" by " You just summed up my feeling of using android. and why i'm not exited the slightest by the chrome netbooks.

Come on, they wanted to give thousands of devs the chance to re-implement C apps in java. Poorly. Under the delusion that they can become ramen-profitable one day.

OTOH, Angry Birds is awesome, so I suppose it wasn't a total waste.

Re: Chrome Extension: Python Shell

#22
post #11

Comment from the extension page: "Nice, but beware. This thing appears to send everything you type in the shell to a remote computer, so don't use it as a scratch space for personal information." On that note, why does it ask for permission to view browser history?

The Chrome extensions permissioning system is not specific enough.

Re: Chrome Extension: Python Shell

#23
post #7

There is a python shell plugin for gedit that gives you access to your text document. If someone could do that for this plugin, i.e. Giving you access to the main tab/window object, that would be seriously cool. Prototyping screen scraping, building easy extentions using python, and hacking a quick change into a website would all be so easy.

That's what I was hoping to find when I saw that link. However, you could probably do something like this. I think two ways to implement this are immediately obvious:

1. Create bookmarklet/extension that injects Silverlight's IronPython. This can already work with live DOM and all you need to do is create a nice REPL.

2. Have pyjamas running in background and compiling Python->Javascript on the fly.

Post reply on HN