Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Official The official Python documentation has material that may be helpful: Tutorials: Modules, including § Packages Virtual Environments and Packages The Python Packaging User Guide,...
#8: Post edited
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured, instead of having the carpenter hire someone[]() do it".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which the CPython project itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
- It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured, instead of having the carpenter hire someone else to do it".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which the CPython project itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
#7: Post edited
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which the CPython project itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
- It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured, instead of having the carpenter hire someone[]() do it".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which the CPython project itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
#6: Post edited
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
- It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.
Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
- It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which the CPython project itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
#5: Post edited
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
- ## Official
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- ## Other
- It's important to understand design principles for scalability. For example, [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) means things that you build are flexible. (As a sidenote, I've always disliked that name. I wouldn't really call it "injection" when it's usually done by just passing. I like to think of it like "if you hire a carpenter to build a shed, the foundation should already be poured".) [SOLID](https://www.digitalocean.com/community/conceptual-articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design) is a good core set of principles for OOP.
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
#4: Post edited
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant.- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. There are tools that can automatically format your code, such as [autopep8](https://pypi.org/project/autopep8/) (which makes minimal changes) and [Black](https://black.readthedocs.io/en/stable/) (which may make sweeping changes).
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).[]()
#3: Post edited
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant.- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant.
- Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
#2: Post edited
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- - A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant.
- - Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/).
- The official Python documentation has material that may be helpful:
- - Tutorials:
- * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages)
- * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html)
- - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/)
- - A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant.
- - Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html).
- Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/) (which CPython itself uses, and which the [`venv` module](https://docs.python.org/3/library/venv.html) integrates with).
#1: Initial revision
The official Python documentation has material that may be helpful: - Tutorials: * [Modules](https://docs.python.org/3/tutorial/modules.html), including § [Packages](https://docs.python.org/3/tutorial/modules.html#packages) * [Virtual Environments and Packages](https://docs.python.org/3/tutorial/venv.html) - The [Python Packaging User Guide](https://packaging.python.org/en/latest/), especially [Packaging Python Projects](https://packaging.python.org/en/latest/tutorials/packaging-projects/) - A consistent style is important. See [PEP 8 – Style Guide for Python Code](https://peps.python.org/pep-0008/). It doesn't say much about structure, but § [Public and Internal Interfaces](https://peps.python.org/pep-0008/#public-and-internal-interfaces) is relevant. - Static typing is helpful, including e.g. for IDE integration. See [Static Typing with Python](https://typing.python.org/en/latest/) and the [`typing` module](https://docs.python.org/3/library/typing.html). Finally, I hope you're already using a [version-control system](https://en.wikipedia.org/wiki/Version_control_system), but if not, try starting with [Git](https://git-scm.com/).
