Introduction to Python scripting
Closed this issue · 0 comments
lfunderburk commented
Starter doc
The goal of this blog is to get the users familiar with the key elements in python scripting:
- What is a .py script and how is it different from working with Jupyter notebooks
- Good software development practices for scripting:
a. Imports at the top
b. Function definition (should include mention of naming conventions, docstrings, and modularization, use Pythonic principles)
c. Main program (what doesif __name__=="__main__:
means and why is it used.
d. Calling functions from the main program - Introducing Python scripting for data download, cleaning and saving with pandas and SQLAlchemy