用python编写仓库管理系统
from tkinter import *
import pickle
from tkinter import messagebox
app=Tk()
app.title('仓库系统')
app.geometry('600x400')
var_print=StringVar()
dict1={}
def find_things():
try:
name = l.get(l.curselection())
with open('仓库.pkl', 'rb') as ck:
dict2 = pickle.load(ck)
var_print.set(name + '的数量为 ' + str(dict2[name]) + ' 台')
except:
var_print.set('请点击需要查询的商品')
def out_things():
try:
name=l.get(l.curselection())
def yes_re():
number_1=e.get()
with open('仓库.pkl', 'rb') as ck:
dict2 = pickle.load(ck)
dict2[name] = int(dict2[name]) - int(number_1)
with open('仓库.pkl', 'wb') as ck:
pickle.dump(dict2, ck)
messagebox.showinfo(message='恭喜卖出!生意兴隆
相关知识
Python编写玫瑰花
基于python“花开富贵”花园管理系统
springboot+vue仓库管理系统【开题+程序+论文】
基于python的在线花店管理系统的设计与开发
花都仓库管理系统
花卉仓库管理系统设计
用python画花瓣
Python 常用的标准库以及第三方库有哪些?
卷积神经网络实现鸢尾花数据分类python代码实现
“花开富贵”花园管理系统
原文链接: 用python编写仓库管理系统 https://www.huajiangbk.com/newsview546499.html
| 上一篇: 爱库存安卓版下载安装 | 下一篇: {库存优化管理}库存系统模型概述 |
推荐分享

- 1君子兰什么品种最名贵 十大名... 4127
- 2世界上最名贵的10种兰花图片... 3467
- 3花圈挽联怎么写? 3403
- 4鲜花养护:帝王花的养殖方法以... 2965
- 5迷信说家里不能放假花 家里摆... 1974
- 6明日花キララ:明日花绮罗年度... 1678
- 7香山红叶什么时候红 1586
- 8花的意思,花的解释,花的拼音... 1301
- 9教师节送什么花最合适 1260
- 10勿忘我花图片 1197




