When i double click the bios.pyw it runs good but when I run this command from firm.pyw os.system("pythonw ..\\system_pbl\\bios\\bios.pyw")
it gives me an error
I've tried running it with the start command but it doesn't do anything then
I've tried to run it in the same directory and with a .cmd and a .ps1 and a .bat file but no luck
firm.pyw-
import os
from tkinter import *
os.system("python ..\\system_pbl\\bios\\bios.pyw")
bios.pyw-
sil = "..\\..\\system_res files\\sil.sif"
si = PhotoImage(file=_sil)#-error
s_label = Label(app,image = si,borderwidth=0).place(y=0,x=0)
The error i get is
File "C:\Users\gavin\AppData\Local\Programs\Python\Python36-32\lib\tkinter\__init__.py", line 3498, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "..\..\system_res files\sil.sif": no such file or directory
This is the file system:
file system:
fireware
2.S^
3.Fire-system ->firm.pyw 3.system_pbl -> bios->bios.pyw, data_change.pyw, local_update.py -> boot->boot.pyw 3.system_res files -> sil.sif, usr_data.dde