Top "Module" questions

A logical subdivision of a larger, more complex system.

Execution of Python code with -m option or not

The python interpreter has -m module option that "Runs library module module as a script". With this python code a.…

python module package
Whats the difference between a module and a library in Python?

I have background in Java and I am new to Python. I want to make sure I understand correctly Python …

python module package
How to check if a module is installed in Python and, if not, install it within the code?

I would like to install the modules 'mutagen' and 'gTTS' for my code, but I want to have it so …

python python-3.x module python-module
Checking a Python module version at runtime

Many third-party Python modules have an attribute which holds the version information for the module (usually something like module.VERSION …

python module version
How to create and use a module using Ruby on Rails 3?

I am using Ruby on Rails 3 and I would like to move some custom and shared code in a module. …

ruby-on-rails-3 module
Why does Typescript use the keyword "export" to make classes and interfaces public?

While dabbling with Typescript I realised my classes within modules (used as namespaces) were not available to other classes unless …

typescript module public access-modifiers
How do I get the redirected url from the nodejs request module?

I'm trying to follow through on a url that redirects me to another page using the nodejs request module. Combing …

node.js module request
How to make one module depend on another module artifact?

I have maven multiple-module project. A: parent. B: child1. C: child2. B will be packaged to get jar file and …

module dependencies maven
How can I find out where a Perl module is installed?

How do get the path of a installed Perl module by name, e.g. Time::HiRes? I want this just …

perl path module config
How do I automatically install missing python modules?

I would like to be able to write: try: import foo except ImportError: install_the_module("foo") What is the …

python module pypi