Git Product home page Git Product logo

Comments (5)

bjorn3 avatar bjorn3 commented on May 7, 2024

I assume you ran this in jupyter notebook? There doesnt seem to be any cross platform way to detect if a program is trying to read from stdin. When using the command line version of evcxr I think it will work.

from evcxr.

rednithin avatar rednithin commented on May 7, 2024

I tried out the REPL too. The same problem persists.

from evcxr.

bjorn3 avatar bjorn3 commented on May 7, 2024

I can't get evcxr working with the latest stable rustc, so I unfortunately can't help debugging this.

from evcxr.

 avatar commented on May 7, 2024

I have a use case that would benefit from being able to prompt for passwords from within the jupyter notebook, not necessarily from stdin.

from evcxr.

davidlattimore avatar davidlattimore commented on May 7, 2024

Thanks for the reminder about this issue. I recall that Jupyter had some APIs for requesting input. I'll need to think about what API makes sense on the evcxr side. I guess probably expose a function that when called, blocks until the input is provided, then returns an Option<String>.

from evcxr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.