![syncplay value error time data syncplay value error time data](https://i.stack.imgur.com/9ourB.png)
To get the path, but it is still pointing to the C:\User\AppData\Local\Temp_MEI185962. So for example if I have my program.exe in the directory C:/Users//Desktop/project then how do I access te subdirectory C:/Users//Desktop/project/data. exe file is all the time, because I want to make my program be distributeable so I don't want to use a hardcoded path or if I move the folder around. My question is how do I come up with the path to where the. exe file the path changed to AppData\Local\Temp_MEI185962 when I print the path. After Pyinstaller is used to compile the. txt files that contains user data from a subdirectory where the. exe file is located after Pyinstaller compiles python script
#Syncplay value error time data how to#
SK99 Asks: How to get the path to the directory where the. Prediccion = ttk.Label(self.root, text=pred_label, font=("Arial Bold", 12))
![syncplay value error time data syncplay value error time data](https://i.stack.imgur.com/wqbps.png)
Pred = model.predict(np.expand_dims(imagen/255, 0)) Imagen = tf.image.resize(imagen, (224,224), preserve_aspect_ratio=True) Output = tk.Label(self.root, text=file_path.name, image=self.image) Img = ImageTk.PhotoImage(Image.open(file_path.name)) Titulo = ttk.Label(self.root, text="Detector de Melanomas", font=("Arial Bold", 12))įile_upload = ttk.Button(self.root, text="seleccione la imagen sospechosa",įile_path = fd.askopenfile(mode='r', filetypes=[('jpg files', '*.jpg'), # set the position of the window to the center of the screen Screen_height = _screenheight()Ĭenter_x = int(screen_width/2 - window_width / 2)Ĭenter_y = int(screen_height/2 - window_height / 2) Model = load_model(os.path.join('models', 'detectormelanomas-NuevasImagenesMelanoma2.h5'))