python click: argument coming from default or user

Advertisements How to tell whether an argument in click coming from the user or it’s the default value. For example: import click @click.command() @click.option(‘–value’, default=1, help=’a value.’) def hello(value): print(value) if __name__ == "__main__": hello() Now if I run python script.py –value 1, the value is now coming from user input as opposed to default… Read More python click: argument coming from default or user

'The system cannot find the file specified' when clicking link

Advertisements I am following this answer about making hyperlink work in a RichTextBox? by adding this: private void mRichTextBox_LinkClicked (object sender, LinkClickedEventArgs e) { System.Diagnostics.Process.Start(e.LinkText); } (Actually what I’m really doing is to go to the property of the control, click on the LinkClicked action, and just put the Start() method in there.) However when… Read More 'The system cannot find the file specified' when clicking link