Dear ilugc,
                One of the research scholar came to ask me too install oof2 
application in ubuntu, first i can download the file and extract the file  and 
go to readme file.. clearly tell about installation .. i was done the 
procedure.. but the problem is if i type the oof2 .. the library path should  
not set properly.. how can i set the path for library.. how can i execute the 
application and use it..
 
#! python
# -*- python -*-
# $RCSfile: oof2,v $
# $Revision: 1.8 $
# $Author: langer $
# $Date: 2011-11-02 18:03:17 $

# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modified
# versions of this software, you first contact the authors at
# [email protected]. 

# This is the start-up script for oof2.  It is installed as an
# executable file in the bin directory, *not* the python library.
# "import oof2" statements refer to the oof2 module in the library,
# not to this file.

import sys
import os

# need to set path so that it imports the oof package that we want
import oof2
sys.path.append(os.path.dirname(oof2.__file__))

# All user input is evaluated in this environment, so first import
# useful things like the math library.
from math import *

# The real start-up code is in ooflib.common.oof.  Until it is loaded,
# no modules containing oof C++ code can be used.  Therefore, don't
# even try loading any other oof code (not even the debug module)
# before here!

from ooflib.common import oof
oof.run()

sys.exit()


 
Rajesh.G
System Analyst cum operator
Dept. of Information Technology
B.S. Abdur Rahman University
Chennai-48.
9710066437
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to