Re: [Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread Laura Creighton
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 hard copy printing? >That's pretty unusual behaviour on >tablets/

Re: [Tutor] lists, name semantics

2015-04-17 Thread Alan Gauld
On 18/04/15 04:16, Bill Allen wrote: If I have a list defined as my_list = ['a','b','c'], what is the is differnce between refering to it as my_list or my_list[:]? These seem equivalent to me. Is that the case? Is there any nuance I am missing here? Situations where one form should be used

Re: [Tutor] lists, name semantics

2015-04-17 Thread Dave Angel
On 04/17/2015 11:51 PM, Ben Finney wrote: Ben Finney writes: Bill Allen writes: If I have a list defined as my_list = ['a','b','c'], what is the is differnce between refering to it as my_list or my_list[:]? ‘my_list’ is a reference to the object you've already described (the existing obje

Re: [Tutor] lists, name semantics

2015-04-17 Thread Ben Finney
Ben Finney writes: > Bill Allen writes: > > > If I have a list defined as my_list = ['a','b','c'], what is the is > > differnce between refering to it as my_list or my_list[:]? > > ‘my_list’ is a reference to the object you've already described (the > existing object ‘['a', 'b', 'c']’). > > ‘my_

Re: [Tutor] lists, name semantics

2015-04-17 Thread Martin A. Brown
Good evening Bill, If I have a list defined as my_list = ['a','b','c'], what is the is differnce between refering to it as my_list or my_list[:]? These seem equivalent to me. Is that the case? Is there any nuance I am missing here? Situations where one form should be used as opposed to th

Re: [Tutor] lists, name semantics

2015-04-17 Thread Ben Finney
Bill Allen writes: > If I have a list defined as my_list = ['a','b','c'], what is the is > differnce between refering to it as my_list or my_list[:]? ‘my_list’ is a reference to the object you've already described (the existing object ‘['a', 'b', 'c']’). ‘my_list[:]’ is an operation that takes

[Tutor] lists, name semantics

2015-04-17 Thread Bill Allen
If I have a list defined as my_list = ['a','b','c'], what is the is differnce between refering to it as my_list or my_list[:]? These seem equivalent to me. Is that the case? Is there any nuance I am missing here? Situations where one form should be used as opposed to the other? Thanks, Bill

Re: [Tutor] Unicode encoding and raw_input() in Python 2.7 ?

2015-04-17 Thread Dave Angel
On 04/17/2015 04:39 AM, Samuel VISCAPI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, This is my first post to that mailing list if I remember correctly, so hello everyone ! Welcome to the list. I've been stuck on a simple problem for the past few hours. I'd just like raw_input

Re: [Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread Alan Gauld
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 hard copy printing? That's pretty unusual behaviour on tablets/phones. If so can you show us a short example of how it works. (Technically

Re: [Tutor] Unicode encoding and raw_input() in Python 2.7 ?

2015-04-17 Thread Alan Gauld
On 17/04/15 09:39, Samuel VISCAPI wrote: hello everyone ! Hello, and welcome. I've been stuck on a simple problem for the past few hours. I'd just like raw_input to work with accentuated characters. For example: firstname = str.capitalize(raw_input('First name: ')) where firstname could be

Re: [Tutor] =Linked List Using Map

2015-04-17 Thread Alan Gauld
On 17/04/15 19:11, 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. Unfortunately we do not. Linked lists aren't really a native Python type and maps are a native type

Re: [Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread Alan Gauld
On 17/04/15 14:26, boB Stepp wrote: Solaris 10, Python 2.4.4 Thanks to earlier help from this list, I can now print a particular Tkinter-generated window. But this will only print what is currently viewable on the screen. Because it is effectively taking a screen shot. In the case of scrolle

[Tutor] Unicode encoding and raw_input() in Python 2.7 ?

2015-04-17 Thread Samuel VISCAPI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, This is my first post to that mailing list if I remember correctly, so hello everyone ! I've been stuck on a simple problem for the past few hours. I'd just like raw_input to work with accentuated characters. For example: firstname = str.capi

[Tutor] =Linked List Using Map

2015-04-17 Thread niyanaxx95
Sent from Windows Mail From: Ni'Yana Morgan Sent: ‎Friday‎, ‎April‎ ‎17‎, ‎2015 ‎2‎:‎06‎ ‎PM To: tut...@python.org 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

Re: [Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread Laura Creighton
>While I can probably make this >approach work (It *seems* conceptually simple.), I cannot help but >feel there is a much better way... Tkinter is very old software. This sort of scrolling you want was in no way common when Tkinter was new. For things like this, I just use kivy, which has the ad

Re: [Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread boB Stepp
On Fri, Apr 17, 2015 at 9:29 AM, Laura Creighton wrote: >>While I can probably make this >>approach work (It *seems* conceptually simple.), I cannot help but >>feel there is a much better way... > > Tkinter is very old software. This sort of scrolling you want was > in no way common when Tkinter

Re: [Tutor] Fraction - differing interpretations for number and string - presentation

2015-04-17 Thread Oscar Benjamin
On 17 April 2015 at 03:29, Steven D'Aprano wrote: > On Thu, Apr 16, 2015 at 03:11:59PM -0700, Jim Mooney wrote: > >> So the longer numerator and denominator would, indeed, be more accurate if >> used in certain calculations rather than being normalized to a float - such >> as in a Fortran subrouti

[Tutor] How to print ALL contents of a scrolled Tkinter window?

2015-04-17 Thread boB Stepp
Solaris 10, Python 2.4.4 Thanks to earlier help from this list, I can now print a particular Tkinter-generated window. But this will only print what is currently viewable on the screen. In the case of scrolled information that is currently outside the viewing area, it would be missed by such a pri