MCPcopy Create free account
hub / github.com/geekcomputers/Python / print_docs

Function print_docs

daily_checks.py:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30def print_docs(): # Function to print the daily checks automatically
31 print("Printing Daily Check Sheets:")
32 # The command below passes the command line string to open word, open the document, print it then close word down
33 subprocess.Popen(
34 [
35 r"C:\Program Files (x86)\Microsoft Office\Office14\winword.exe",
36 r"P:\Documentation\Daily Docs\Back office Daily Checks.doc",
37 "/mFilePrintDefault",
38 "/mFileExit",
39 ]
40 ).communicate()
41
42
43def putty_sessions(conffilename): # Function to load the putty sessions I need

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected