Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learn Python the Hard Way Exercise 46: mkdir bin NAME tests docs

I am a real beginner learning to use Python using Zed Shaw's "Learn Python the Hard Way". Until now, I had no codes that gave me error as long as I typed in exactly the same way, but here in Exercise 46, I am having trouble setting up my skelton project. In the book, it says to type:

$ mkdir -p projects<br/>
$ cd projects/<br/>
$ mkdir skeleton<br/>
$ cd skeleton<br/>
$ mkdir bin NAME tests docs<br/>

I have already checked this Learn Python the Hard Way: Exercise 46 but I could not do the last line "mkdir bin NAME tests docs". It (I am using Windows PowerShell) gives me an error saying:

"mkdir : A positional parameter cannot be found that accepts argument 'Name'.<br/>
At line:1 char:6<br/>
+ mkdir <<<<  bin NAME tests docs<br/>
    + CategoryInfo           : InvalidArgument: (:) [mkdir], ParameterBindingException<br/>
    + FullyQualifiedErrorID : PositionalParamaterNotFound,mkdir<br/>

Could anybody please tell me what is going on and how I can fix this? I am sorry this is really a basic question but is "$ mkdir bin NAME tests docs" trying to make multiple directories named "bin", "NAME", "tests", and "docs"?

like image 266
owl Avatar asked Jul 31 '26 19:07

owl


1 Answers

You can just as easily do mkdir bin,NAME,tests,docs

like image 122
Hans Z Avatar answered Aug 02 '26 15:08

Hans Z



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!