简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
Python 以mongo格式保存和读取json数据
Python 以txt格式保存和读取json数据
1. Github 注册UsernameUserpasswordgit config --global user.name "hello"git config --global user.email hello@example.com2. 创建Github仓库New repositoryeg. https://github.com/beyondzhou/TestGit.git
#! /usr/bin/env pythonfrom operator import add, subfrom random import randint, choiceops = {'+': add, '-': sub}MAXTRIES = 2def doprob():op = choice('+-')nums = [randint(1,10) for i i
#! /usr/bin/env pythonqueue = []def enQ():queue.append(raw_input('Enter new string: ').strip())def deQ():if len(queue) == 0:print 'Cannot pop from an empty queue!'else:
#! /usr/bin/env pythonimport os, socket, errno, types, tempfileclass NetworkError(IOError):passclass FileError(IOError):passdef updArgs(args, newarg=None):if isinstance(args, IO
#! /usr/bin/env pythonstack = []def pushit():stack.append(raw_input('Enter new string: ').strip())def popit():if len(stack) == 0:print 'Cannot pop from an empty stack!'el
文本朗读(Text to speech)/语音合成(Speech synthesis)语音识别(Speech recognition)中文自动分词(Chinese word segmentation)词性标注(Part-of-speech tagging)句法分析(Parsing)自然语言生成(Natural language generation)文本分类(Text categori
#!/usr/bin/env pythondef identifierChecker():import stringalphas = string.ascii_letters + '_'nums = string.digitsprint 'Welcome to the Identifier Checker v1.0'print 'Test
#! /usr/bin/env pythonfrom operator import add, subfrom random import randint, choiceops = {'+': add, '-': sub}MAXTRIES = 2def doprob():op = choice('+-')nums = [randint(1,10) for i i