File: display_version.py

package info (click to toggle)
lazpaint 7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 56,000 kB
  • sloc: pascal: 277,538; python: 2,494; makefile: 233; sh: 221
file content (11 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# Version
# (fr) Version

from lazpaint import command, dialog
import platform

lazpaint_version = command.get_version()
python_version = platform.python_version()

dialog.show_message("Python " + python_version + ", " + "LazPaint " + str(lazpaint_version[0]) + "." + str(lazpaint_version[1]) + "." + str(lazpaint_version[2]) )