This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf-8 -*- | |
try: | |
import pyreadline.rlmain | |
#pyreadline.rlmain.config_path=r"c:\xxx\pyreadlineconfig.ini" | |
import readline,atexit | |
import pyreadline.unicode_helper | |
# | |
# | |
#Normally the codepage for pyreadline is set to be sys.stdout.encoding | |
#if you need to change this uncomment the following line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
None | |
cp932 | |
今日は |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pager.py - display output using a pager | |
# | |
# Copyright 2008 David Soria Parra <[email protected]> | |
# | |
# This software may be used and distributed according to the terms of the | |
# GNU General Public License version 2 or any later version. | |
# | |
# To load the extension, add it to your configuration file: | |
# | |
# [extension] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[buildout] | |
parts = app docutils | |
extensions = gp.vcsdevelop | |
vcs-extend-develop = hg+http://bitbucket.org/uchida/sphinx/@tip#egg=sphinx | |
vcs-update = true | |
[app] | |
recipe = z3c.recipe.scripts | |
eggs = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ui] | |
username = Takayuki SHIMIZUKAWA | |
merge = winmergeu | |
editor = "C:\Program Files\vim72\vim.exe" | |
[tortoisehg] | |
vdiff = winmergeu | |
tabwidth = 4 | |
editor = C:\Program Files\vim72\gvim.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pyopenssl | |
twisted | |
cherrypy | |
service_identity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> a = range(10) | |
>>> import itertools | |
>>> b, c = itertools.tee(a) | |
>>> a2 = iter(a) | |
>>> b, c = itertools.tee(a2) | |
>>> next(b) | |
0 | |
>>> next(b) | |
1 | |
>>> next(b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding: base64 | |
aW1wb3J0IHN5cwpzeXMuc3Rkb3V0LndyaXRlKCJIYXJ1byBXb3JsZCFcbiIpCg== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
filetype plugin indent on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python | |
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> int | |
<type 'int'> | |
>>> type(10) | |
<type 'int'> | |
>>> dir(10) | |
['__abs__', '__add__', '__and__', '__class__', '__cmp__', '__coerce__', '__delattr__', |
OlderNewer