raw_input just continues anyway?

kyosohma at gmail.com kyosohma at gmail.com
Tue Apr 3 09:35:16 EDT 2007


On Apr 3, 8:27 am, "oli... at obeattie.com" <oli... at obeattie.com> wrote:
> 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

This code works on my machine: Python 2.4, Windows XP Pro SP2




More information about the Python-list mailing list