上一页 1 ··· 4 5 6 7 8
摘要: 1 form.py中写register的的form组件 2 写注册的视图函数 3 登录函数: 4 register的html register.html: 5 登录的html login.html 阅读全文
posted @ 2019-06-23 22:43 木木霖 阅读(415) 评论(0) 推荐(0)
摘要: 1 打开yum安装rpm包,自动存放下载的rpm包 下次安装时,如果没有网可以自己制作yum源 打开文件 [root@localhost etc]# vim /etc/yum.conf keepcache=0 改为keepcache=1 rpm包存放的路径:这个路径可以自己修改成自己存放的路径 ca 阅读全文
posted @ 2019-06-23 12:10 木木霖 阅读(155) 评论(0) 推荐(0)
摘要: 1 卸载系统自带的Mariadb [root@localhost ~]# rpm -qa | grep mariadb mariadb-libs-5.5.44-2.el7.centos.x86_64 [root@localhost ~]# rpm -e --nodeps mariadb-libs-5 阅读全文
posted @ 2019-06-22 17:02 木木霖 阅读(5673) 评论(0) 推荐(1)
摘要: 使用yum安装软件的时候出现,/var/run/yum.pid 已被锁定,PID 为 6503 的另一个程序正在运行的问题 [root@localhost mysql]# yum install gcc gcc-c++ cmake ncurses-devel bison已加载插件:fastestmi 阅读全文
posted @ 2019-06-22 14:48 木木霖 阅读(1876) 评论(0) 推荐(0)
摘要: 字符串: 运行结果 hehello woRlDhlowRD 字符串的方法 明确:对字符串的操作方法都不会改变原来字符串的值 1,去掉空格和特殊符号 name.strip() 去掉空格和换行符 name.strip('xx') 去掉某个字符串 name.lstrip() 去掉左边的空格和换行符 nam 阅读全文
posted @ 2019-03-05 10:55 木木霖 阅读(188) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8