File: compiled.py

package info (click to toggle)
python-bumps 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,776 kB
  • sloc: python: 24,586; ansic: 4,973; cpp: 4,849; javascript: 639; xml: 493; makefile: 143; perl: 108; sh: 94
file content (5 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
from os.path import join as joinpath, realpath, dirname, exists
from ctypes import CDLL

_dll_path = joinpath(realpath(dirname(__file__)), '_compiled.so')
dll = CDLL(_dll_path) if exists(_dll_path) else None