摘要: 最近想写个GUI小程序,所以就使用了python内置的Tkinter包,但是导入时竟然提示没有这个包? 使用命令搜索了下: sudo apt search python3-tk ,显示已经安装了。又重启项目重新导入了下,结果还是不行 kylin@kylin:~$ sudo apt search py 阅读全文
posted @ 2020-04-27 20:40 繁华无殇 阅读(575) 评论(0) 推荐(0)
摘要: Content_Type 组件 用法: model.py: from django.db import models # Create your models here. class Food(models.Model): title = models.CharField(max_length=32 阅读全文
posted @ 2020-04-27 19:18 繁华无殇 阅读(163) 评论(0) 推荐(0)