procal

所属分类:数值算法/人工智能
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-04-30 15:38:14
上 传 者sh-1993
说明:  简单的基于Qt的编程计算器
(Simple Qt-based programming calculator)

文件列表:
LICENCE (35149, 2023-09-22)
img/ (0, 2023-09-22)
img/procal_demo.gif (182771, 2023-09-22)
procal/ (0, 2023-09-22)
procal/__init__.py (0, 2023-09-22)
procal/procal.py (21325, 2023-09-22)
pyproject.toml (508, 2023-09-22)
requirements.txt (69, 2023-09-22)

# procal: A simple Qt-based programming calculator ![Demo](https://github.com/fellerts/procal/blob/master/img/procal_demo.gif) Any python code that can be `eval()`'d and cast to float without raising an exception is accepted. The binary representation of the result is shown in the table, and the binary, decimal, and hexadecimal representation is displayed at the bottom. Floats, 64 bit numbers and signed integers are supported too. Bits in the binary table can be toggled by clicking them (click and drag to toggle a range of bits). Right-clicking a bit turns it into a sign bit, which makes the decimal representation negative. ## why? I wrote this after some frustration with the default Gnome calculator's programming mode: 1. Not each bit is labeled, and I'd rather not count bits if I can avoid it. 2. You cannot click-and-drag to toggle multiple bits in gnome-calc. 3. gnome-calc does not understand hex strings starting with `0x`, making copy-pasting from datasheets or code more of a hassle. 4. I wanted to play around with Qt.

近期下载者

相关文件


收藏者