-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a simple way to pipe input <
to the script?
#17
Comments
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") |
(no idea what gulp is) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like the
python script.py < input.txt
style on occasionObvious 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 ... puttingThe text was updated successfully, but these errors were encountered: