Reference

cli

Processes command line arguments.

cli.print_ips()[source]

Print private and public IP.

cli.start(argv)[source]

Print banner and process args.

gui_tk_func

GUI using tkinter.

gui_tk_func.start()[source]

Print banner and start GUI.

ipaddresses

Show private and public IP addresses.

If there are any command line arguments it calls the cli module. Otherwise the gui module. See usage.txt for command line usage.

ipaddresses.main()[source]

Start CLI or GUI.

localization

Localization.

shared

Shared constants and functions.

shared.banner()[source]

Returns banner text.

shared.get_private_ip()[source]

Get private IP address.

shared.get_public_ip()[source]

Get public IP address.

shared.license_()[source]

Returns license text, read from a file.

shared.usage()[source]

Returns usage text, read from a file.

shared.version()[source]

Returns version.

utils

Utils library.

utils.run(win_cmd=u'', x_cmd=u'')[source]

Run OS command.

utils.sys_lang()[source]

Get system language.