Re: [Tutor] Wondering if there is a print in location command for terminal?

2015-02-09 Thread eryksun
On Mon, Feb 9, 2015 at 6:40 PM, Alan Gauld wrote: > > Yes curses is probably the best fit here. It doesn't work > so well on Windows but on Linux/MacOS it does a good job. curses for Windows (based on PDCurses): http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses > There are some other library pac

Re: [Tutor] Wondering if there is a print in location command for terminal?

2015-02-09 Thread Alan Gauld
On 09/02/15 18:03, dw wrote: Hi Python Gang, In the olden days of Basic, there was a "Locate" command to locate strings in specific x/y locations on the terminal. For example: Locate 9,10:print "THE POWER OF PYTHON" Would count down from top of terminal 9 increments. And the count (from left to

[Tutor] Wondering if there is a print in location command for terminal?

2015-02-09 Thread dw
Hi Python Gang, In the olden days of Basic, there was a "Locate" command to locate strings in specific x/y locations on the terminal. For example: Locate 9,10:print "THE POWER OF PYTHON" Would count down from top of terminal 9 increments. And the count (from left to right of terminal) 10 spaces. T

Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Dave Angel
On 02/09/2015 02:20 AM, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public d

Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Mark Lawrence
On 09/02/2015 07:20, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public data

Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Alan Gauld
On 09/02/15 07:20, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public data m