locked
Missing argument in parameter list RRS feed

  • Question

  • I have created a directory:

    skeleton /
    NAME/
    _ _ i n i t _ _ . py
    bin /
    docs /
    setup . py
    t e s t s /
    NAME_tests . py
    _ _ i n i t _ _ . py

    2. After that, I have to create two initial files:


    new -item -type f i l e NAME/ _ _ i n i t _ _ . py
    new -item -type f i l e t e s t s / _ _ i n i t _ _ . py

    I am supposed to execute nosetests and get something like:

    Ran 0  t e s t s  i n  0.000 s

    If something goes wrong I am supposed to type:

    NAME,bin,docs,setup.py,tests (no spaces)

    It is here where I get the following error: missing argument in parameter list.



    Tuesday, March 17, 2020 12:18 AM

All replies

  • You cannot type that on a command line in PowerShell.

    Please carefully read the following and note that we do not do homework problems.

    How to post code in Technet Forums 


    \_(ツ)_/

    Tuesday, March 17, 2020 1:00 AM
  • Why are you asking questions about Python in a Powershell forum???

    "nose" is an extention to "unittest". Try this link for information:

    https://nose.readthedocs.io/en/latest/


    --- Rich Matheisen MCSE&I, Exchange Ex-MVP (16 years)

    • Proposed as answer by jrv Tuesday, March 17, 2020 2:44 AM
    Tuesday, March 17, 2020 2:00 AM
  • Hi:

    Thank you for posting in our TechNet forum.

    May I ask if the question can be more detailed and specific?

    PlusPowerShell commands cannot be written like this , maybe you wanna try new-item –itemtype , or new-item –path.

    If you still have any questions about this, perhaps you can try the following link for some help.

    Writing a Windows PowerShell Cmdlet

    How to write a cmdlet

    And If you have any other questions about Python, to get dedicated support, I suggest you open a new thread with the query in our Python forum.

    Your understanding is appreciated.

    Really hope that will help you.

    Best wishes,

    Young Yang.

    Tuesday, March 17, 2020 2:39 AM
  • Hi:

    Thank you for posting in our TechNet forum.

    May I ask if the question can be more detailed and specific?

    PlusPowerShell commands cannot be written like this , maybe you wanna try new-item –itemtype , or new-item –path.

    If you still have any questions about this, perhaps you can try the following link for some help.

    Writing a Windows PowerShell Cmdlet

    How to write a cmdlet

    And If you have any other questions about Python, to get dedicated support, I suggest you open a new thread with the query in our Python forum.

    Your understanding is appreciated.

    Really hope that will help you.

    Best wishes,

    Young Yang.

    Your response has nothing to do with the question and is misleading.  Please don't try to help without reading and understanding the question and the answers already given.

    CSG is not Microsoft and sending you here to learn means watch and pay attention but don't answer when you don't know.

    \_(ツ)_/

    Tuesday, March 17, 2020 2:43 AM