Storing user input from keyboard

88 views
Skip to first unread message

sea21

unread,
May 29, 2013, 10:47:41 PM5/29/13
to sage-s...@googlegroups.com
I would like to write a Sage program in a file, "program.sage" say, then load it using "attach /media/sf_Sage/program.sage". In the program, I would like to prompt the user to key in some inputs from the keyboard and then store it in some variable. Is there any Sage functionality for doing this, something like scanf or getch in C programming?

P Purkayastha

unread,
May 29, 2013, 11:52:46 PM5/29/13
to sage-s...@googlegroups.com, choyva...@gmail.com
Reply all
Reply to author
Forward
0 new messages