Skip to content
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

Turn the "python" widget into a REPL interactive shell #104

Closed
3 tasks done
yungyuc opened this issue Jul 17, 2022 · 9 comments
Closed
3 tasks done

Turn the "python" widget into a REPL interactive shell #104

yungyuc opened this issue Jul 17, 2022 · 9 comments
Labels
enhancement New feature or request viewer Visualize stuff

Comments

@yungyuc
Copy link
Member

yungyuc commented Jul 17, 2022

Currently the viewer is using a primitive widget to take Python code to run and it is not easy to use:

image

There should be a REPL widget working like the Python REPL or iPython.

@yungyuc yungyuc added enhancement New feature or request viewer Visualize stuff labels Jul 17, 2022
@tai271828
Copy link
Contributor

REPL is a best-practice commonly seen in this use case. +1 to the idea.

@yanagiragi
Copy link
Contributor

LGTM. How about also provide an another feature to load *.py and execute it in the viewer?

@yungyuc
Copy link
Member Author

yungyuc commented Jul 17, 2022

LGTM. How about also provide an another feature to load *.py and execute it in the viewer?

Agree. It could be done by extending the new "app" sub system (#100).

@yungyuc
Copy link
Member Author

yungyuc commented Nov 6, 2022

@tigercosmos As we discussed in #144 (comment) , we should redirect the buffered outputs to the console display.

@tigercosmos
Copy link
Collaborator

@yungyuc yes, I will work on it.
I think we can also add the following as TODOs

  • add a run button for the command line, it will be more straightforward.
  • support to go to the next line

@yungyuc
Copy link
Member Author

yungyuc commented Nov 8, 2022

@yungyuc yes, I will work on it.

I think we can also add the following as TODOs

  • add a run button for the command line, it will be more straightforward.

  • support to go to the next line

Thanks. Agree. Items added.

@yungyuc yungyuc mentioned this issue Nov 13, 2022
6 tasks
@yungyuc
Copy link
Member Author

yungyuc commented Dec 10, 2022

@tigercosmos There is one remaining part unfinished:

  • Support to type more than one line.

Do you plan to finish it?

@yungyuc yungyuc assigned tigercosmos and unassigned yungyuc Dec 10, 2022
@tigercosmos
Copy link
Collaborator

@yungyuc nit for now, I will unassign myself

@yungyuc
Copy link
Member Author

yungyuc commented Dec 10, 2022

@yungyuc nit for now, I will unassign myself

Thanks for letting me know. I am closing it.

@yungyuc yungyuc closed this as completed Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request viewer Visualize stuff
Projects
None yet
Development

No branches or pull requests

4 participants