Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
This module is part of Swampy, a suite of programs available from
allendowney.com/swampy.

Copyright 2010 Allen B. Downey
Distributed under the GNU General Public License at gnu.org/licenses/gpl.html.


UML diagrams for Python

Lumpy generates UML diagrams (currently object and class diagrams)(more...)

src/s/w/swampy-2.1.7/swampy/lumpy_example3.py   swampy(Download)
#!/usr/bin/python
 
import Lumpy
lumpy = Lumpy.Lumpy()
 

src/s/w/swampy-2.1.7/swampy/lumpy_example2.py   swampy(Download)
from TurtleWorld import TurtleWorld, Turtle
 
import Lumpy
lumpy = Lumpy.Lumpy()
lumpy.opaque_class(World.Interpreter)

src/s/w/swampy-2.1.7/swampy/lumpy_example1.py   swampy(Download)
 
# create a Lumpy object and capture reference state
import Lumpy
lumpy = Lumpy.Lumpy()
lumpy.make_reference()

src/t/h/ThinkPython-HEAD/lumpy_diag05.py   ThinkPython(Download)
 
from swampy.TurtleWorld import Turtle
import Lumpy
 
# create a Lumpy object and capture reference state

src/s/w/swampy-2.1.7/swampy/Lumpy_test.py   swampy(Download)
import unittest
 
import Lumpy
 
class Tests(unittest.TestCase):