On Fri, 2009-01-09 at 11:34 -0800, Karen Tung wrote: > kunal wrote: > > On Tue, 2009-01-06 at 21:18 -0700, Clay Baenziger wrote: > > > >> Hi Kunal, > >> I would strongly encourage you to think of using Jython (or any > >> way you can call the Python APIs) > >> > > > > where can i find the Distro Constructor API ? and if they are normal > > python files i can use them as : > > "import api_file" > > right ? > > > > > DC API? You mean the various Python modules the DC app uses? > They are in /usr/lib/python2.4/vendor-packages/osol_install, > and /usr/lib/python2.4/vendor-packages/osol_install/distro_const. > Yes, you can do "import".. Take a look at /usr/bin/distro_const, > and any of the DC related python modules to see how we use it. > > --Karen Thanks againg Karen ! i being new to python as well as using APIs had a little difficulty understanding, but doubt's cleared.
regards, kunal
