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

Method __init__

image2pdf/image2pdf.py:6–11  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4
5class image2pdf:
6 def __init__(self):
7 self.validFormats = (".jpg", ".jpeg", ".png", ".JPG", ".PNG")
8 self.pictures = []
9
10 self.directory = ""
11 self.isMergePDF = True
12
13 def getUserDir(self):
14 """Allow user to choose image directory"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected