Tagged Questions
2
votes
1answer
66 views
Good practices for packaging Python programs
I've been using Python for a while now, both in the context of personal and professional projects.
One thing that occured to me recently is that I had never thought about a good way to deploy Python ...
7
votes
4answers
233 views
How large should a Python module be?
I was browsing a github project and found this module which has more than 8 thousands lines.
Is it good practice to have that much code in a single module?
Shouldn't this be split over multiple ...
8
votes
5answers
405 views
Python: What is the point of using “import”?
I am not very clear on this aspect. Let's say you have a bunch of .py files that are their own separate modules.
Why does each .py file need to import the others when they use that class? Or do they? ...
2
votes
2answers
69 views
What is Module Object and Function Object?
I am currently teaching myself Python, using the GNU licensed book "Introduction to Computer Science using Python."
In chapter 3, functions are covered. While I understand the concept of functions ...
9
votes
1answer
697 views
Module vs. Package?
Whenever you do "from 'x' import 'y'" I was wondering which one is considered the 'module' and which is the 'package', and why it isn't the other way around?