Example #1
0
def init(top, gui, *args, **kwargs):
    global w, top_level, root, mPlataforma
    mPlataforma = Plataforma()
    w = gui
    top_level = top
    root = top
    generarTabla()
Example #2
0
def print_hi(name):

    # Use a breakpoint in the code line below to debug your script.
    plataforma = Plataforma()
    path = "/home/jperez168/ecgs/Person_01/rec_6.dat"
    with open(path, "rb") as f:
        fileDAT = f.read()

    path = "/home/jperez168/ecgs/Person_01/rec_6.hea"
    with open(path, "rb") as f:
        fileHEA = f.read()

    path = "/home/jperez168/ecgs/Person_01/rec_6.atr"
    with open(path, "rb") as f:
        fileATR = f.read()

    a = plataforma.subirECG(4, 17, fileATR, fileHEA, fileDAT, "rec_6")
    print(a)
#! /usr/bin/env python
#  -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 6.2
#  in conjunction with Tcl version 8.6
#    Jun 01, 2021 01:27:24 PM UTC  platform: Linux

import sys
from Plataforma import Plataforma
mPlataforma = Plataforma()
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


def init(top, gui, *args, **kwargs):
    global w, top_level, root
    w = gui
    top_level = top
    root = top


def destroy_window(p1):