Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
Normal isn't your first language, is it?

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


                   

running code snippets in browser

  (-1)
(-1)
  [vote for,
against]

If people place code examples like small matlab or python snippets, or maths equations etc...

It would be nice to have a small button to run the snippet.

mofosyne, Oct 18 2015

Is this a how to in python ? https://pythonspot....plugin-with-python/
There is stuff out there. [popbottle, Oct 18 2015]

No need for plugin. Works in any browser http://lmgtfy.com/?q=online+ide
[pashute, Oct 18 2015]

JS Fiddle https://jsfiddle.net/
There's an app for that! [Cuit_au_Four, Oct 22 2015]

Repl.it Http://repl.it
Python, JavaScript and other programming language snippet runner. Runs in the cloud [chronological, Jun 07 2022]

Please log in.
If you're not logged in, you can see what this page looks like, but you will not be able to add anything.
Short name, e.g., Bob's Coffee
Destination URL. E.g., https://www.coffee.com/
Description (displayed with the short name and URL.)






       can't argue with that.. of course a little googling would have come up with a Python browser plugin. not sure about the matlab.
FlyingToaster, Oct 18 2015
  

       It's doable - you can go to sites where that sort of thing happens.
Loris, Oct 18 2015
  

       //you can go to sites where that sort of thing happens// There's a phrase that seldom bodes well.
MaxwellBuchanan, Oct 18 2015
  

       //JavaScript just runs on a page, what's the button for ?//   

       I'm not sure what to make of that. There's tonnes of javascript sitting around in buttons waiting to be clicked on.
But anyway, I think the idea was that it would be for other languages, like python- and arbitrary, user-entered code - so at the sites I mentioned presumably either there's an emulator on the client, or it gets sent to a server.
Loris, Oct 19 2015
  

       More often than not, these snippets are not runnable code; that is to say they're usually incomplete. Maybe a block of code to illustrate how something is done, with some obvious variable names, but no declaration or initialization of those variables.
Freefall, Oct 22 2015
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle