Re: Keeping console window open

2009-06-07 Thread Tomasz Zieliński
ons, so you can try:...except: them. -- Tomasz Zieliński http://pyconsultant.eu -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get local copy of docs?

2009-06-07 Thread Tomasz Zieliński
s Windows installer). -- Tomasz Zieliński http://pyconsultant.eu -- http://mail.python.org/mailman/listinfo/python-list

Re: 3.2*2 is 9.6 ... or maybe it isn't?

2009-06-25 Thread Tomasz Zieliński
On 25 Cze, 20:04, Bojan Sudarevic wrote: > > I wasn't particularly good in math in school and university, but I'm > pretty sure that 3.2*3 is 9.6. > It's not math, it's floating point representation of numbers - and its limited accuracy. Type 9.6 and you'

fork, threads and proper closing

2009-06-28 Thread Tomasz Pajor
reads. Is there any work around? Can I somehow run join for the thread on keyboard interrupt? -- Best regards Tomasz Pajor -- http://mail.python.org/mailman/listinfo/python-list

Re: fork, threads and proper closing

2009-06-28 Thread Tomasz Pajor
On 28 juin, 23:26, Tomasz Pajor wrote: Hello, Configuration is as follows. I have a starter process which creates 3 sub processes (forks) and each of this processes creates a number of threads. Threads in that processes have semaphore so on KeyboardInterrupt without sending a sigterm to

Re: #elements of seq A in seq B

2009-08-19 Thread Tomasz Rola
tree from elements of A and use it to count elements of B. I.e., tree nodes would be counters. Building trees in Python, however, I guess it is a little bit tricky. Of course it is possible. But maybe you would rather have this tree maintained in C. Regards Tomasz Rola -- ** A C programmer aske

Re: Is Python what I need?

2009-08-23 Thread Tomasz Rola
s, if this is going to be "let's show them how interesting it is", you should stay away from languages more complicated, like Java. Those who are going to learn Java, will learn it anyway. Knowing something different and cool first should not kill them. Quite the contrary, i

Re: What python can NOT do?

2009-08-28 Thread Tomasz Rola
fragile code, so I decided it could be easier to learn another language... Regards, Tomasz Rola -- ** A C programmer asked whether computer had Buddha's nature. ** ** As the answer, master did "rm

Re: What python can NOT do?

2009-08-29 Thread Tomasz Rola
; > > > -tkc > > > > if you don't know the answer please don't reply > > If you want to ask a silly question don't ask it. The question the OP asked was not silly. Regards, Tomasz Rola -- ** A C programmer asked whether computer had Bu

Re: What python can NOT do?

2009-08-29 Thread Tomasz Rola
On Sat, 29 Aug 2009, Steven D'Aprano wrote: > On Sat, 29 Aug 2009 05:37:34 +0200, Tomasz Rola wrote: > > > My private list of > > things that when implemented in Python would be ugly to the point of > > calling it difficult: > > > > 1. AMB operator - m

naming the main module in embedded Python

2010-09-21 Thread Tomasz Koziara
Hi I am embedding Python as an interpret in my code. Now, whenever my code or Python itself issues an error/warning message I am getting something like: File "", line 1, in or __main__:46: RuntimeWarning: My warning message I am using PyRun_SimpleString to load part of the code and the

Re: [Glitch?] Python has just stopped working

2017-02-23 Thread tomasz . wisniewski . gm
W dniu wtorek, 16 lutego 2016 21:09:50 UTC+1 użytkownik Theo Hamilton napisał: > I woke up two days ago to find out that python literally won't work any > more. I have looked everywhere, asked multiple Stack Overflow questions, > and am ready to give up. Whenever I run python (3.5), I get the follo

Re: case insensitive dictionary

2006-11-25 Thread tomasz . kulawik . groups . 1
John Henry napisal(a): > I believe the standard dictionary should be amened to allow the use of > case insensitive keys - as an option. I found some work done by others > to do that at: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/283455 > > but the problem with that approach is tha

<    1   2