magisquare

导航

 

2016年3月17日

摘要: target Attribute 1. _blank 在新窗口打开链接 2. _parent 从父框架中打开链接 3. _self 默认属性,在当前框架打开链接 4. _top 在当前窗口打开链接 5. framename 在framename框架打开链接 阅读全文
posted @ 2016-03-17 22:27 magisquare 阅读(190) 评论(0) 推荐(0)
 

2016年3月11日

摘要: 命令行编译,编程环境OpenSUSE 将该Qt工程文件放入一个文件夹(%FOLDERNAME%),内部不要有无关文件。 qmake -project qmake %FOLDERNAME%.pro make 会形成一个默认文件名为%FOLDERNAME%的可执行文件。 阅读全文
posted @ 2016-03-11 11:38 magisquare 阅读(322) 评论(0) 推荐(0)
 

2016年3月7日

摘要: 方法一: 命令: uname -a 作用: 查看系统内核版本号及系统名称 方法二: 命令: cat /proc/version 作用: 查看目录"/proc"下version的信息,也可以得到当前系统的内核版本号及系统名称 补充说明: /proc文件系统,它不是普通的文件系统,而是系统内核的映像,也 阅读全文
posted @ 2016-03-07 14:50 magisquare 阅读(168) 评论(0) 推荐(0)
 

2016年2月23日

该文被密码保护。 阅读全文
posted @ 2016-02-23 17:28 magisquare 阅读(0) 评论(0) 推荐(0)
 

2015年8月21日

摘要: [example@admin lib]$ python3 fz.py File "fz.py", line 378 time_list = [] ^IndentationError: unindent does not match any outer inde... 阅读全文
posted @ 2015-08-21 10:23 magisquare 阅读(315) 评论(0) 推荐(0)
 

2015年8月20日

摘要: 1. pip install 安装软件[example@admin ~]$ pip install somepackage[...]Successfully installed somepackage参数:--upgrade 升级某包2. pip show 查看已安装的软件(以matplotlib为... 阅读全文
posted @ 2015-08-20 17:12 magisquare 阅读(3588) 评论(0) 推荐(0)
 

2015年8月19日

摘要: 设置.py文件为可执行的Shabang标记应该写作:#! /usr/bin/env python以下写法是错的:#! /usr/bin/python#! /bin/python错在:不同发布版,python可执行文件位置不同virtualenv虚拟环境下,python解释器必须使用在虚拟环境文件夹下... 阅读全文
posted @ 2015-08-19 20:31 magisquare 阅读(366) 评论(0) 推荐(0)
 

2015年8月13日

该文被密码保护。 阅读全文
posted @ 2015-08-13 10:50 magisquare 阅读(2) 评论(0) 推荐(0)
 

2015年8月6日

摘要: Python 时间格式化 阅读全文
posted @ 2015-08-06 16:28 magisquare 阅读(193) 评论(0) 推荐(0)
 

2015年4月25日

摘要: Terminalsudo gedit /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf加入 greeter-show-manual-login=truesudo passwd root重启参考 阅读全文
posted @ 2015-04-25 19:43 magisquare 阅读(208) 评论(0) 推荐(0)