On 3/10/23 17:04, Jean-Marc Lasgouttes wrote:
Le 10/03/2023 à 22:21, Yu Jin a écrit :
all the win* imports from lyxpreview_tools.py fail, but those are in a try-except block

What do we gain when they ar present? It might be important enough to warrant having those modules.

    try:
        import pywintypes
        import win32con
        import win32event
        import win32file
        import win32pipe
        import win32process
        import win32security
        import winerror
    except:
        sys.stderr.write("Consider installing the PyWin extension modules " \                          "if you're irritated by windows appearing briefly.\n")

Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to