Python Forum
[PyQt] Help converting python qt4 script to qt5
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] Help converting python qt4 script to qt5
#3
Hi,

I tried changing what you said and now i'm getting this error:

Error:
File "./wlcreator.py", line 54 print "COMMAND:",command ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("COMMAND:",command)?
I've tried changing this line with the one it thinks it should be and now i get this error

Error:
File "./wlcreator.py", line 66 if len(output) > 0: print "OUTPUT:\n",output ^ SyntaxError: invalid syntax
Yoriz write Jun-23-2021, 05:22 PM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Messages In This Thread
RE: Help converting python qt4 script to qt5 - by Bladeforce - Jun-23-2021, 04:59 PM

Forum Jump:

User Panel Messages

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