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

Run file in console in jupyterlab? #7863

Open
taiya opened this issue Feb 9, 2020 · 2 comments
Open

Run file in console in jupyterlab? #7863

taiya opened this issue Feb 9, 2020 · 2 comments

Comments

@taiya
Copy link

taiya commented Feb 9, 2020

How can you run a (e.g. Python, Julia) file in a console?

Right now there is a "create console for editor", but what if you already have a console open and you simply want to re-execute the file content?

The only solution I can see is to first Select All, and then Run Selected Code

Any better way?

@jasongrout
Copy link
Contributor

I'd probably use the keyboard shortcut to select all (ctrl/command a), then the keyboard shortcut to run the code (ctrl/command enter, I think).

@taiya
Copy link
Author

taiya commented Feb 9, 2020

@jasongrout that's exactly what I said in "the only solution" but it is a pretty weak solution.
Think a-la MATLAB (which julia tries to replace), there you execute a script in the console by just pressing F5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants