Initial commit for unified repo.

This commit is contained in:
2020-11-17 14:22:59 -06:00
parent 0bc0e7d278
commit 780646b254
44 changed files with 1156 additions and 1 deletions

43
macOS/pecos_support.py Normal file
View File

@ -0,0 +1,43 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 5.4
# in conjunction with Tcl version 8.6
# Sep 30, 2020 01:33:24 PM CDT platform: Linux
import sys
from PIL import Image, ImageTk
import sqlite3
from datetime import datetime
from datetime import date
try:
import Tkinter as tk
except ImportError:
import tkinter as tk
try:
import ttk
py3 = False
except ImportError:
import tkinter.ttk as ttk
py3 = True
# --- DEFINE FUNCTIONS ---
def init(top, gui, *args, **kwargs):
global w, top_level, root
w = gui
top_level = top
root = top
def destroy_window():
# Function which closes the window.
global top_level
top_level.destroy()
top_level = None
if __name__ == '__main__':
import pecos
pecos.vp_start_gui()