Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DegreeCalc could use flags rather than just cmd line inputs, but I couldn't be bothered with the if statements #5

Open
DavidT3 opened this issue Dec 2, 2016 · 1 comment

Comments

@DavidT3
Copy link
Collaborator

DavidT3 commented Dec 2, 2016

No description provided.

@tingard
Copy link
Owner

tingard commented Dec 5, 2016

rekt...
if you look in FatController, the check arguments func uses getopt, which does a fair amount of work for you. But yeah it would add a fair few lines of code. Maybe just write it as a function and use if __name__ == "__main__": to get the raw_inputs to pass to the function? That way it can be used inside another script?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants