PyQt5 - import rext from other file - despearte for help - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: PyQt5 - import rext from other file - despearte for help (/thread-10575.html) |
PyQt5 - import rext from other file - despearte for help - D_frucht - May-25-2018 Hello! im stuck for hours with a one simple task: i need that the numbers that are generated from gps.py show in the fh.py this is the gps.py from random import uniform import time def runscript(): for gps in range(0, 10): gps=round(uniform(31.852863, 31.853108), (6)) time.sleep(2) return(gps)this is the fh.py relavant code: q_le = QtWidgets.QLineEdit(w) q_le.resize(500, 96) q_le.move (400, 700) q_le.setText(what do i need to do so the generated numbers will be shown in the qlineedit??? RE: PyQt5 - import rext from other file - despearte for help - Barrowman - May-26-2018 some of the code is missing. you need to post more than you have if you want help. |