Skip to content

Commit 7497441

Browse files
committed
Add example contents of __init__.py file to project report
1 parent 4a82db9 commit 7497441

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

project-report/project-report.pdf

832 Bytes
Binary file not shown.

project-report/src/latex/technical-solution.tex

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,24 @@ \subsubsection{File Structure}
1717
\item The frames package, which consists of tkinter frames for the User Interface.
1818
\end{itemize}
1919

20-
Each package within the school\_project package contains a \_\_init\_\_.py file, which allows the school\_project package to be installed to a virtual environment
21-
so that the modules of the package can be imported from the installed package. I have omitted the source code for this report, which included a Makefile for its
22-
compilation.
23-
2420
\pagebreak
2521

2622
\begin{footnotesize}
2723
\verbatiminput{|"git ls-tree -r --name-only HEAD | grep -v -E 'project-report/|Makefile' | tree --fromfile --charset=ascii"}
2824
\end{footnotesize}
2925

26+
\pagebreak
27+
28+
Each package within the school\_project package contains a \_\_init\_\_.py file, which allows the school\_project package to be installed to a virtual environment
29+
so that the modules of the package can be imported from the installed package.
30+
31+
\begin{itemize}
32+
\item Here is the contents of the frames package's \_\_init\_\_.py for example, which allows the classes of all modules in the package to be imported at once:
33+
\inputminted{python}{./school_project/frames/__init__.py}
34+
\end{itemize}
35+
36+
I have omitted the source code for this report, which included a Makefile for its compilation.
37+
3038
\subsubsection{Dependencies}
3139

3240
The python dependencies for the project can be installed simply by running the following setup.py file (as described in the README.md in the next section). Instructions on

0 commit comments

Comments
 (0)