
Python
geovindu
为了生活,到处流浪,人间万象这本书是词汇语句难以修辞的,图像影音等介质难以描绘印象的,而一切在表象的存在中去体味....接收各人的角度看法,就因为各人所处环境和意识形态不同,才显得人间的知会智慧.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PyCharm 2023升级2024 版本
上有提示, 运行的环境python的版本,用.venv/Script/下的 python.exe。Local\JetBrains和 Local\JetBrains 都删除,再重新安装。并且把C:\Users\用户\AppData 文件夹下的。1.2023虚拟机的文件夹是venv 改为.venv。把老版本卸载之后,需要把环境变量,注册表信息删除。3.打开原主输出的文件如.main.py。2.打开原来的项目文件夹,选择一个项目。原创 2025-04-28 19:29:31 · 643 阅读 · 0 评论 -
python: DDD+ORM+pyQt6 using MySql
数据处理各层,就用前面文章提到的就可以了。如果是并行或多线程,在此架构上,再加上代码。原创 2025-03-30 07:29:04 · 258 阅读 · 0 评论 -
python: Model 两种方式
【代码】python: Model 两种方式效果一样,不用动代码。第二种更灵活些原创 2025-03-12 06:32:13 · 268 阅读 · 0 评论 -
python: DDD+ORM using oracle 21c
【代码】python: DDD+ORM using oracle 21c。原创 2025-03-07 21:37:34 · 300 阅读 · 0 评论 -
python: DDD using postgeSQL and SQL Server
【代码】python: DDD using postgetSQL and SQL Server。原创 2025-03-06 23:06:58 · 230 阅读 · 0 评论 -
python: 并发编程 (Concurrent Programming) Simple example
python 操作mysql 并发编程 (Concurrent Programming) Simple example 用mvc 模式原创 2025-02-22 23:05:26 · 202 阅读 · 0 评论 -
python: SQLAlchemy (ORM) Simple example using mysql in Ubuntu 24.04
用python采用DDD(领域驱动)+MVC 框架,用SQLAlchemy ORM操作SQL Server,考虑主外键关系表,一多对,多对多等关系,用tk.Treeview进行添加,修改,删除,模糊查询分页,添加和修改为弹出子窗口,主子窗口采用MDI。有主菜单下有学校管理,老师管理的父子下列菜单原创 2025-02-21 00:25:15 · 347 阅读 · 0 评论 -
python: SQLAlchemy (ORM) Simple example using SQLite
【代码】是一个使用 Python 结合 DDD(领域驱动设计)、MVC(Model - View - Controller)框架,借助 SQLAlchemy ORM 操作 SQLite 数据库,并利用 ttk.Treeview 进行学校信息的添加、修改、删除、模糊查询和分页的完整示例。原创 2025-02-19 22:07:49 · 615 阅读 · 0 评论 -
python: Domain-Driven Design (DDD) Simple example
视图层(View):SchoolView 类使用 ttk.Treeview 显示学校信息,并提供了分页、搜索、添加、修改和删除等操作的界面。应用层(Application):SchoolService 类封装了学校信息的业务逻辑,依赖于 SchoolRepository 完成数据的持久化操作。控制器层(Controller):SchoolController 类负责协调视图层和应用层,处理用户的操作请求并调用相应的服务方法。:用于实现简单的桌面 GUI。:用于存储任务数据。原创 2025-02-15 10:38:25 · 366 阅读 · 0 评论 -
MVC(Model-View-Controller)framework using Python ,Tkinter and SQLite
是一个基于 Python 的 Tkinter 实现的 MVC 框架示例,操作 SQLite 数据库中的 School 表,使用 ttk.Treeview 控件显示记录,具备数据分页、添加、修改、删除和模糊查询功能,添加和修改操作通过弹出窗口实现,并且采用 MDI(多文档界面)模式。原创 2025-02-11 20:23:18 · 491 阅读 · 0 评论 -
Qt Designer and Python: Build Your GUI
在Python安装的所在 Scripts 文件夹下找到此文件。如C:\Program Files\Python312\Scripts。用代码执行 pyside6-uic.exe simple.ui -o simple.py。2.pyside6-designer.exe 发送到桌面快捷方式。3. 打开pyside6-designer 设计UI。4.保存为simple.ui 文件,再转成py文件。simply2.py 引用 simply1.py。原创 2025-01-25 15:24:28 · 652 阅读 · 0 评论 -
python: simple example of working with neo4j
【代码】python: simple example of working with neo4j。原创 2025-01-22 20:20:12 · 695 阅读 · 0 评论 -
python: generate model and DAL using Oracle
【代码】python: generate model using Oracle。原创 2025-01-02 20:33:20 · 384 阅读 · 0 评论 -
oracle 21c create user
【代码】oracle 21c create user。原创 2024-12-28 17:22:11 · 504 阅读 · 0 评论 -
python: Oracle Stored Procedure query table
Oracle查询存储过程需要游标,脚本代码写法有点区别,程序也有区别。postgreSQL查询存储过程是函数,程序代码区别只是名称一致就可以了。Sql server和MySQL程序代码调用差不多,脚本代码格式不一样而已。命名规范和架构规范,找其规律,自写生成器,可以减少自己的工作量,个人初步想法。原创 2024-12-26 22:27:17 · 372 阅读 · 0 评论 -
python query oracle database
【代码】python query oracle database。原创 2024-12-24 20:29:24 · 256 阅读 · 0 评论 -
oracle: create new database
用database configuration Assistant 引导创建数据库。原创 2024-12-23 20:38:11 · 455 阅读 · 0 评论 -
Connecting to Oracle 11g Database in Python
【代码】Connecting to Oracle 11g Database in Python。原创 2024-12-21 22:33:34 · 414 阅读 · 0 评论 -
python: datatype convert
【代码】python: datatype convert。原创 2024-12-09 22:01:43 · 144 阅读 · 0 评论 -
python: Multi Document Interface (MDI) using PyQt6
【代码】python: Multi Document Interface (MDI) using PyQt6。原创 2024-12-08 19:28:47 · 128 阅读 · 0 评论 -
python: Multi Document Interface (MDI) Application using Pmw
【代码】python: Multi Document Interface (MDI) Application。原创 2024-12-06 20:13:02 · 190 阅读 · 0 评论 -
python: Treeview Pagination
【代码】python: Treeview Pagination。原创 2024-12-02 20:02:42 · 269 阅读 · 0 评论 -
python: generator model using mysql9.0 or postgreSQL 17.0
【代码】python: generator model using mysql9.0 or postgreSQL 17.0。原创 2024-11-28 06:50:16 · 348 阅读 · 0 评论 -
python: Serialize and Deserialize complex JSON using jsonpickle
【代码】python: Serialize and Deserialize complex JSON using jsonpickle。原创 2024-11-20 20:45:02 · 317 阅读 · 0 评论 -
python:reflection 反射
CSharp面象对象的语言也有类似的反射 reflection ,曾经近十年前自已在博客园写过。便于根据配置文件,方便切换数据库。原创 2024-11-19 21:58:03 · 326 阅读 · 0 评论 -
python: generator IDAL and DAL using sql server 2019
拼就是一个粗放的项目。原创 2024-11-19 21:29:06 · 425 阅读 · 0 评论 -
python: generator model using sql server 2019
設計好數據庫,可以生成自己設計好的框架項目。原設計的表有表,列的描述。原创 2024-11-19 05:47:43 · 434 阅读 · 0 评论 -
more Layer Architecture in Python and postgreSQL17.0
【代码】more Layer Architecture in Python and postgreSQL17.0。原创 2024-11-13 19:50:01 · 187 阅读 · 0 评论 -
python: postgreSQL using psycopg2 or psycopg
【代码】python: postgreSQL using psycopg2 or psycopg。原创 2024-11-13 19:32:46 · 418 阅读 · 0 评论 -
more Layer Architecture in Python and mysql 9.0
【代码】more Layer Architecture in Python and mysql 9.0。原创 2024-11-07 19:55:42 · 250 阅读 · 0 评论 -
more Layer Architecture in Python and sqlserver 2019
【代码】more Layer Architecture in Python and sqlserver 2019。原创 2024-11-07 06:27:02 · 180 阅读 · 0 评论 -
python: Parent-child form operations using ttkbootstrap
【代码】python: Parent-child form operations using ttkbootstrap。原创 2024-11-05 20:13:54 · 209 阅读 · 0 评论 -
Python: Print Table on console
【代码】Python: Print Table on console。原创 2024-10-28 23:08:08 · 240 阅读 · 0 评论 -
Python‘s exec Functions: Execute Dynamically Generated Code
【代码】Python‘s exec Functions: Execute Dynamically Generated Code。原创 2024-10-27 14:59:04 · 142 阅读 · 0 评论 -
python: more Layer Architecture and its Implementation in SQLite
【代码】python: more Layer Architecture and its Implementation in SQLite。原创 2024-10-25 05:53:23 · 208 阅读 · 0 评论 -
python: Parent-child form operations
【代码】python: Parent-child form operations。原创 2024-10-24 19:49:06 · 257 阅读 · 0 评论 -
python: sort
【代码】python: sort。原创 2024-10-19 23:51:44 · 124 阅读 · 0 评论 -
python: unittest
【代码】python: unittest。原创 2024-10-17 18:09:01 · 196 阅读 · 0 评论 -
python: pytest
【代码】python: pytest in thonny IDE。原创 2024-10-17 08:28:27 · 192 阅读 · 0 评论 -
python:create object
【代码】python:create object。原创 2024-10-12 22:53:04 · 312 阅读 · 0 评论