Upgrade to python 3?

Discussions on extending SharpCap using the built in Python scripting functionality
Post Reply
Matty
Posts: 3
Joined: Sun May 10, 2020 10:26 am

Upgrade to python 3?

#1

Post by Matty »

Hello,
are there plans to upgrade the internal version to Python3, especially since Python2.7 has reached its EOL at the beginning of this year?
Or is it possible to interface "externally" with SharpCap via Python?

Kind regards,
Matty
User avatar
admin
Site Admin
Posts: 13179
Joined: Sat Feb 11, 2017 3:52 pm
Location: Vale of the White Horse, UK
Contact:

Re: Upgrade to python 3?

#2

Post by admin »

Hi,

SharpCap uses a flavour of Python called IronPython which runs Python code on the Microsoft .NET framework. Currently there isn't a Python 3 version of IronPython, although apparently one is under development. Given the status messages on their github page I would say that a usable version is still a long time off.

One approach that will allow you to communicate with SharpCap from another script is to use the 'Pyro' Python remoting framework - see this post viewtopic.php?t=302

Cheers, Robin
Post Reply