is there a simple way to pipe input `<` to the script?
I like the python script.py < input.txt style on occasion
Obvious alternative: work the input file in as an argument, just thought it might be obvious/doable itself :))
doesn't seem to work with 'livepython script.py < input.txt' just as a mention, it opens and steps through to the line with input() but the in isn't ... putting
not an answer - but the electron may support this need to dig into piping data for electron
https://stackoverflow.com/questions/28946904/piping-data-from-child-to-parent-in-nodejs
ar args = process.argv.slice(2)
if (!args.length) {
console.log("Usage: livepython [program] [..args]")
process.exit()
}
args.unshift(__dirname + "/../tracer.py")
@roydhenderson created this code - looks like it's piping something to electron app .
https://github.com/mrdoomits/superluminous/blob/ad08321b463b6b31730873b08418ee2f2cd6cb28/electron_app/gulpfile.js
(no idea what gulp is)