Python Forum
Question regarding python pyqt script
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question regarding python pyqt script
#3
1. Will not work, because "Volume = float(get lineedit8)" will throw an error, also, why not just try "Answer = (int(lineedit8.text()) / 29.5735286)"?
2. "print" is a function for python console, not for PyQt, so you have to "lineedit8.setText(str(Answer))".
Reply


Messages In This Thread
Question regarding python pyqt script - by cibb - Feb-11-2018, 09:54 PM
RE: Question regarding python pyqt script - by Raures - Feb-18-2018, 03:03 AM
Question regarding python pyqt script - by cibb - Feb-11-2018, 09:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Star [PyQt] Python GUI - PyQt Containers and Layouts Explained panofish 0 946 Aug-28-2022, 07:29 PM
Last Post: panofish
  [PyQt] I build and install PyQT for python2 but it not recognize in python nadavvin 7 8,115 Mar-29-2019, 03:24 PM
Last Post: Axel_Erfurt
  [PyQt] Newbe question about Print() to PyQt TimW 9 14,529 Dec-19-2017, 11:36 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020