Page 1 of 1

Cool little tip.

Posted: Mon Feb 05, 2024 11:35 pm
by tmnathe
While it can be painfully obvious how to do this, but it's news to me and maybe to you as well.
You can find all of the modules used in SharpCap's scripting program by typing help('modules').
Further information about an individual module can then be found by typing help("module_name").

Re: Cool little tip.

Posted: Tue Feb 06, 2024 2:45 pm
by admin
Hi,

that's cool - I didn't know that worked! It shows a list of all the core python modules that are built in to IronPython in SharpCap. Help can also show you info on the SharpCap API and the .NET runtime class library, but in those cases you need to know the type you want (I haven't found a way to list the types yet)

Code: Select all

help(SharpCap)
help(SharpCap.SelectedCamera)

from System import DateTime
help(DateTime)

cheers,

Robin

Re: Cool little tip.

Posted: Tue Feb 06, 2024 9:38 pm
by tmnathe
It was a case where I typed in "how to list all the modules installed in Python" and the answer was way too simple.
Then, of course, getting help- for the individual modules is a breeze.