Re: Making it a MultiThread!

2013-09-23 Thread stas poritskiy
order. On Saturday, September 21, 2013 8:00:29 PM UTC-5, Piet van Oostrum wrote: > stas poritskiy writes: > > > > >> I am working on integration of multiple GUI (Tkinter) elements, such > > >> a progress bar, label update, etc, and throughout my research i

Re: Making it a MultiThread!

2013-09-20 Thread stas poritskiy
On Friday, September 20, 2013 7:56:16 AM UTC-5, stas poritskiy wrote: > Hello All! > > > > I have a general question, > > i was posting here earlier while trying to troubleshoot a few things while > developing an application, i was able to hit all of my goals, and ma

Re: dynamic function parameters for **kwargs

2013-09-20 Thread stas poritskiy
On Friday, September 20, 2013 10:51:46 AM UTC-5, bab mis wrote: > Hi , > > I have a function as below: > > > > def func(**kwargs): > > ... > > ... > > > > > > > > > > args="a='b',c='d'" > > > > i want to call func(args) so that my function call will take a var as an >

Making it a MultiThread!

2013-09-20 Thread stas poritskiy
Hello All! I have a general question, i was posting here earlier while trying to troubleshoot a few things while developing an application, i was able to hit all of my goals, and make things work! Thank you all who contributed to my research, and again, sorry for poor formatting of the threads

Re: Dealing with Lists

2013-09-11 Thread stas poritskiy
e previous element as its Parent. so if i make this manually as a pseudo code: chopGrp[0] #gets me "arms" print "Parent is: " + chopGrp[0] chopGrp[1][0] #gets me "a" print "Child is: " + chopGrp[1][0] and the next iteration should take the chopGrp[1][0] and ma

Re: Dealing with Lists

2013-09-11 Thread stas poritskiy
uot;arms" and if i need to get the second element, (which should be "a" i would call chopGrps[1] but instead, i get the REST of the lists stored there. so what position does "a" take in this nested list? and this same question would apply to the rest of the items Thanks guy

Re: Dealing with Lists

2013-09-10 Thread stas poritskiy
On Tuesday, September 10, 2013 10:13:48 PM UTC-5, Steven D'Aprano wrote: > On Wed, 11 Sep 2013 02:24:44 +, Dave Angel wrote: > > > > > On 10/9/2013 22:14, Steven D'Aprano wrote: > > > > > >> On Tue, 10 Sep 2013 14:08:45 -0700, stas poritskiy wrote:

Re: Dealing with Lists

2013-09-10 Thread stas poritskiy
the logic for that loop. let me know if you guys need more info from me. On Tuesday, September 10, 2013 10:13:48 PM UTC-5, Steven D'Aprano wrote: > On Wed, 11 Sep 2013 02:24:44 +, Dave Angel wrote: > > > > > On 10/9/2013 22:14, Steven D'Aprano w

Re: Dealing with Lists

2013-09-10 Thread stas poritskiy
Those simbols are just for visual representation. I need to store each of the first elements of a par, so I can reference to them as to a parent of another group. So head is parent of neck, while neck is parent of arms and so on. I'm not sure I understand how to apply your chop list example, d

Dealing with Lists

2013-09-10 Thread stas poritskiy
Greetings to all! i ran into a little logic problem and trying to figure it out. my case is as follows: i have a list of items each item represents a Group i need to create a set of nested groups, so, for example: myGroups = ["head", "neck", "arms", "legs"] i need to get them to be represen

Re: Dealing with Lists

2013-09-10 Thread stas poritskiy
there is a little bit more to this, but i think when i will be able to process the list the way i need it i can continue on my own. -- https://mail.python.org/mailman/listinfo/python-list

Re: how to trouble shoot - RuntimeError: Open Failed

2013-09-06 Thread stas poritskiy
pointing out that i was supposed to get IOError. that lead me to inspect code again and again :) anyways, thanks and sorry for the mess ) On Friday, September 6, 2013 1:49:57 PM UTC-5, Terry Reedy wrote: > On 9/6/2013 1:05 PM, stas poritskiy wrote: > > > The code in development is mi

Re: how to trouble shoot - RuntimeError: Open Failed

2013-09-06 Thread stas poritskiy
e i should show here - it would be very helpful. thanks! On Friday, September 6, 2013 10:39:04 AM UTC-5, Neil Cerutti wrote: > On 2013-09-06, stas poritskiy wrote: > > > I am working on application. App is processing a list of files > > > in folders. Folders act as a NEW-LOOP.

how to trouble shoot - RuntimeError: Open Failed

2013-09-06 Thread stas poritskiy
hey guys, I am working on application. App is processing a list of files in folders. Folders act as a NEW-LOOP. so if all files in one folder had been worked on, file is then saved and next folder is picked up. it works fine only if i have a SINGLE folder, however, when another folder is there, i

Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread stas
d paste it does it show a normal dialog? Stas -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.MessageDialog displayed without components inside

2005-08-14 Thread stas
_NO) Just a thought, do you cal the event loop ? Because this minimal example just works like it should. import wx app = wx.PySimpleApp() md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) result = md.ShowModal() app.MainLoop() Stas -- http://mail.python.org/mailman/listinfo/python-list

Re: wx.MessageDialog displayed without components inside

2005-08-13 Thread stas
cted result. So, there must be a reason but I > can't figure out why. Because in the shell you first have to type the Destroy call so the dialog has some time to live. :-) Stas -- http://mail.python.org/mailman/listinfo/python-list

Re: gettext again

2005-08-08 Thread stas
your test modules inside a directory and follow the instructions in side "FilesForTrans". Stas Z Contents of "FilesForTrans" cut here - ## These files contain i18n strings ## Use: xgettext -f ./FilesForTrans -p /tmp ## The message.po will be located in /tmp #

Re: gettext again

2005-08-08 Thread stas
On Mon, 08 Aug 2005 17:01:21 +0200, cantabile wrote: > stasz a écrit : > Wht ! Working at last, after three days... It wasn't the LANG param [...] > Anyways, you made my day my friend ! > Many many thanks ! Your welcome :-) Stas -- http://mail.python.org/mailman/listinfo/python-list

Re: Unknown locale nb_NO ?

2004-12-07 Thread Stas Z
On Tue, 07 Dec 2004 15:22:00 +0100, Ola Natvig wrote: > Stas Z wrote: >> Hello, >> >> Just noticed that the locale 'nb_NO' is not supported in Python?! >> [...] > I believe the standard locale for "Norsk bokmål" is 'no_NO'. You coul

Unknown locale nb_NO ?

2004-12-07 Thread Stas Z
lename(localename) File "/usr/lib/python2.3/locale.py", line 280, in _parse_localename raise ValueError, 'unknown locale: %s' % localename ValueError: unknown locale: nb_NO >>> Any help would appreciated. Thanks, Stas -- http://mail.python.org/mailman/listinfo/python-list