From: Guy K. K. <g....@ma...> - 2010-10-09 00:49:43
|
On Sat, 09 Oct 2010 13:11:44 Bruce Sherwood wrote: > I think and hope we're in agreement. My point was a narrow technical > one, that in the matplotlib case the simplified import could be > handled with a single file (pylab.py) whereas we need a folder named > visual due to the existence of visual.graph and visual.factorial and > possible imports by someone of other files currently in the visual > folder. Wouldn't it make sense to have "vpython" (or any other name) as a package (folder/directory), which contains then the modules graph and factorial? Then visual would just need to be a module (visual.py) to import the stuff from vpython, vpython.graph, vpython.factorial, ... Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |