Skip to content

Instantly share code, notes, and snippets.

@rahbirul
Last active December 12, 2015 00:08
Show Gist options
  • Save rahbirul/4681012 to your computer and use it in GitHub Desktop.
Save rahbirul/4681012 to your computer and use it in GitHub Desktop.
Python Editor Bookmarklet. Tested on Chrome. 1. Open a new browser tab in Google Chrome 2. Copy the code in the gist 3. Paste on the URL bar and hit return/enter. Start coding. 4. Save as a bookmark. Influenced by https://coderwall.com/p/lhsrcq
data:text/html;charset=utf-8, <title>PyChrome</title> <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/twilight");e.getSession().setMode("ace/mode/python");</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment