raw_input just continues anyway?

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Tue Apr 3 09:47:53 EDT 2007


oliver at obeattie.com wrote:

> if __name__ == "__main__":
>     bucket_name = raw_input('Name of the bucket you wish the files to be placed into? ')
>     update_s3()
> 
> Basically, it just asks the question and continues anyway?

It reads stdin until a line break. Then it continues. Exactly what
behaviour do you get?

Regards,


Björn

-- 
BOFH excuse #328:

Fiber optics caused gas main leak




More information about the Python-list mailing list