#!/usr/bin/python3
version = __version__ = "4.60.1 Released 22-May-2022"
_change_log = """
Changelog since 4.60.0 released to PyPI on 8-May-2022
4.60.1
A "dot-release" / patch for crash that occurs if the horizontal_scroll parm is set in Listbox element
Was created when the ttk scrollbars were added
"""
__version__ = version.split()[0] # For PEP 396 and PEP 345
# The shortened version of version
try:
ver = version.split(' ')[0]
except:
ver = ''
# __version__ = version
port = 'PySimpleGUI'
# 8""""8 8""""8 8""""8 8 8 8
# 8 8 e e 8 e eeeeeee eeeee e eeee 8 " 8 8 8
# 8eeee8 8 8 8eeeee 8 8 8 8 8 8 8 8 8e 8e 8 8e
# 88 8eeee8 88 8e 8e 8 8 8eee8 8e 8eee 88 ee 88 8 88
# 88 88 e 88 88 88 8 8 88 88 88 88 8 88 8 88
# 88 88 8eee88 88 88 8 8 88 88eee 88ee 88eee8 88ee8 88
"""
Copyright 2018, 2019, 2020, 2021, 2022 PySimpleGUI(tm)
Before getting into the details, let's talk about the high level goals of the PySimpleGUI project.
From the inception these have been the project principals upon which it is all built
1. Fun - it's a serious goal of the project. If we're not having FUN while making stuff, then something's not right
2. Successful - you need to be successful or it's all for naught
3. You are the important party - It's your success that determines the success of PySimpleGUI
If these 3 things are kept at the forefront, then the rest tends to fall into place.
PySimpleGUI is a "system", not just a program. There are 4 components of the "PySimpleGUI system"
1. This software - PySimpleGUI.com
2. The documentation - PySimpleGUI.org
* PySimpleGUI.org
* Calls.PySimpleGUI.org
* Cookbook.PySimpleGUI.org
3. Demo Programs - Demos.PySimpleGUI.org
4. Support - Issues.PySimpleGUI.org
5. eCookbook - eCookbook.PySimpleGUI.org
Now available - "The Official PySimpleGUI Course" on Udemy!
https://www.udemy.com/pysimplegui
Watch for a coupon codes in the documentation on PySimpleGUI.org
Please consider sponsoring all open source developers that make software you or your business use. They need your help.
This software is available for your use under a LGPL3+ license
This notice, these first 150 lines of code shall remain unchanged
888 .d8888b. 8888888b. 888 .d8888b.
888 d88P Y88b 888 Y88b 888 d88P Y88b
888 888 888 888 888 888 .d88P
888 888 888 d88P 888 8888" 888
888 888 88888 8888888P" 888 "Y8b. 8888888
888 888 888 888 888 888 888 888
888 Y88b d88P 888 888 Y88b d88P
88888888 "Y8888P88 888 88888888 "Y8888P"
In addition to the normal publishing requirements of LGPL3+, these also apply:
1. These and all comments are to remain in the source code
2. The "Official" version of PySimpleGUI and the associated documentation lives on two (and **only** two) places:
1. GitHub - (http://www.PySimpleGUI.com) currently pointing at:
https://github.com/PySimpleGUI/PySimpleGUI
2. PyPI - pip install PySimpleGUI is the customary way of obtaining the latest release
THE official documentation location is:
Read the Docs (via http://www.PySimpleGUI.org). Currently is pointed at:
https://pysimplegui.readthedocs.io/en/latest/
If you've obtained this software in any other way, then those listed here, then SUPPORT WILL NOT BE PROVIDED.
3. If you use PySimpleGUI in your project/product, a notice of its use needs to be displayed in your readme file as per the license agreement
-----------------------------------------------------------------------------------------------------------------
The first bit of good news for you is that literally 100s of pages of documentation await you.
300 Demo Programs have been written as a "jump start" mechanism to get your running as quickly as possible.
Some general bits of advice:
Upgrade your software! python -m pip install --upgrade --no-cache-dir PySimpleGUI
If you're thinking of filing an Issue or posting a problem, Upgrade your software first
There are constantly something new and interesting coming out of this project so stay current if you can
The FASTEST WAY to learn PySimpleGUI is to begin to play with it, and to read the documentation.
http://www.PySimpleGUI.org
http://Calls.PySimpleGUI.org
http://Cookbook.PySimpleGUI.org
The User Manual and the Cookbook are both designed to paint some nice looking GUIs on your screen within 5 minutes of you deciding to PySimpleGUI out.
A final note from mike...
“Don’t aim at success. The more you aim at it and make it a target, the more you are going to miss it.
For success, like happiness, cannot be pursued; it must ensue, and it only does so as the unintended side effect of one’s personal dedication to a cause greater.”
— Viktor Frankl
I first saw this quote in a truncated format:
"Happiness, cannot be pursued; it must ensue, and it only does so as the unintended side effect of one’s personal dedication to a cause greater."
Everyone is different, but my experience with the PySimpleGUI project matches this theory. It's taken a lifetime of trying and "failing" and trying
to find happiness before I finally figured this truth-for-me out. If I do a long list of things, and live life in a kind & loving way, then the
result is happiness. It's a biproduct, not a directly produced thing. This should be taught in school. Or maybe it can't.
I hope you find happiness, but more importantly, or maybe first, I hope you find that bigger-than-you thing. For me it's always been programming. It seems to be
the giving back part, not just the calling, that makes the happiness fusion-reactor operate.
"Thank you" has fueled this project. I'm incredibly grateful to have users that are in turn grateful. It's a feedback loop of gratitude. What a fantastic thing!
"""
# all of the tkinter involved imports
import tkinter as tk
from tkinter import filedialog
from tkinter.colorchooser import askcolor
from tkinter import ttk
# import tkinter.scrolledtext as tkst
import tkinter.font
from uuid import uuid4
# end of tkinter specific imports
# get the tkinter detailed version
tclversion_detailed = tkinter.Tcl().eval('info patchlevel')
framework_version = tclversion_detailed
import time
import pickle
import calendar
import datetime
import textwrap
import inspect
import traceback
import difflib
import copy
import pprint
try: # Because Raspberry Pi is still on 3.4....it's not critical if this module isn't imported on the Pi
from typing import List, Any, Union, Tuple, Dict, SupportsAbs, Optional # because this code has to run on 2.7 can't use real type hints. Must do typing only in comments
except:
print('*** Skipping import of Typing module. "pip3 install typing" to remove this warning ***')
import random
import warnings
from math import floor
from math import fabs
from functools import wraps
try: # Because Raspberry Pi is still on 3.4....
# from subprocess import run, PIPE, Popen
import subprocess
except Exception as e:
print('** Import error {} **'.format(e))
import threading
import itertools
import json
import configparser
import queue
try:
import webbrowser
webbrowser_available = True
except:
webbrowser_available = False
# used for github upgrades
import
没有合适的资源?快使用搜索试试~ 我知道了~
python+PySimpleGUI做出的一个测算身高有趣的小程序,带界面
共992个文件
msg:143个
enc:80个
tcl:69个
需积分: 1 0 下载量 142 浏览量
2024-03-11
10:15:00
上传
评论
收藏 21.71MB ZIP 举报
温馨提示
python+PySimpleGUI做出的一个测算身高的小程序,带界面,可打包运行。路径在: calcu\output\calculator\calculator.exe,在windows电脑可双击运行
资源推荐
资源详情
资源评论
收起资源包目录
python+PySimpleGUI做出的一个测算身高有趣的小程序,带界面 (992个子文件)
Abidjan 147B
Accra 183B
Acre 194B
ACT 190B
Adak 8KB
Addis_Ababa 189B
Adelaide 8KB
Aden 171B
Alaska 189B
Aleutian 176B
Algiers 1KB
Almaty 2KB
Amman 7KB
Amsterdam 9KB
Anadyr 2KB
Anchorage 8KB
Andorra 7KB
Anguilla 202B
Antananarivo 190B
Antigua 201B
Apia 909B
Aqtau 2KB
Aqtobe 2KB
Araguaina 2KB
Arizona 184B
Aruba 199B
Ashgabat 878B
Ashkhabad 182B
Asmara 184B
Asmera 184B
AST4 201B
AST4ADT 192B
Astrakhan 2KB
Asuncion 8KB
Athens 8KB
Atikokan 187B
Atka 177B
Atlantic 189B
Atyrau 2KB
Auckland 9KB
Azores 10KB
Baghdad 2KB
Bahia 2KB
Bahia_Banderas 7KB
Bahrain 171B
BajaNorte 190B
BajaSur 191B
Baku 2KB
Bamako 184B
Bangkok 181B
Bangui 178B
Banjul 184B
Barbados 648B
Barnaul 2KB
Beirut 8KB
Belem 1KB
Belfast 182B
Belgrade 7KB
Belize 3KB
Berlin 8KB
Bermuda 9KB
Beulah 8KB
Bishkek 2KB
Bissau 176B
Blanc-Sablon 206B
Blantyre 183B
Boa_Vista 1KB
Bogota 246B
Boise 8KB
Bougainville 280B
Bratislava 185B
Brazzaville 183B
Brisbane 674B
Broken_Hill 8KB
Brunei 182B
Brussels 9KB
Bucharest 8KB
Budapest 8KB
Buenos_Aires 2KB
Buenos_Aires 239B
Bujumbura 184B
Busingen 183B
Cairo 4KB
Calcutta 178B
Cambridge_Bay 8KB
Campo_Grande 3KB
Canary 7KB
Canberra 195B
Cancun 1KB
Cape_Verde 246B
Caracas 284B
Casablanca 5KB
Casey 478B
Catamarca 2KB
Catamarca 227B
Cayenne 185B
Cayman 185B
Center 8KB
Central 191B
Central 184B
共 992 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
独木人生
- 粉丝: 2182
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功