Notepad/enter/Coding Tips (Classical)/Terminal Tips/1. Terminals/Shells/xonsh/Xonsh.md

1.2 KiB

Xonsh Stuff

Xonsh is basically a terminal for python which is super cool but even better because you can literally also do bash commands inside it.

Begin by simply typing xonsh into the terminal.

Setting up an environment

There is entirely no need for conda here as it can be done with a simple vox command:

  1. Load the xontrig by typing:
xontrib load vox
  1. Create a new environment:
vox new world1
  1. List any existing or activate the environment:
$ vox list
Available environments:
    eggs
    world1
    spam
$ vox activate world1
 Activated "world1".
  1. More info found here such as: Exit or remove the environment

  • there is a xonsh vim file but to be quite honest, you already have kite installed and that seems a lot better.
  • if every in doubt just type in cheatsheet
  • Make python extensions with xontrib

Things installed with xontrib