Top/Bottom posting...

Folks,

I know that ranking on people for Top posting is all teh rage now --
but I dont' get it -- yes, To posting reverses the logical progression
-- but how often do you need to follow the logical progression from a
single email late in the thread?

On the other hand, consider the message below. This poster dutifully
bottom posted, but I had to waste my time scrolling down to find out
there was nothing useful there at all. I find that far more annoying
than a top post.

My lesson's learned from all this:

* keeping all the old content in your email is ugly and bad -- just
keep the relevant bits.

* perhaps there is never a need for simple "thanks" posts for groups.

* though the "yes, that worked" notes are nice for the archives.

I think in the end, the way to do it right it to be thoughtful about
-- some times top posting gmakes sense, sometimes bottom posting, and
sometimes (most of the time, if you ask me), interspersing your new
stuff with the relevant bits of the earlier posts is best.

Interestingly, I've often top posted when it seems to me to make the
most sense, and I'm pretty sure I've never gotten a "please don't top
post" message -- on this list or any other.

(Yes, I know this is a Top Post!, but only sort-of, as it's a new
thread, and the quoted material is for reference, not directly what
I'm responding to...)

Food for thought.

-Chris

···

-----Mensaje original-----
De: VC <napoleonics@gmail.com>
Reply-to: wxpython-users@googlegroups.com
Para: wxPython-users <wxpython-users@googlegroups.com>
Asunto: [wxPython-users] Re: Call function outside the class
Fecha: Tue, 3 Apr 2012 21:17:24 -0700 (PDT)

On Apr 3, 9:47 pm, craf <abarz...@gmail.com> wrote:

>-----Mensaje original-----
>De: VC <napoleon...@gmail.com>
>Reply-to: wxpython-users@googlegroups.com
>Para: wxPython-users <wxpython-users@googlegroups.com>
>Asunto: [wxPython-users] Re: Call function outside the class
>Fecha: Tue, 3 Apr 2012 19:38:17 -0700 (PDT)
>One more thing:
>if you decide you want the function out of the class it should be:
>def OnClick(evt):
> app.MainWindow.button.SetLabel('Clicked')
>Again because the function is out of the class it has no attribute
>self.
>self points to the class it belongs to. So since you are not in the
>class you have to manually point to the function which in this case
>is:
>app.MainWindow
>VC

Hi VC

Thanks for the Tips!

Best Regards

Cris

Hi cris,

I actually made a mistake, it is window.button.SetLabel('clicked')

I did not pay attention to how you set up your app.
here is the code, i tested it, it works.

import wx
class MainWindow(wx.Frame):
   def __init__(self):
       wx.Frame.__init__(self, None, -1, 'Button Example', size=(300,
100))
       self.panel = wx.Panel(self, -1)
       self.button = wx.Button(self.panel, -1, "Hello", pos=(50,
20))
       self.button.SetDefault()
       self.button.Bind(wx.EVT_BUTTON, OnClick)

def OnClick(event):
   window.button.SetLabel("Clicked")

if __name__ == '__main__':
   app = wx.App()
   window = MainWindow()
   window.Show()
   app.MainLoop()

No problems, ;=)

Best Regards.

Cris

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Hi Chris,

Folks,

I know that ranking on people for Top posting is all teh rage now --
but I dont' get it -- yes, To posting reverses the logical progression
-- but how often do you need to follow the logical progression from a
single email late in the thread?

I am definitely guilty of asking people relatively often to bottom post, but should probably say "Please bottom or intersperse post and remove unneeded" - but I think/hope that I always wait for quit a few posts and mostly do it when the thread goes on for a while.

1. I am definitely one who prefers bottom and/or interspersing post with removal of irrelevant stuff.
2. On this list it makes sense to me as often threads go on for some time and having sometimes bottom, sometimes top and sometimes interspersing makes a thread unusable as a future reference.

...

* perhaps there is never a need for simple "thanks" posts for groups.

no need, but it is nice:-)

...

I think in the end, the way to do it right it to be thoughtful about
-- some times top posting gmakes sense, sometimes bottom posting, and
sometimes (most of the time, if you ask me), interspersing your new
stuff with the relevant bits of the earlier posts is best.

On the LibrOffice list it has become this and in my view it is a mess especially if you come late to the thread it is very difficult if not impossible to follow what is being recommended as a solution.

Interestingly, I've often top posted when it seems to me to make the
most sense, and I'm pretty sure I've never gotten a "please don't top
post" message -- on this list or any other.

I wouldn't dare telling you too, just kidding.

Werner

···

On 04/04/2012 20:40, Chris Barker wrote: