User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
I'm new to Python, but have three decades of experience with FoxPro and VFP 
plus I started programming in Basic and still comfortable with that.

I have spent some time with Python and am now fairly familiar with the syntax 
and functions, but building a user interface has me stopped.

A primary question would be, "What are options for building a display that 
would update displayed values without scrolling?"

My first goal is to build a program that would interface with a Raspberry Pi to 
control a heating process.

Thanks in advance,
Beverly Howard
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
Thanks for the responses... appreciated.

>> print("value value data data data", end="\r") <<

That makes sense, but it also seems to suggest that there is no other way to 
position the cursor prior to printing.

For example, if that line is halfway down the screen, is there any way to 
position the cursor two lines above it?

fwiw, I am open to creating functions if there are positioning options, both to 
meet the need, but, more importantly, to learn.

Beverly Howard

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
>> if it is a pi controlling the system I would tend towards controlling it
from a web page via the network. to keep it updating would require AJAX
style programming of the web page. <<

Thanks.  I am interested in eventually doing that, but it seems that learning 
how to do it on a local console first would be to my advantage... especially 
during initial testing stages.

fwiw, this project is to transfer (actually re-create) a basic program that I 
wrote for a Tandy Model 100 portable back in the early 80's to control ceramic 
kilns which get to over 2,000 degrees F.

Worked perfectly until a few years ago when there were no longer any Tandy 
Model 100s available at any cost ;-)  (In case anyone is interested in 
fossilized projects, see http://bevhoward.com/kiln/KilnCtrl.htm)

Thanks again for the response and pointers,
Beverly Howard

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
>> I would recommend the 'curses' library: <<

Great!  Thanks!

I'll be back... I'm sure.

Beverly Howard

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
I _think_ I see what I need... 

window.move(new_y, new_x)
Move cursor to (new_y, new_x)

...even if not, I now know it's there somewhere.

Thanks for the specific links... they are very valuable.

Beverly Howard
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: User Interface Suggestions? (newbie)

2016-10-05 Thread Beverly Howard
Thanks guys...

I'm getting overwhelmed with good info, so, I am going to disappear
for a while and will comeback with questions when I get far enough to
ask them.

Again, thanks!

Beverly Howard
-- 
https://mail.python.org/mailman/listinfo/python-list