TutorialΒΆ

The easiest way to learn to use SnapPy is to watch the screencasts available on YouTube:

  • Intro and quickstart: an 11 minute video with the basics: Part I and Part II.
  • More advanced features. (To be made)

The key thing to remember when using the SnapPy command shell window is that you can explore objects using introspection and tab-completion:

In [1]: Manifold? <hit return-key>
...instructions for creating a manifold...

So now we create a manifold:

In [2]: M = Manifold("m004")

But what can we do with it?

In [3]: M.<hit tab-key>
...list of methods...

What does the “cover” method do?

In [4]: M.cover? <hit return-key>
...description of cover method..

Previous topic

Installing and running SnapPy

Next topic

snappy: A Python interface for SnapPea

This Page