mirror of
https://github.com/jjaldridge2009/Project_Xs.git
synced 2024-11-19 17:02:33 +01:00
change working directory to allow running the script from anywhere
This commit is contained in:
parent
2a91dcbf00
commit
e7f85ecebb
@ -8,11 +8,14 @@ import threading
|
||||
import time
|
||||
import tkinter as tk
|
||||
import tkinter.filedialog as fd
|
||||
import rngtool
|
||||
from tkinter import ttk
|
||||
from os import listdir
|
||||
from os.path import isfile, join
|
||||
from PIL import Image, ImageTk
|
||||
|
||||
os.chdir(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
|
||||
|
||||
import rngtool
|
||||
from xorshift import Xorshift
|
||||
|
||||
class Application(tk.Frame):
|
||||
|
Loading…
Reference in New Issue
Block a user