pyqt qt3 python GUI command line wrapper application help

I'm attempting to make a KDE (or really Gnome or whatever) GUI wrapper application for a command line command using a QT Designer interface I made, which is then compiled and just called from my otherfile.py. I want to use radio buttons to add command switches, so "click here to enable recursive", which would put -r in the command to be run, stuff like that. I have a working app, but it has a couple bugs: 1. the command line argument insertion I mentioned above doesn't exist, and 2. I'm trying to port the output back to the Qlistbox from tail -f of a the logfile generated while running the command, which isn't working. Here's what I have:

# set filename and open file

filename = '/var/log/[url removed, login to view]'

file = open(filename, 'r')

#Find file size and move to end

st_results = [url removed, login to view](filename)

st_size = st_results[6]

[url removed, login to view](st_size)

while 1:

where = [url removed, login to view]()

line = [url removed, login to view]()

if not line:

[url removed, login to view](1)

[url removed, login to view](where)


[url removed, login to view](file)

but I'm getting a "[url removed, login to view]() has an invalid type" error message. Someone suggested to use Qprocess, I'm not sure what would work best. There are some other super minor things, but basically my application works, except these 2 things. I will be doing more on the project later, so maybe if it works out, I can keep your information and have you help more.

Kemahiran: Python

Lihat lagi: python command line wrapper, gui wrapper command line, python command line gui, qt3 designer python, command line gui python, pyqt qt3, pyqt gui wrapper, python qprocess example, glade python radio button, pyqt radio button, pyqt wrapper, command line wrapper, pyqt sleep, cli gui python, insertitem invalid type, python gui command line, wrapper application, work seek, working for seek, where to find a designer, where to find a app designer, where i can find designer, where can i find a app designer, what is seek, what is recursive

Tentang Majikan:
( 28 ulasan ) selma, United States

ID Projek: #356112

Dianugerahkan kepada:


Greetings. I'm a professional programmer and have some experience with PyQt. It doesn't look like a difficult task. About the code above. You pass 'file' into the method insertItem. Should you pass the 'line' ins Lagi

$30 USD dalam sehari
(3 Ulasan)

3 pekerja bebas membida secara purata $43 untuk pekerjaan ini


I have experience with PyGTK and python. It uses glade interface designer and is cross platform. I can create any gui using glade and add necessary signal mechanism to handle the events. If you accept GTK, you can ask Lagi

$50 USD dalam 4 hari
(0 Ulasan)

Its a simply task. I can make it really quicker with python and GTK because i work all day with it. Regards.

$49 USD dalam sehari
(0 Ulasan)