Skip to content

Create Custom Python REPL (Interactive Interpreter) #23091

Closed

Description

We need custom Python REPL/interactive interpreter that would communicate to TypeScript side whether that is a Notebook controller for Python extension or some other REPL controller in the future.

Referenced in: #23029

First need to build Python REPL that processes user input and output , then need to build communication that goes in/out of a simple node project.

Once we verify there is fine communication between custom Python REPL and node/TypeScript side of things, we can embed these code into Python extension and create a notebook controller so that custom Python REPL can be used as a kernel to be fed into interactive window for users to experiment.

Activity

  1. anthonykim1 commented on Mar 18, 2024

    @anthonykim1
    Author

    How to communicate to Node/TypeScript side: Stdin/out, socket, named pipe.
    Need to be able to call Python script from node app. Using spawn and child_process we can call Python script

  2. anthonykim1 commented on May 21, 2024

    @anthonykim1
    Author

    Completed via: #23235

  3. locked as resolved and limited conversation to collaborators on Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions