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

Include xterm for launching a terminal in the course. #5

Open
tillahoffmann opened this issue Dec 13, 2023 · 1 comment
Open

Include xterm for launching a terminal in the course. #5

tillahoffmann opened this issue Dec 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@tillahoffmann
Copy link
Collaborator

Colab only offers a terminal in their paid Pro version. This article suggests an alternative terminal that's embedded in the notebook. In short, the following lines start one.

!pip install colab-xterm
%reload_ext colabxterm
%xterm

The first line installs the package, the second loads the extension which adds the %xterm magic command to the kernel, and the last starts the terminal. In general, it probably makes sense to execute the first two lines together to install requirements and the last where necessary to start a terminal.

@tillahoffmann tillahoffmann added the enhancement New feature or request label Dec 13, 2023
@cansavvy
Copy link
Collaborator

Thanks for writing this down. Yes this is great.

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

No branches or pull requests

2 participants