On 19Apr2015 15:09, Cameron Simpson wrote:
On 18Apr2015 23:26, boB Stepp wrote:
On Sat, Apr 18, 2015 at 11:08 PM, Cameron Simpson wrote:
Sometimes you want a "deep" copy, where "b" would have got a copy of the
iriginal x-y list. See the "copy" module's "deepcopy" function, which
supplies thi
On 18Apr2015 23:26, boB Stepp wrote:
On Sat, Apr 18, 2015 at 11:08 PM, Cameron Simpson wrote:
Sometimes you want a "deep" copy, where "b" would have got a copy of the
iriginal x-y list. See the "copy" module's "deepcopy" function, which
supplies this for when it is needed:
https://docs.pytho
On Sat, Apr 18, 2015 at 11:08 PM, Cameron Simpson wrote:
> Sometimes you want a "deep" copy, where "b" would have got a copy of the
> iriginal x-y list. See the "copy" module's "deepcopy" function, which
> supplies this for when it is needed:
>
> https://docs.python.org/3/library/copy.html#copy.
On 18Apr2015 22:03, Bill Allen wrote:
On Apr 18, 2015 4:11 PM, "boB Stepp" wrote:
On Sat, Apr 18, 2015 at 3:28 PM, Bill Allen wrote:
> On Apr 18, 2015 7:50 AM, "Peter Otten" <__pete...@web.de> wrote:
>> You can test your newfound knowledge by predicting the output of the
>> following script:
On Sat, Apr 18, 2015 at 10:03 PM, Bill Allen wrote:
>
> On Apr 18, 2015 4:11 PM, "boB Stepp" wrote:
>>
>> On Sat, Apr 18, 2015 at 3:28 PM, Bill Allen wrote:
>> > On Apr 18, 2015 7:50 AM, "Peter Otten" <__pete...@web.de> wrote:
>> >
>> >> Bill Allen wrote:
[...]
>> >> You can test your newfound
On Sat, Apr 18, 2015 at 5:46 PM, Dave Angel wrote:
> I'd still point out that eventually people will presumably get to believing
> in your program. They'll subconsciously assume that if they mess up, the
> program will notice, so they don't have to be as careful as they otherwise
> would.
Well
On Apr 18, 2015 4:11 PM, "boB Stepp" wrote:
>
> On Sat, Apr 18, 2015 at 3:28 PM, Bill Allen wrote:
> > On Apr 18, 2015 7:50 AM, "Peter Otten" <__pete...@web.de> wrote:
> >
> >> Bill Allen wrote:
> >>
> >> > Everyone that responded,
> >> >
> >> > Thanks very much for the excellent explanations! T
Hello Ni'Yana, and welcome!
On Fri, Apr 17, 2015 at 06:11:00PM +, niyanax...@gmail.com wrote:
> Hello I need guidance trying to solve my assignment. I am completely
> lost when using maps with linked lists. I understand linked lists
> though. May someone work with me?
We will not do your h
On 04/18/2015 03:01 PM, boB Stepp wrote:
As I final note I want to emphasize that I am not writing a program to
*create* a treatment plan. Nor am I writing a program that can *alter*
an existing treatment plan. It is merely reading output from the
treatment plan and evaluating that output agains
On Sat, Apr 18, 2015 at 3:28 PM, Bill Allen wrote:
> On Apr 18, 2015 7:50 AM, "Peter Otten" <__pete...@web.de> wrote:
>
>> Bill Allen wrote:
>>
>> > Everyone that responded,
>> >
>> > Thanks very much for the excellent explanations! The distinction between
>> > a reference to an object and a sepe
print(b) will print the original copy of a which b now references which is
[1, ["x", "y"], 3]
On Apr 18, 2015 7:50 AM, "Peter Otten" <__pete...@web.de> wrote:
> Bill Allen wrote:
>
> > Everyone that responded,
> >
> > Thanks very much for the excellent explanations! The distinction between
> > a
On Fri, Apr 17, 2015 at 2:28 PM, Alan Gauld wrote:
> On 17/04/15 14:26, boB Stepp wrote:
>>
>> Solaris 10, Python 2.4.4
>>
[...]
> That's why GUI printing generally uses an entirely different
> technique to print things (see my earlier email). In essence
> this requires you to separate the data
On 18/04/15 18:03, boB Stepp wrote:
Have these types of methods ever been considered for tkinter?
I don't follow the TK and Tkinter mailing lists closely.
You are probably better asking there.
There is a gmane news feed for a Tkinter mailing list
as well as an archive
gmane.comp.python.tkint
On 18/04/15 20:30, boB Stepp wrote:
line screens. Actual measurements has shown that function length (within
reason!) is not a major factor in comprehension or reliability.
Would not your comments above apply to line length as well?
Actually no.
Research has shown that people's comprehension
On Thu, Apr 16, 2015 at 4:03 PM, Alan Gauld wrote:
> On 16/04/15 17:47, boB Stepp wrote:
[...]
> 2) I have seen varying recommendations as to number of lines of code
>
> Most of these come from the days when we worked on dumb terminals with 24
> line screens. Actual measurements has shown that f
On Thu, Apr 16, 2015 at 1:43 PM, Peter Otten <__pete...@web.de> wrote:
> However, there's more to it. You are working in an environment where people
> may be harmed if you get your numbers wrong, and nothing hinders you to swap
> the arguments in your percent2Gy() function or even pass it a length
On Thu, Apr 16, 2015 at 2:54 AM, Peter Otten <__pete...@web.de> wrote:
> boB Stepp wrote:
>
>>> import Tkinter as tk
>>
>> Question: I have been using "from Tkinter import *" as suggested in
>> "Programming Python" by Lutz. He remarks that unlike other situations,
>> this is generally safe with Tki
On Fri, Apr 17, 2015 at 7:04 PM, Laura Creighton wrote:
> In a message of Fri, 17 Apr 2015 21:06:35 +0100, Alan Gauld writes:
>>On 17/04/15 15:29, Laura Creighton wrote:
>>
>>> just use kivy, which has the advantage that is runs under IOS and
>>> Android out of the box.
>>
>>But does Kivy support
>
>
> I hate when teachers ask students to do stupid stuff like this.
> It encourages so many bad practices it's positively dangerous!
> If they must have them reinvent the wheel at least let them
> use the native Python list to do it!
>
>
I suspect that the instructor is using Python as a second
Bill Allen wrote:
> Everyone that responded,
>
> Thanks very much for the excellent explanations! The distinction between
> a reference to an object and a seperate copy of the object is quite clear
> now.
You can test your newfound knowledge by predicting the output of the
following script:
Everyone that responded,
Thanks very much for the excellent explanations! The distinction between a
reference to an object and a seperate copy of the object is quite clear now.
--Bill
On Apr 18, 2015 1:44 AM, "Alan Gauld" wrote:
> On 18/04/15 04:16, Bill Allen wrote:
>
>> If I have a list defi
21 matches
Mail list logo