raw_input just continues anyway?

oliver at obeattie.com oliver at obeattie.com
Tue Apr 3 09:27:24 EDT 2007


Hey Everyone,

This is probably going to sound like a bit of a stupid question - but
why does (in the following code) the script just continue to run past
the raw_input, when the user hasn't entered anything?

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?

Many Thanks,
Oliver




More information about the Python-list mailing list