Caledonian26 wrote:
> However, I keep getting the error:
>
> IndexError: list index out of range.
>
> Could anyone give me a helping hand
> as to where I am going wrong?
>
I appended a single arbitrary value for limits
since the limits list had not been previously
initial
On 8/06/20 10:38 AM, MRAB wrote:
On 2020-06-07 23:24, DL Neil via Python-list wrote:
On 8/06/20 7:06 AM, Caledonian26 wrote:
...
However, I keep getting the error: IndexError: list index out of
range. Could anyone give me a helping hand as to where I am going wrong?
When things go wrong, Py
On 2020-06-07 23:24, DL Neil via Python-list wrote:
On 8/06/20 7:06 AM, Caledonian26 wrote:
...
However, I keep getting the error: IndexError: list index out of range. Could
anyone give me a helping hand as to where I am going wrong?
When things go wrong, Python tries to be helpful by provi
On 8/06/20 7:06 AM, Caledonian26 wrote:
...
However, I keep getting the error: IndexError: list index out of range. Could
anyone give me a helping hand as to where I am going wrong?
When things go wrong, Python tries to be helpful by providing a
"traceback". Please copy-paste the entire tra
I have the following command below.
The overall aim is to allow the user to select a Y-value by pressing on the bar
graph. The colour of each bar should then change depending on what this Y-value
is.
import pandas as pd
import numpy as np
from scipy import stats
import matplotlib.pyplot as plt
I have a python script for a game and the problem is that after running the
game, the blocks start falling, but the game over message is not popping up at
proper times. Here is my script:
import pygame
import time
import random
pygame.init()
display_width = 800
display_height = 600
black = (0
On 6/22/14, 5:15 AM, peter.balazo...@emspin.com wrote:
Do I miss something in code or incorrectly handling the events or COM Object?
There is a pywin32 mailing list that may be able to offer more help here.
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://ww
On Sun, Jun 22, 2014 at 9:55 PM, wrote:
> You right, this is a typo here - I am sorry for this but event handler does
> not work... fmstr application is freezing and event handler does not work. I
> need to restart python to unfreeze my application.
>
I can't help further, then. I'm not experi
On Sunday, June 22, 2014 12:09:51 PM UTC+2, Chris Angelico wrote:
> On Sun, Jun 22, 2014 at 7:15 PM, wrote:
>
> > This code works on python console but there is no event fired.
>
> >
>
> class fmstrEvents(object):
>
> > ... def OnRecroderDone(self):
>
> > ... print "
On Sun, Jun 22, 2014 at 7:15 PM, wrote:
> This code works on python console but there is no event fired.
>
class fmstrEvents(object):
> ... def OnRecroderDone(self):
> ... print "Hello OnRecroderDone"
Is that supposed to say "OnRecroderDone" or "OnRecorderDone"? I can't
Dears,
I have a problem with firing Events and event handling on COM object.
This code works on python console but there is no event fired.
>>> class fmstrEvents(object):
... def OnRecroderDone(self):
... print "Hello OnRecroderDone"
>>> i
n of the sleep blocks the actual task and the event handling dosn't
work.
Now I search for a solution to start the event class in a extra task with
treahding.Thread.
I've write a simple claas for testing of this:
class Tester (threading.Thread):
def __init__ (self, variable
Hi,
I want know how can I control Canoe tool from Python. I want to use Python as
the mediator for linking CANoe and Matlab.
Please give me some inputs regarding this.
Thanks & Regards
Nadhiya.A
Larsen & Toubro Limited
www.larsentoubro.com
This Email may contain confidential or privileged in
On Tue, Feb 9, 2010 at 5:20 AM, Bujji wrote:
> hi all,
> any event handling mechanisms in python ?
> i want event handler examples in python
>
dont know if it is this that you are looking for:
http://home.gna.org/py-notify/
>
>
> Thanks
> Bujji
>
>
>
>
hi all,
any event handling mechanisms in python ?
i want event handler examples in python
Thanks
Bujji
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 1, 2:22 pm, sirjee wrote:
> hello;
>
> i m facing a problem in handling events on change of value of
> environment variable in a toolCANoe.
>
> class CANoeEvents:
> def OnChange(self,value):
> print "value of environment variable has changed"
> def OnOpen(self,App):
>
hello;
i m facing a problem in handling events on change of value of
environment variable in a tool CANoe.
class CANoeEvents:
def OnChange(self,value):
print "value of environment variable has changed"
def OnOpen(self,App):
print "opening Application"
App_Event = Dispatch
On Jun 30, 6:20 pm, Ala wrote:
> Hello everyone,
>
> I intend to use python for some network graph plotting, with event
> handling (clicking on network nodes, zooming in/out etc..) and so far I
> have come across two good candidates which are Matplotlib and Ubigraph.
>
>
Hello everyone,
I intend to use python for some network graph plotting, with event
handling (clicking on network nodes, zooming in/out etc..) and so far I
have come across two good candidates which are Matplotlib and Ubigraph.
Did anyone have any experience with either of them for dynamic
GUI in Qt is nice (personal opinion obviously).
>
> To comne back to your question:
>
>> why he still need another mechanism
>> Event Handling?
>
> This is actually a Qt question: why have event handling for some
> things, and signal/slot for some others ?
>
> My opinion
o
emulate them using the Python language. In C++ however, it's tricky to
do signal/slots in pure C++ and this addition is one of the reason
that programming GUI in Qt is nice (personal opinion obviously).
To comne back to your question:
> why he still need another mechanism
> Event Handli
On Mon, Jan 19, 2009 at 5:49 PM, Steven Woody wrote:
> I am reading mark summerfield's book Rapid GUI Programming with Python
> and Qt, chapter 6. In the example code, it inserted customized
> behavior when user selects file->exit by overriding closeEvent() event
> handler, but in other context, w
On Mon, Jan 19, 2009 at 11:29 AM, James Mills
wrote:
> On Mon, Jan 19, 2009 at 1:10 PM, Steven Woody wrote:
>> Python has Signal-Slot mechanism, why he still need another mechanism
>> Event Handling? And, in some cases, it seems only Event Handling
>> mechanism is a
On Mon, Jan 19, 2009 at 1:10 PM, Steven Woody wrote:
> Python has Signal-Slot mechanism, why he still need another mechanism
> Event Handling? And, in some cases, it seems only Event Handling
> mechanism is available, for example closeEvent(). For what case and
> for what reason
Hi,
Python has Signal-Slot mechanism, why he still need another mechanism
Event Handling? And, in some cases, it seems only Event Handling
mechanism is available, for example closeEvent(). For what case and
for what reason, the python think Signal Slot is not enough and will
not work?
Thanks
Thanks for the feedback. It is greatly appreciated.
Let me check out your references and see where they take me.
Will post back and let you know how useful this was.
thanks! Lee
--
http://mail.python.org/mailman/listinfo/python-list
Lee,
have you considered using the Model-View-Presenter pattern? There is a nice
example on the wxPython wiki:
http://wiki.wxpython.org/ModelViewPresenter
This scales well to complex GUIs. Grasping the concept and writing the
initial code is the difficult part. Code is then much easier to deve
On Sep 9, 3:05 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I have just started writing a GUI using wxpython after finding a
> limitation using Tkinter. I have read most tutorials on wxpython and
> slowly becoming accustomed considering I started with the latter GUI
> tool first!
> I must quote first tha
Hi,
I have just started writing a GUI using wxpython after finding a
limitation using Tkinter. I have read most tutorials on wxpython and
slowly becoming accustomed considering I started with the latter GUI
tool first!
I must quote first that I am a novice user of python so the issue(s) I
have may
On Jan 30, 11:16 am, Peter Nemeth <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> I am working on a stellar spectral analysis pipeline in Python. My OS is
> Suse 10.0, and i use Python 2.5 . I have found difficulties with keyboard
> event handling. My code communicates with the user th
Hi ,
I am working on a stellar spectral analysis pipeline in Python. My OS is
Suse 10.0, and i use Python 2.5 . I have found difficulties with keyboard
event handling. My code communicates with the user through an xterm window
and shows graphs in a Gnuplot window. At a certain point i start
Hi,
I have a component that i can only access through late binding.
This is working fine , i can use all the exposed methods , but i can't
register (/don't know how to ) event handlers for this component. Is
there someone that knows how to do it or who can spot me a example.
Thx
--
http://ma
I have a class in which I have created an instance QScrollView and
added a QDialog inside it using addChild().I have Ok and Cancel button
in the Dialog.When either Ok or Cancel is clicked the Dialog is closed
properly (receiving accept or reject signals). I have a exec loop on
the Dialog.
When I c
John Hunter wrote:
> I have a curses app that is displaying real time data. I would like
> to bind certain keys to certain functions, but do not want to block
> waiting for
>
> c = screen.getch()
>
> Is it possible to register callbacks with curses, something like
>
> screen.register('ke
I have a curses app that is displaying real time data. I would like
to bind certain keys to certain functions, but do not want to block
waiting for
c = screen.getch()
Is it possible to register callbacks with curses, something like
screen.register('keypress', myfunc)
Thanks,
JDH
--
ht
Hi,
Maybe something like this...
from Tkinter import *
import itertools
class Application(Frame):
def __init__(self, master=None):
Frame.__init__(self, master)
self.grid()
self.createWidgets()
def createWidgets(self):
self.stop = Button(self,text='Emerge
Chris Line wrote:
> When the 'stop' button is selected after 'count', it does
> not execute until the count command finishes at 500.
> Instead, it is desired to stop counting immediately and
> execute the 'stop' method.
>
> Is there a simple way to handle this situation?
calling self.update() at
The application below has two buttons, 'count' and 'stop'.
When the 'stop' button is selected after 'count', it does not execute until the count command finishes at 500. Instead, it is desired to stop counting immediately and execute the 'stop' method.
Is there a simple way to handle this situ
38 matches
Mail list logo