Skip to content

common module

The common module contains common functions and classes used by the other modules.

hello_world()

Prints "Hello World!" to the console.

Source code in geosoftdesign/common.py
def hello_world():
    """Prints "Hello World!" to the console.
    """
    print("Hello World!")

rndom_number()

Prints a random number

Source code in geosoftdesign/common.py
def rndom_number():
    """Prints a random number
    """
    import random
    return random.random()