usr/bin/python Fontfile = 'actionis.pil' BGcolor=(255,255, 160 ) LNcolor =(210, 180 ,220) TXcolor=( 160 ,140, 180 ) import Image, ImageDraw, ImageFont import sys,os from random import choice def mkImage(imgfile,fontpath='', code =''): if not code : code =''.join([choice('ABDEFHIJKLMNPRSTUVWXYZ') for i in range(5)]) fn=os.path.join(fontpath, Fontfile ) if not os.path.exists(fn): for fdir in sys.path: fn=os.path.join(fdir, ...
... DEPENDENCIES # ------------ # sys is the most-used module which contains a set of system-level components. # os provides functions like os.path.join() and os.environ[var] for interacting ... a specified pattern according to the shell rules. # re provides regular expression tools re.sub() and re.search() for advanced string processing. # the Sybase module provides Describe the main role of the function ...> <par1>: <explain what is par1> (<type>). <par2>: <explain what is par2> (<type>). ...
... #*********************************************************************** from checklist_init import UNKNOWN, PASS , FAIL import os import spss_tk_util if spss_tk_util.GUI_AVAILABLE: from Tkinter import Checkbutton, IntVar, Label, Button, W, E, NORMAL , DISABLED from Tkinter import TOP, X, RIGHT, LEFT , Toplevel, Frame, YES, Y, BOTH, RAISED from Tkinter import BOTTOM, Scrollbar, ...
... Statistic files are managed using file generation sets and scripts in the ./scripts directory of this distribution. ... Each valid update appends a line of the following form to the current element of a file generation set named peerstats : . ... This keyword allows the (otherwise constant) filegen filename prefix to be modified for file generation sets, which is useful for handling statistics logs. filegen name [ file filename ] [ type typename ] [ flag flagval ] [ link | ...
... Archives . ... ArXiv] 2nd week, Sept. ... Keeping the track of them and writing summaries based on daily arXiv updates for the slog over the past few months has become a quite overwhelming task for a single person. ... How to subscribe and how to cancel subscription is given at the following website: . ... Simply on your email tool, if you want to subscribe astro-ph (preprints in astronomy, astrophysics, and related fields), . ... Available arXiv is listed in http://arxiv.org/help/archive_list . ...