GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — PyExport

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

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.