dboyliao
2015-11-25
Update README.md
@1182b446015e7b18e143e0dd80b91cc760fd4de1
--- README.md
+++ README.md
... | ... | @@ -19,6 +19,19 @@ |
19 | 19 |
- [Wiki](https://en.wikipedia.org/wiki/Interface_segregation_principle) |
20 | 20 |
- `D`: |
21 | 21 |
|
22 |
+## Running the Code |
|
23 |
+ |
|
24 |
+All the submodules are managed in the same way, which means you can run the code using the same syntax. For example, if you want to see the result of the sample code for Open/Close principle, just run: |
|
25 |
+ |
|
26 |
+``` |
|
27 |
+python -m python_code.bad.open\_close # See the result of bad implementation |
|
28 |
+python -m python_code.good.open\_close # See the result of good implementation |
|
29 |
+``` |
|
30 |
+ |
|
31 |
+However, it is recommanded to see the source code and get an understanding of what the issue is and possible way to solve it. |
|
32 |
+ |
|
33 |
+Enjoy coding! |
|
34 |
+ |
|
22 | 35 |
## Other Interesting Articles |
23 | 36 |
|
24 | 37 |
- [Programming Done By Superstition](https://utcc.utoronto.ca/~cks/space/blog/programming/ProgrammingViaSuperstition) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?