For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

Creating lines based on args



  • Hi there,
    I am trying to create N lines to use for an indicator, but I would like to define N using an argument (using argsparse) having N as a parameter (in the parameters tuple) in an indicator. So that when I run the scrip from the terminal I can enter N. Then the number of lines created would be N.
    Is that possible to be done?.
    What I notice is that once the number of lines is defined with the default value that was entered as a parameter as a class variable it cannot be changed by updating the N parameter trough an argument.

    Many thanks



  • @Mariano-Bengeldorf You can disregard this question, I've found a solution.
    Best


Log in to reply
 

});