Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
webpageize Namespace Reference

Functions

def makeWebPage
 

Variables

int index = 0
 
int fp = 0
 
tuple first = sys.stdin.readline()
 
tuple second = sys.stdin.readline()
 

Function Documentation

def webpageize.makeWebPage (   fp,
  index 
)

Definition at line 6 of file webpageize.py.

References locale.str().

6 
7 def makeWebPage(fp,index):
8  if (fp):
9  fp.write("\n</body>\n</html>\n");
10  fp.close();
11  fp = open (str(index/10)+".html","w")
12  fp.write('<html>\n<head>\n<title>Pictures from Hong Kong</title>\n</head>\n<body vlink="#001e73" link="#001e73" bgcolor="#ffffff" text="#000000">\n');
13  return fp

Variable Documentation

tuple first = sys.stdin.readline()

Definition at line 22 of file webpageize.py.

tuple fp = 0

Definition at line 5 of file webpageize.py.

int index = 0

Definition at line 4 of file webpageize.py.

tuple second = sys.stdin.readline()

Definition at line 25 of file webpageize.py.