Re: Can Python function return multiple data?

2015-06-03 Thread random832
On Wed, Jun 3, 2015, at 17:56, Mark Lawrence wrote: > Now does Python pass by value or by reference? Happily sits back and > waits for 10**6 emails to arrive as this is discussed for the 10**6th > time. Python's in that same awkward space as Java, where it technically passes by value, but the va

Re: Multiple thread program problem

2015-06-03 Thread Cameron Simpson
On 03Jun2015 19:59, M2 wrote: On Wednesday, June 3, 2015 at 7:38:22 PM UTC-5, Cameron Simpson wrote: I would be passing only "line" to proc, not "f" at all. Suggestion: move your main code into its own function. That will make all the variables in it "local". Your proc function is presently re

Re: Retrying to send message

2015-06-03 Thread Cecil Westerhof
Op Thursday 4 Jun 2015 01:15 CEST schreef Ethan Furman: > On 06/03/2015 01:37 PM, Mark Lawrence wrote: >> On 03/06/2015 19:28, Ethan Furman wrote: >>> On 06/03/2015 09:15 AM, Cecil Westerhof wrote: >>> I kept the except. I like to see the message that went wrong. ;-) >>> >>> That's fine, but

Re: Find in ipython3

2015-06-03 Thread Cecil Westerhof
Op Thursday 4 Jun 2015 04:54 CEST schreef Cameron Simpson: > On 02Jun2015 18:13, Cecil Westerhof wrote: >> I am thinking about using ipython3 instead of bash. When I want to >> find a file I can do the following: >> !find ~ -iname '*python*.pdf' >> but is there a python way? > > That succinct? No

Re: Find in ipython3

2015-06-03 Thread Cameron Simpson
On 04Jun2015 07:09, Cecil Westerhof wrote: Op Thursday 4 Jun 2015 04:54 CEST schreef Cameron Simpson: On 02Jun2015 18:13, Cecil Westerhof wrote: I am thinking about using ipython3 instead of bash. When I want to find a file I can do the following: !find ~ -iname '*python*.pdf' but is there a

Re: Everything is an object in python - object class and type class

2015-06-03 Thread Eddilbert Macharia
can you please stick to the point.take your differences else where.please.stay on target...some of us are learning... its annoying and tiring to have to read the insults and innuendo -- https://mail.python.org/mailman/listinfo/python-list

Re: Can Python function return multiple data?

2015-06-03 Thread Serhiy Storchaka
On 03.06.15 02:56, Chris Angelico wrote: On Wed, Jun 3, 2015 at 7:27 AM, fl wrote: I just see the tutorial says Python can return value in function, it does not say multiple data results return situation. In C, it is possible. How about Python on a multiple data return requirement? Technicall

<    1   2