← Winnitude! Search  ·  Reader Mode (454 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 6 LINKS

PyExport

Repository navigation

PyExport

Jump to bottom
Edit

New page
Victor edited this page May 1, 2020 ยท 1 revision

By default any public .NET type is visible to Python. If you want to hide .NET type from Python (for example because its conflicts with an existing Python type), you can mark it with with [PyExport(false)] attribute:

[Python.Runtime.PyExport(false)]
public class IamInvisibleToPython
{
  ...
}

You can hide your entire assembly by applying that attribute to it:

[assembly: Python.Runtime.PyExport(false)]
Add a custom footer Add a custom sidebar

Clone this wiki locally