1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] Free a Python library using TCL

Discussão em 'Python' iniciado por Stack, Outubro 4, 2024 às 06:22.

  1. Stack

    Stack Membro Participativo

    In Python I load a library (pyd). But I need to unload it before a second call. In Python I get this done with:

    import ctypes, _ctypes

    dll = ctypes.CDLL('path_to_file')
    try:
    _ctypes.FreeLibrary(dll._handle)
    _ctypes.FreeLibrary(dll._handle)
    except:
    pass


    I know the FREE_LIBRARY is part of twapi, but how do I do this in TCL ?

    I'm not a TCL guru, so any help would be great.

    Continue reading...

Compartilhe esta Página