Pythonに投稿されたコード一覧
def spellConvertCityRantine(argsList):pCaster, pBestPlot, eSpell, liSummonedUnitIDs = argsListpCity = pCaster.plot().getPlotCity()pPlayer = gc.getPlayer(pCaster.getOwner())pPlayer.acquireCity(pCity, False, True)
# This script works on Coot.# Save screen image with white background, ball-stick representation, and black mesh for Gakusei Jikken.## Ver. 2 of http://codetter.com/?p=400# by yam_cpp, 2011-10-31
### This script works on Coot.# Save screen image with white background and black mesh for Gakusei Jikken.## by yam_cpp, 2011-09-30
### This script works on Coot.# Save screen image with white background and black mesh for Gakusei Jikken.## by yam_cpp, 2011-09-30
# Python3.x(3.1以上) Python2.x(2.7)with open(load.txt) as loadfile, open(save.txt) as savefile:#ここに処理を書く# Python3.x(3.0) とか Python2.x(2.6以下)