ZA | 25-SDC-July | Luke Manyamazi | Sprint 4 | Python Implement Cowsay Exercise#164
ZA | 25-SDC-July | Luke Manyamazi | Sprint 4 | Python Implement Cowsay Exercise#164Luke-Manyamazi wants to merge 2 commits intoCodeYourFuture:mainfrom
Conversation
LonMcGregor
left a comment
There was a problem hiding this comment.
As cowsay includes a package outwith the normal python installation, you should include it as a requirement. Can you find how to do this?
For your question, whether you use getattr or call a function directly will depend largely on the library you are using. In this case, if cowsay has a convenience function that takes an animal argument. you could use that and it should function largely the same.
I have installed the requirements.txt file and added cowsay as a requirement for the program. |
Learners, PR Template
Self checklist
Changelist
Questions