langdatacreate
index
/home/eberdeed/machinetrans-1.13/machinetrans/dataentry/langdatacreate.py

LangDataCreate:  A class to instantiate a PostgreSQL
database containing Russian-English data.

 
Modules
       
os
postgresql.driver
pwd
subprocess
sys

 
Classes
       
builtins.object
LangDataCreate

 
class LangDataCreate(builtins.object)
    A class to instantiate a PostgreSQL
database containing Russian-English data.
 
  Methods defined here:
__init__(self)
Run the entire class.  Check to see if the user
is root, if not generate an error and exit.
Check to see if there is an existing installation,
if so, prompt for replacement. If the answer is
"yes" Instantiate the MachineTransDestroy class
to erase the current database. 
Create the database template.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)