摘要:
$ python -m venv projectname $ source projectname/bin/activate (venv) $ pip install ipykernel (venv) $ ipython kernel install --user --name=projectname 阅读全文
摘要:
根据窗体的名称动态创建窗体 这里我传入的 是一个字符串,表示窗体变量的名称 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
摘要:
通过VIewSwitcher切换视图。这个用到了baseAdapter,还是不太懂,先记个笔记。 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="matc 阅读全文
摘要:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
摘要:
中秋节学习,, 通过拖动滑块,改变图片的透明度 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orient 阅读全文
摘要:
给出程序先: import random import socket import struct import threading import pickle import json from struct import * from time import sleep class sendMsg: 阅读全文
摘要:
用pyqt5做了一个小程序,保留一下这个固定格式: 我的主界面是qtdesinger拖动,自动生成的,没必要贴代码了。 这里给出两个doc网站,感觉用起来很顺手,看着也舒服 https://pythonprogramminglanguage.com/pyqt-tutorials https://ww 阅读全文
摘要:
顾名思义,就是进度条。 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="verti 阅读全文
摘要:
使用stackView,表现出view堆叠的效果,可以拖动,也可以触发事件切换 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android 阅读全文