How to send data to a (local) web server. Where is Pythons Requests library

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
AstroPZ
Posts: 7
Joined: Tue Apr 05, 2022 4:13 pm

How to send data to a (local) web server. Where is Pythons Requests library

#1

Post by AstroPZ »

Hi all,

I'm new to SharpCap scripting.
I want to send data to a local web server (e.g. java build-in web server).
How can I achieve this?
Can anyone give me some tips or examples or what and where to look for.

So far I think it would be best to use Python's Requests library.
But I didn't find it in SharpCap scripting.
How can I get Python's Requests library to work in SharpCap?

Thanks, greetings
Peter
User avatar
admin
Site Admin
Posts: 13271
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: How to send data to a (local) web server. Where is Pythons Requests library

#2

Post by admin »

Hi Peter,

I think that is an add-in package for Python - SharpCap ships with the python core libraries, but no addins.

You can point SharpCap to extra libraries, providing they are pure python (no c code components) - use sys.path.append to add folders to the search path.

cheers,

Robin
Post Reply