Top "Module" questions

A logical subdivision of a larger, more complex system.

What is the purpose of the -m switch?

Could you explain to me what the difference is between calling python -m mymod1 mymod2.py args and python mymod1.…

python command-line module package
Finding the root directory of a multi module maven reactor project

I want to use the maven-dependency-plugin to copy artifacts from all sub-modules of my multi-module project to a directory that …

maven-2 directory module root
Can I use __init__.py to define global variables?

I want to define a constant that should be available in all of the submodules of a package. I've thought …

python global-variables module packages init
Can't load Python modules installed via pip from site-packages directory

I am trying to install and use the Evernote module (https://github.com/evernote/evernote-sdk-python) . I ran pip install evernote …

python macos bash module evernote
What is the difference between include and extend in Ruby?

Just getting my head around Ruby metaprogramming. The mixin/modules always manage to confuse me. include: mixes in specified module …

ruby module include extend
Is there a standard way to list names of Python modules in a package?

Is there a straightforward way to list the names of all modules in a package, without using __all__? For example, …

python module package
List all the modules that are part of a python package?

Is there a straightforward way to find all the modules that are part of a python package? I've found this …

python module packages introspection python-import
Can you define aliases for imported modules in Python?

In Python, is it possible to define an alias for an imported module? For instance: import a_ridiculously_long_module_…

python module alias python-import
Node.js plans to support import/export ES6 (ECMAScript 2015) modules

I've been looking all over the Internet without a clear answer for this. Currently Node.js uses only CommonJS syntax …

javascript node.js module ecmascript-6 es6-modules
How to point Go module dependency in go.mod to a latest commit in a repo?

Starting with v1.11 Go added support for modules. Commands go mod init <package name> go build would generate …

git go module