Un sencillo Paint hecho en python
Este proyecto está licenciado bajo GPLv3 [https://www.gnu.org/licenses/]
Pablo Pizarro R. | 2015
Un sencillo Paint hecho en python
Home Page: https://youtu.be/b556IowfmtI
License: GNU General Public License v3.0
Un sencillo Paint hecho en python
Este proyecto está licenciado bajo GPLv3 [https://www.gnu.org/licenses/]
Pablo Pizarro R. | 2015
Hola, Hay un problema al ejecutar el archivo en Windows a causa de las rutas relativas que se usan.
El tracelog es el siguiente:
Traceback (most recent call last): File "C:\Users\OP231\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 1883, in __call__ return self.func(*args) File "h:\OP231\Documents\Programación\Python\python-paint\Paint.py", line 224, in <lambda> Button(ActiveColor,text="Color principal",relief=FLAT,command=lambda:self.cambiarColor("activo"),width=10).pack() File "h:\OP231\Documents\Programación\Python\python-paint\Paint.py", line 316, in cambiarColor a = pyv("Cambiar color",DATAICONS+"color.ico","cambiarcolor",(280,440)) File "h:\OP231\Documents\Programación\Python\python-paint\pyv.py", line 27, in __init__ self.root.iconbitmap(bitmap=icon) File "C:\Users\OP231\AppData\Local\Programs\Python\Python38-32\lib\tkinter\__init__.py", line 2071, in wm_iconbitmap return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
Lo he solucionado con el siguiente trozo de código en la declaración de Constantes de carpetas:
import os DIRNAME = os.path.dirname(__file__) DATAFOLDER = os.path.join(DIRNAME, 'Data\\')
Lo demás sigue igual.
Voy a intentar crear un fork de tu proyecto.
Por cierto, felicidades, está muy bien :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.