These are chat archives for evhub/coconut
pip install coconut-developto get the latest development coconut, you will be able to use a shebang of
#!/usr/bin/env coconut-runwhich will automatically do the right thing. I've added documentation for this as well and it will be included in the next release.
#!/usr/bin/env coconut-run -nworks as a perfect (and silent) replacement for python in scripts. Thanks.
coconut-runseems to inspect and process any args passed to the script and react to it (such as
--help) instead of passing it through to the code in the script.
sys.argvalso contains one more arg --
-rq-- which should not be there.
pip install --upgrade coconut-develop. Arguments should be properly passed on to the script now. Although you won't be able to use the
-noption anymore (although you really shouldn't be, since it makes Coconut recompile the file every time it's run, which is rather slow).