Cool little tip.

Somewhere to share your expertise in using SharpCap
Post Reply
tmnathe
Posts: 21
Joined: Fri Jul 29, 2022 4:13 am

Cool little tip.

#1

Post 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").
User avatar
admin
Site Admin
Posts: 13347
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Cool little tip.

#2

Post 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
tmnathe
Posts: 21
Joined: Fri Jul 29, 2022 4:13 am

Re: Cool little tip.

#3

Post 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.
Post Reply