How to add params with blank in argparse

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



How to add params with blank in argparse



I try to show movie information in terminal.But got some problem is that I can't type 'rottentomatoes top gun' How can I edit the code to get multiple params in terminal.



Here's my github repo: https://github.com/Ray0907/movie/




1 Answer
1



You should quote the movie name in shell so that it will be passed to script as one argument:


rottentomatoes 'top gun'





It works!! thanks alot
– Ray
Aug 8 at 4:21





Glad to be of help. Can you mark this answer as accepted if you find it to be correct?
– blhsing
Aug 8 at 4:22





Thanks for all your help
– Ray
Aug 8 at 4:26






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered