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").
Cool little tip.
- admin
- Site Admin
- Posts: 13483
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Cool little tip.
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)
cheers,
Robin
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)
Robin
Re: Cool little tip.
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.
Then, of course, getting help- for the individual modules is a breeze.