/[escript]/trunk/doc/examples/cookbook/cblib.py
ViewVC logotype

Annotation of /trunk/doc/examples/cookbook/cblib.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (hide annotations)
Fri Jun 5 05:04:45 2009 UTC (11 years, 8 months ago) by ahallam
Original Path: trunk/doc/cookbook/cblib.py
File MIME type: text/x-python
File size: 312 byte(s)
Week 10:
Continued work on wave equation and tutorial write up.
1 ahallam 2427 # This is the cookbook library for generic scripts.
2     # Imports come from the folder cblib and contain script definitions.
3    
4     import sys
5     import os
6    
7     #set the subdirectory path
8     sys.path.insert(0,'cblib')
9     #import all examples to library
10     from wavesolver2d import *
11 ahallam 2460 from phones import *
12 ahallam 2427 #exit subdirectory
13     del sys.path[0]

  ViewVC Help
Powered by ViewVC 1.1.26