1 | initial version |

Let your file contain this instead:

```
from sage.graphs.graph_generators import graphs
graphs.HeawoodGraph().plot().show()
```

2 | No.2 Revision |

If you don't want to add any import statement, rename your file to `test.sage`

.

Let your file contain this:

```
graphs.HeawoodGraph().plot().show()
```

If you want to keep the file as `.py`

you will need the import statements.

In this ~~instead:~~case:

```
from sage.graphs.graph_generators import graphs
graphs.HeawoodGraph().plot().show()
```

Note that the import statements are easy to figure out with the dedicated command.

```
sage: import_statements('graphs')
from sage.graphs.graph_generators import graphs
```

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.