Skip to content

Instantly share code, notes, and snippets.

import os
from fs.osfs import OSFS
from fs.expose import dokan
from fs.expose.dokan.libdokan import LPDWORD
import ctypes
from ctypes.wintypes import BOOL, LPWSTR, DWORD
advapi32 = ctypes.windll.advapi32
@happy-monk
happy-monk / PkgA_conanfile.py
Last active May 20, 2019 13:33
Conan: subdependency options conflict
import os
from conans import ConanFile, CMake, tools
class PkgConanFile(ConanFile):
name = 'PkgA'
version = '1.0'
settings = 'os', 'compiler', 'build_type', 'arch'
@happy-monk
happy-monk / example.py
Created October 22, 2021 13:23
Coroutines in Pyglet
import pyglet
from pyglet.graphics import Batch
import tasks
window = pyglet.window.Window()
batch = Batch()
@window.event