Comment on page
Creating a Mitosheet
Use Mito to generate Python code, start automating your Excel processes.
Before creating a Mitosheet, make sure you've installed Mito. If you just installed Mito, make sure to restart your kernel + refresh your browser.
- 1.Open the Notebook where you want to create the mitosheet. If you installed Mito in a virutal environment, make sure to launch the notebook from the same virtual environment.
- 2.Copy and paste this code into a cell:
import mitosheet
mitosheet.sheet()
- 3.Run the code by clicking on the code cell that contains it and pressing Shift + Enter.
- 4.
If you've already created a mitosheet that you want to continue working from:
- 1.Open the Notebook where you previously created the mitosheet. If you installed Mito in a virutal environment, make sure to launch the notebook from the same virtual environment.
- 2.Click on the code cell that contains the
mitosheet.sheet(...)
call that you want to reload, and press Shift+Enter.
If you want to learn more about reopening an existing mitosheet, read this section of the Core Concepts overview.
If this is the first mitosheet you are creating after installing Mito, view these common install errors.

If you've previously created a mitosheet, and you see this ModuleNotFoundError after running the above code, its likely because the mitosheet package is not installed in your current environment.
Make sure to launch launch the notebook from the same virtual environment that you installed Mito in.
NameError

If after running the
mitosheet.sheet()
code, you see this NameError, you have to first import the mitosheet package. - 1.Copy this code into your notebook above the
mitosheet.sheet()
call
import mitosheet
- 2.Click on the
import mitosheet
code and press Shift + Enter - 3.Click on the
mitosheet.sheet()
code and press Shift + Enter
Want help? Get in contact with our support team through Discord, Slack, or by emailing [email protected]
Last modified 2mo ago