Sybren Stuvel [EMAIL PROTECTED] wrote:
Paraic Gallagher enlightened us with:
While I agree in principal to your opinion, the idea is that an
absolute moron would be able to configure a testcell with smallest
amount of effort possible.
Then explain to me why learning how to use your program to
Sion Arrowsmith enlightened us with:
You're assuming that the tester is already familiar with a text
editor.
Indeed. Someone working on a test suite sounded like someone who knows
how to work with a text editor.
And then they would have to learn the syntax of the configuration
file, and the
Hi,
This is my first post to the list, I hope somebody can help me with this
problem. Apologies if it has been posted before but I have been internet
searching to no avail.
What I am trying to do is provide a simple method for a user to change a
config file, for a test suite.
The config file
Paraic Gallagher enlightened us with:
What I am trying to do is provide a simple method for a user to
change a config file, for a test suite.
My opinion: let the user edit the configuration file using his/her
favourite text editor. Someone configuring a test suite should
certainly be able to
Sybren Stuvel wrote:
My opinion: let the user edit the configuration file using his/her
favourite text editor. Someone configuring a test suite should
certainly be able to edit a text file.
Sybren
While I agree in principal to your opinion, the idea is that an absolute
moron
would be able
Paraic Gallagher enlightened us with:
While I agree in principal to your opinion, the idea is that an
absolute moron would be able to configure a testcell with smallest
amount of effort possible.
Then explain to me why learning how to use your program to edit the
file is easier than using an
Paraic Gallagher wrote:
Hi,
This is my first post to the list, I hope somebody can help me with this
problem. Apologies if it has been posted before but I have been internet
searching to no avail.
What I am trying to do is provide a simple method for a user to change a
config file, for a
David Wahler wrote:
With the disclaimer that, as others have said, this may not be the best
user-interface choice:
import readline
readline.set_startup_hook(lambda: readline.insert_text(old_value))
try:
new_value = raw_input()
finally:
readline.set_startup_hook(None)
Note that,