Run command line step with multiple lines

Comments

3 comments

  • Robert Johnson

    Looks like they made a video just for you! (And everyone else with the same question)

     

    https://www.youtube.com/watch?v=IvDxGhHA9Es

    1
    Comment actions Permalink
  • Roshan Balakrishnan

    Hey awesome good timing! So that works for me. This now brings me to a follow-up question, and maybe this is more of a cmd question than a PDQ question, but now I want to customize my UltraVNC installer so that it will copy the ultravnc.ini settings file after installing UltraVNC. 

    I tried including the ultravnc.ini file in the install, and tried this command, but it keeps failing. What am I doing wrong?

    Step to copy ultravnc.ini to install directory and overwrite whatever is there:

    copy ultravnc.ini "C:\program files\uvnc bvba\UltraVNC\ultravnc.ini"

    0
    Comment actions Permalink
  • Clay Anderson94

    You can comment in multiple lines using triple quotes.

    a=5

    ‘’’ here we are

    assigning a value 5 to a’’’

    The very first Multiple line comment appears inside a function/class is a docstring. Docstring usually used at the beginning of a class, function etc.

    Docstring gives simple description of a function or class etc.

    It's you who gives a description of a function.

    It will be helpful why because if you check your python file after a long time you will not understand what the functions are actually doing. If you have used docstring in your functions, you will get basic idea of your functions even if you check after a long time.

    Then how to know the docstring used in a function
    Read more

     

    0
    Comment actions Permalink

Please sign in to leave a comment.