Top "Module" questions

A logical subdivision of a larger, more complex system.

Sharing & modifying a variable between multiple files node.js

main.js var count = 1; // psuedocode // if (words typed begins with @add) require('./add.js'); // if (words typed begins with @…

node.js variables module sharing total.js
Global variables for node.js standard modules?

I know that global variables are bad. But if I am using node's module "util" in 40 files in my framework, …

javascript module node.js global-variables shared-libraries
No module named 'pandas' in Pycharm

I read all the topics about, but I cannot solve my problem: Traceback (most recent call last): File "/home/.../.../.../reading_…

python pandas module pycharm sklearn-pandas
Why is there no tkinter distribution found?

I am having a problem during the installation of tkinter. I have version 2.7.11. I entered the pip install tkinter on …

python tkinter module
"from math import sqrt" works but "import math" does not work. What is the reason?

I am pretty new in programming, just learning python. I'm using Komodo Edit 9.0 to write codes. So, when I write "…

python module komodo
How can I find the version of an installed Perl module?

How do you find the version of an installed Perl module? This is in an answer down at the bottom, …

perl module version cpan
What does a . in an import statement in Python mean?

I'm looking over the code for Python's multiprocessing module, and it contains this line: from ._multiprocessing import win32, Connection, PipeConnection …

python module
Import multiple Angular components via module

My Angular project is growing so I want to keep my project clean. I have one Angular component which depends …

angular module components separation-of-concerns
Python Module with a dash, or hyphen (-) in its name

I have an existing python module with a dash in its name, foo-bar.py Changing the module name is something …

python module import
Error handling when importing modules

This probably has an obvious answer, but I'm a beginner. I've got a "module" (really just a file with a …

python error-handling module cross-platform