Hi,
Im new to PyQt4 and im having fun using it. but ive run into a bit of
a problem. I cant quit the application.
The application has 2 modules. The gui module(gui.py) and then the
main program(main.py)
heres gui.py:
from PyQt4 import QtCore, QtGui
import sys
from subprocess import Popen
class Ui_
Thanks!, i have found that alternately setting shell=True also works
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
for a certain app, i used to use a command:
os.system("soundwrapper espeak -f line.txt")
now, if i wanted to kill espeak, i would have to run:
os.system("killall espeak")
since the subprocess module allows sending SIGKILL to the process, i
decided to switch to using it. However i cant pass t
Hello,
I had used python on windows and one of the features i liked best was
that you could start a module-docs server and then use firefox to
access it. This would show module-docs for all modules you had
installed(including any 3rd party installs) . How do i do this on
linux?
regards
Soumen
--
ht
Hello,
I have just installed and run python 2.6.2 from the sources available
on the website. I notice that SPE (the editor which i used with python
2.5) is not displaying some of the functions new in 2.6 as
autocomplete options. Is there any IDE with support for autocomplete
in python 2.6 with all
Hello,
I'd like a little more help with the following lines:
root.change_attributes(event_mask = X.KeyPressMask)
for keycode in keys:
root.grab_key(keycode, X.AnyModifier, 1,X.GrabModeAsync,
X.GrabModeAsync)
what exactly do they do?
regards
Sou
Hello,
I was trying to find a method to make global hotkeys with python in
linux. I found this one which uses a library called python-xlib. The
point is that since i dont have much experience with this, i cant
understand some of the code. Can someone please explain to me how this
code works? Accor
Hello,
Im not adding any GUI elements from the changer thread. Im just
attempting to change the value of a preexisting widget made in thread
one. The point is that i need to display text generated in thread 2 in
a GUI generated in thread 1.
As far as inter thread synchronization is concerned, i see
start()
I still get guithread object has no attribute frame_1. I must be doing
something wrong
On Fri, May 1, 2009 at 9:27 AM, Soumen banerjee wrote:
> Hello,
> you say that frame_1 is an attribute of the main class. The main
> class here is guithread right? so any instance of guithread sh
:05 AM, CM wrote:
> On Apr 30, 9:54 pm, Soumen banerjee wrote:
>> Hello,
>> I am using wxglade to design a gui which i am using in another script.
>> Here are the codes
>>
>> The main file:
>> import wx,gui,threading
>> class guithread(threadin
Hello,
I am using wxglade to design a gui which i am using in another script.
Here are the codes
The main file:
import wx,gui,threading
class guithread(threading.Thread):
def run(self):
app = wx.PySimpleApp(0)
wx.InitAllImageHandlers()
self.frame_1 = gui.MyFrame(None, -1, "
Hello,
I want to know how i can choose a background color in
tkfiledialog.askopenfilename()?
Due to a certain theme i am using, i cant see any text and changing
the theme settings dont seem to affect the file dialog
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I am writing a little program where i have an array the elements of
which i want to display upon keypresses by the user. The only way on
linux seems like using getch() from the curses library. I wanted a
simpler solution than having to use curses for such a simple thing.
any ideas?
Regards
S
he sampled values and put them into an array.
Regards
Soumen
On Wed, Mar 25, 2009 at 12:15 PM, Steven D'Aprano
wrote:
> On Wed, 25 Mar 2009 11:26:00 +0530, Soumen banerjee wrote:
>
>> Hello,
>> I'm kind of new to python and i wanted to do a little project, make a
>&
Hello,
I'm kind of new to python and i wanted to do a little project, make a
frequency plot of some wav audio. I have been following this webpage
http://www.acronymchile.com/sigproc.html and have got to the making of
a dat file containing the samples and time of sampling. The question
here is how d
15 matches
Mail list logo