码迷,mamicode.com
首页 >  
搜索关键字:python3 方向键    ( 13226个结果
python3.4爬虫批量下载音乐
最近在学习python,使用的版本为python3.4,开发环境为使用Pydev插件的eclipse。正好觉得http://www.dexiazai.com/?page_id=23上的音乐不错,决定使用python批量下载下来。      1、音乐来源      经过分析,页面嵌入的虾米播放器中的地址如下,后面以逗号分隔的字符为音乐的id,如音乐的地址为http://www.xiami.com...
分类:编程语言   时间:2015-05-15 21:34:20    阅读次数:348
Mac Sublime Vim模式 方向键无法长按
终端输入sublime2:defaults write com.sublimetext.2 ApplePressAndHoldEnabled -bool falsesublime3:defaults write com.sublimetext.3 ApplePressAndHoldEnabled -...
分类:系统相关   时间:2015-05-15 19:24:41    阅读次数:858
64位Win7下安装并配置Python3的深度学习库:Theano
这两天在安装Python的深度学习库:Theano。尝试了好多遍,CMake、MinGW、BLAS、APLACK等等都装了试着自己编译,网上教程也搜了一大堆,但都没成功。昨晚回家清理干净电脑,又小心翼翼地装了一遍,成功,今天来公司又装了一遍,也成功,现把步骤记录如下: (注:本步骤适用于W...
分类:编程语言   时间:2015-05-15 17:34:46    阅读次数:345
Linux系列-将Python3.3.4还原成Python2.6版本
1.查看Python目前的版本直接输入python可以查看Python版本2.将/usr/bin目录下的python版本切换mv /usr/bin/python /usr/bin/python3.3 #将原来3.3的版本还原 mv /usr/bin/python2.6 /usr/bin/python #将python2.6版本链接上3.测试输入python 即可看到python2...
分类:编程语言   时间:2015-05-14 22:11:44    阅读次数:254
Python3.4 threading socket 学习
#!/usr/bin/env python3#file name: threadtest.py# -*- coding:utf8 -*-# -version:1.0-import threading, time, socketclass Server(): '''接收消息的服务器类''' def _...
分类:编程语言   时间:2015-05-14 13:54:30    阅读次数:199
linux下安装python3.3.4
下载安装包 # wget http://www.python.org/ftp/python/3.3.4/Python-3.3.4.tgz解压 # tar -xzvf Python-3.3.4.tgz为新版本的python创建一个路径 # mkdir /usr/local/python3安装 ...
分类:编程语言   时间:2015-05-13 19:01:35    阅读次数:140
iterm2 快捷键
最近开始使用mac,用iterm2的终端,有些快捷键纪录下。 标签 新建标签:command + t 关闭标签:command + w 切换标签:command + 数字 或者 command + 左右方向键 切换全屏:command + enter 查找:command + f 分屏 垂直分屏:command + d 水平分屏:command + shift + d 切换屏幕:command +...
分类:其他好文   时间:2015-05-13 16:49:55    阅读次数:128
python练习2
hello.py#!/usr/local/bin/python3.4count=0while(count<9): print('the count is:',count) count=count+1;print('good bye!')运行:./hello.py
分类:编程语言   时间:2015-05-13 12:20:01    阅读次数:131
【转】python3.3 图形化界面
Python通过调用tkinter库来实现图形化。Python中的窗口更加内容大小自动缩放。例1:创建一个简单的窗口:from tkinter import * #引入tkinter库root = Tk() #创建一个主窗口,Tk(className='aaa')定义一下参数值root....
分类:编程语言   时间:2015-05-13 00:43:09    阅读次数:122
python练习1
vim hello.py#!/usr/local/bin/python3.4str=input('pls intput same message:');print('you had enterd the string:'+str);运行:完。
分类:编程语言   时间:2015-05-12 15:06:19    阅读次数:130
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!