-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial Crossword Generation Capability #2
base: main
Are you sure you want to change the base?
Conversation
No clean handover either in- or out-of main() function.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
General description of things to do (later, hehe):
|
49e6307
to
3ff03c3
Compare
…ord dictionary to file as .json file. Added example to python/output/.
Changed the input arguments to the Added some basic input validation (acknowledging that some may be performed 'up top'). I'm not exactly sure how the addition of input arguments to main() is affected by the entry-point handling at the end of the if __name__ == '__main__':
main() # <--- Does this line need the input arguments? Not sure. A potentially useful excerpt regarding its usage: "When a Python file is executed, the interpreter sets a special variable called name to "main" if the file is being run as the main program. If the file is being imported as a module into another program, the name variable will be set to the name of the module. The if name == 'main': statement checks if the current file is being run as the main program by comparing the value of name to the string "main". If the comparison is true, the main() function is called. This approach is commonly used to provide a module with both a library interface (when it is imported as a module) and a command-line interface (when it is executed directly). By separating these two interfaces, the module can be used in different ways, making it more flexible and reusable." The output file is written to |
…uments - see launch.json for reference.
closes #1