码迷,mamicode.com
首页 >  
搜索关键字:zen coding    ( 13130个结果
Coding theano under remote ubuntu server from local Mac (在本地mac机器上,写、跑、调试、看-远程ubuntu上的theano代码)
本人是奇葩,最近鼓捣了一套在mac上coding远程ubuntu上的theano代码的东东,记之以期造福后人。Overview: 下图是我的编程环境和网络环境我期望能在本地mac机器上对远程的ubuntu theano server进行write、run、debug、view matplotlib图...
分类:系统相关   时间:2015-02-03 17:04:37    阅读次数:365
Sublime text2 常用插件集锦
No.01 –EmmetEmmet 是一个前端开发的利器,其前身是Zen Coding。它让编写 HTML 代码变得简单。Emmet 的基本用法是:输入简写形式,然后按 Tab 键。关于 Emmet 的更多用法,请看官方文档,这份速查表可以帮你快速记忆简写形式。No.02 –SublimeLinte...
分类:其他好文   时间:2015-02-03 17:01:40    阅读次数:262
Python网页编程(CGI)
1)程序简单,引用几个关键处理即可: #coding=utf-8 #!/usr/bin/python # CGI处理模块 from os import environ import cgi, cgitb # 创建 FieldStorage 的实例化 form = cgi.FieldStorage() # 获取数据 user_id ="a"; password="b";...
分类:编程语言   时间:2015-02-03 15:08:29    阅读次数:220
python基础快速了解-hello.py
1 #coding=utf-8 2 3 # hello.py python学习起步 4 5 # ====== 注释 ====== 6 # python使用#符号标示注释 7 8 #one comment 9 print 'hello world!'10 11 # ====== 运算符 =...
分类:编程语言   时间:2015-02-03 12:50:57    阅读次数:241
[Leetcode][Python]33: Search in Rotated Sorted Array
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'33: Search in Rotated Sorted Arrayhttps://oj.leetcode.com/problems/search-in-rotated-sorte...
分类:编程语言   时间:2015-02-03 01:52:49    阅读次数:218
python--用户认证登录实现
# _*_ coding: cp936 _*_ //支持中文格式import sys import getpass#admin configurationusername='cheeron'password='1234'counter = 0 #认证登录while True: if coun...
分类:编程语言   时间:2015-02-02 22:49:46    阅读次数:270
python GUI 猜数字游戏
#-*-coding:utf-8-*- importeasygui,random status=easygui.buttonbox("这是一个猜数字游戏,点击开始进行游戏,点击退出关闭游戏。",choices=["开始","退出"]) ifstatus=="开始": s_number=random.randint(1,100) count=0 u_number=0 #prints_number whilecount<6andu_numb..
分类:编程语言   时间:2015-02-02 19:59:04    阅读次数:201
python 猜数字
#-*-coding:cp936-*- importrandom n=0 m=0 i=random.randint(1,100) #printi print"猜数字游戏开始了:" print"一共有六次机会,猜一个1-100的数字" whilem<6andn!=i: n=input("请输入一个1-100的数字") ifn==i: print"恭喜你猜对了" break elifn>i: print"大了" else: ..
分类:编程语言   时间:2015-02-02 12:41:42    阅读次数:240
python 批量更换图片格式脚本
问题:将某文件下的所有jpg的图片更换为png的图片简单的实现:# -*- coding:utf-8 -*-from os.path import splitextimport globfrom PIL import Imagedef get_all_file(filename): files = ...
分类:编程语言   时间:2015-02-01 23:00:59    阅读次数:215
python生成验证码脚本
最近每天都用python写一个小的脚本,练习使用python语法。验证码的生成:这里使用了python的图像处理库PIL,安装PIL的过程中出了一个小麻烦,就使用Pillow-win32的一个文件,具体的我也忘了,可以百度下。直接看代码:# -*- coding:utf-8 -*-from PIL ...
分类:编程语言   时间:2015-02-01 21:50:30    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!