mirror of
https://github.com/jopohl/urh.git
synced 2026-03-04 15:34:01 +01:00
12 lines
295 B
Python
12 lines
295 B
Python
import os
|
|
|
|
from PyQt5.QtWidgets import QApplication
|
|
import sys
|
|
|
|
app = QApplication(sys.argv)
|
|
f = os.readlink(__file__) if os.path.islink(__file__) else __file__
|
|
path = os.path.realpath(os.path.join(f, ".."))
|
|
|
|
|
|
def get_path_for_data_file(filename):
|
|
return os.path.join(path, "data", filename) |