Skip to content

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

Description

@tillahoffmann

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions