User Input

Fábio Santos fabiosantosart at gmail.com
Thu May 30 08:27:29 EDT 2013


On 30 May 2013 13:24, "Eternaltheft" <eternaltheft at gmail.com> wrote:
>
> Ok thanks guys. but when i use
>
> filename = input('file name: ')
> if not filename:      #i get filename is not defined
>     return(drawBoard) #possible to return function when no file input
from user?

I don't really understand what you mean. Do you mean that you're getting a
stack trace?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130530/f1f98657/attachment.html>


More information about the Python-list mailing list