
def GenerateCover():
	pass

if __name__ == '__main__':
	GenerateCover()

import subprocess
def GenerateCover():
	Cover = "Cover"
	BookName = "BookName"
	BookCover = BookName + Cover
	BookExt = "BookExt"
	HTMLExt = "HTMLExt"
	BookCoverHTML = BookCover + HTMLExt
	CSS = "CSS_"
	CSSExt = "CSSExt"

	pandocCommand = "pandoc ..\\source\\" + BookCover + BookExt + " -o "
	+ BookCoverHTML + " -standalone " + CSS_ + Cover + CSSExt + " --verbose"
	subprocess.call(pandocCommand, stdout=FNULL, stderr=FNULL, shell=False)

if __name__ == '__main__':
	GenerateCover()

Implement GenerateCover using fake vars
Implement GenerateCover using fake vars

+ import subprocess
+ def GenerateCover():
+ 	Cover = "Cover"
+ 	BookName = "BookName"
+ 	BookCover = BookName + Cover
+ 	BookExt = "BookExt"
+ 	HTMLExt = "HTMLExt"
+ 	BookCoverHTML = BookCover + HTMLExt
+ 	CSS = "CSS_"
+ 	CSSExt = "CSSExt"
  
- def GenerateCover():
- 	pass
+ 	pandocCommand = "pandoc ..\\source\\" + BookCover + BookExt + " -o "
+ 	+ BookCoverHTML + " -standalone " + CSS_ + Cover + CSSExt + " --verbose"
+ 	subprocess.call(pandocCommand, stdout=FNULL, stderr=FNULL, shell=False)
  
  if __name__ == '__main__':
  	GenerateCover()
  
Implement GenerateCover using fake vars
## Code Before:

def GenerateCover():
	pass

if __name__ == '__main__':
	GenerateCover()

## Instruction:
Implement GenerateCover using fake vars
## Code After:
import subprocess
def GenerateCover():
	Cover = "Cover"
	BookName = "BookName"
	BookCover = BookName + Cover
	BookExt = "BookExt"
	HTMLExt = "HTMLExt"
	BookCoverHTML = BookCover + HTMLExt
	CSS = "CSS_"
	CSSExt = "CSSExt"

	pandocCommand = "pandoc ..\\source\\" + BookCover + BookExt + " -o "
	+ BookCoverHTML + " -standalone " + CSS_ + Cover + CSSExt + " --verbose"
	subprocess.call(pandocCommand, stdout=FNULL, stderr=FNULL, shell=False)

if __name__ == '__main__':
	GenerateCover()
