rubik / pyg

A Python Package Manager
http://pyg-installer.co.nr
MIT License
21 stars 3 forks source link

New method: logger.ask #80

Closed rubik closed 13 years ago

rubik commented 13 years ago

This method will be used to get user input. Something like this:

logger.ask('Question', ('possibility 1', 'p2', 'p3'))

It returns the possibility chosen.

fdev31 commented 13 years ago

Very good idea ! If you add that feature to logger, It will makes me think about Mercurial's "ui" object...

rubik commented 13 years ago

Great! Thank you Fabien! :)