PDA

View Full Version : linking functions with pyqt created buttons



KLIA
March 10th, 2009, 01:24 PM
hey guys;

i have a question about pyqt

in my interface developed using Qt designer i have few buttons that should be linked with python functions, my functions are in separate .py files but some of the functions when i execute them from terminal they should be in this syntax
waseem@home:~$python csv2sql.py -t my_table photos.csv | sqlite 3 photos.db

how can i be able to link such a function with this syntax in pyqt?