Tagged articles
import
54 articles · Page 1 of 1

liandkMay 11, 2026 · Fundamentals
This guide teaches you what Python modules are, demonstrates three import styles, shows how to install third‑party packages using reliable mirrors, and walks through practical examples—including random score generation and common pitfalls—to help you quickly leverage modules for automation and web scraping.
Mirror repositoriesModulesPython
0 likes · 6 min read

This article explains why Python import errors occur, describes the role of sys.path, and presents five practical techniques—including modifying sys.path, setting PYTHONPATH, using relative imports, building a proper package structure, and leveraging importlib—for reliable cross‑directory module imports.
Circular ImportPYTHONPATHPython
0 likes · 10 min read

This article explains why the ECharts library must be imported with the namespace syntax (import * as echarts) by examining ES Module and CommonJS differences, compatibility strategies, historical reasons, and practical guidelines for choosing the correct import style in frontend development.
CommonJSEChartsESM
0 likes · 7 min read

This guide explains six essential Python import techniques—including using full module imports, aliases, selective imports, avoiding wildcard imports, checking existing names, and leveraging the __all__ attribute—to help you write clearer, conflict‑free code.
Best PracticesPython__all__
0 likes · 4 min read

This article explains Python modules and packages, covering their definitions, how to import them, use aliases, explore the module search path, and provides practical tips for packages, relative imports, and common debugging techniques to improve code organization and maintainability.
importpackages
0 likes · 5 min read

This article explains Go's package system, covering package declaration, classification, import mechanics, identifier visibility, the init function, and how to manage dependencies using Go Modules from Go 1.11 onward.
GoGo modulesimport
0 likes · 4 min read

This article explains how SpringBoot integrates MyBatis by using @MapperScan and @Import annotations to scan mapper interfaces, generate and modify BeanDefinitions, create proxy beans, and execute SQL statements, while also promoting AI tools, DeepSeek resources, and related services for developers.
AIJavaMapperScan
0 likes · 11 min read

This article explains the problem of circular imports in Python, demonstrates the resulting ImportError with example modules, and shows how to resolve it by changing import statements to module-level imports, allowing the code to run correctly and print 'Hello, world!'.
Circular Importcode refactoringimport
0 likes · 5 min read

This article explains the differences between Python's import and from statements, detailing their syntax, use cases such as importing whole modules, specific objects, setting aliases, and best practices for writing clear, efficient code.
FROMPythonimport
0 likes · 5 min read

This article explains the fundamentals of Python modularization, covering basic concepts, various import styles, practical use‑case examples, and best‑practice guidelines such as avoiding circular dependencies and using clear package structures to improve code maintainability and scalability.
code organizationimportmodularization
0 likes · 7 min read

This article explains the purpose, usage patterns, and internal mechanics of Spring's @Import annotation, including importing regular classes, ImportSelector implementations, and ImportBeanDefinitionRegistrar implementations, with complete code examples and a discussion of how Spring processes these imports at runtime.
BackendConfigurationDependencyInjection
0 likes · 9 min read

This article explains why import statements can fill an entire file, examines the problems caused by excessive imports, and presents practical techniques such as module re‑export, require.context, dynamic import, webpack ProvidePlugin, Vite plugins, TypeScript namespaces, aliasing, and Babel plugins to keep import sections concise and maintainable.
Vitecode organizationfrontend
0 likes · 11 min read

This article explains how to use Spring Boot's @Import annotation to modularize applications, add scanning entry points, and dynamically register beans via ImportSelector and ImportBeanDefinitionRegistrar, including code examples and configuration tips for Maven multi‑module projects.
ComponentScanJavaMaven
0 likes · 18 min read

This article explains how to modularize a Spring Boot monolith by splitting it into Maven modules, leveraging @ComponentScan, @Import, custom annotations, ImportSelector, ImportBeanDefinitionRegistrar, and conditional loading to dynamically include or exclude functionality at runtime.
ComponentScanConfigurationMaven
0 likes · 18 min read

This article explains how the if __name__ == '__main__' construct distinguishes between running a Python file as a script versus importing it as a module, prevents unintended execution, and provides practical examples for testing, main logic, and avoiding side effects.
PythonScriptif __name__ == '__main__'
0 likes · 5 min read

This guide provides a comprehensive collection of MySQL command‑line scripts covering database and table export/import, creation, deletion, schema inspection, data manipulation, user privilege management, and common DDL operations, all with practical examples.
DDLData ManipulationExport
0 likes · 10 min read

This article explains how the __name__ variable is set when running Python scripts directly or importing them, demonstrates its behavior with multiple .py files, shows how unintended code can be executed, and introduces the if __name__ == '__main__' guard to control execution.
Scriptconditionalimport
0 likes · 6 min read

This guide shows how to integrate PhpSpreadsheet into a Webman PHP project, covering Composer installation, detailed code for safely importing Excel files with validation and data extraction, and generating Excel exports with styled headers, custom column widths, and base64‑encoded file delivery.
ComposerExcelExport
0 likes · 7 min read

Easy Excel is a PHP library built on openspout that enables fast, low‑memory reading and writing of xlsx, csv, and ods files, providing installation steps, environment requirements, and code examples for exporting, importing, and handling Excel data in backend applications.
BackendExcelExport
0 likes · 4 min read

This article explains Spring's @Import annotation, compares it to @Bean, demonstrates three distinct usage patterns with concrete code examples, and walks through the underlying processing performed by ConfigurationClassPostProcessor and related internal methods.
JavaSpring Bootimport
0 likes · 16 min read

The article introduces alanpoi, a Java library that streamlines Excel import and export with millisecond‑level parsing, multi‑sheet support, error feedback, and extensible consumption interfaces, providing configuration, inheritance, and invocation examples along with annotation‑driven export capabilities.
BackendExportJava
0 likes · 6 min read

This tutorial walks Rust beginners through three practical ways to declare and use modules across files, explains Cargo's file‑placement conventions, and shows how to reference sibling and external modules with the `use` and `super` keywords.
CargoRustcode organization
0 likes · 10 min read

This article explains how running a Python file directly with python3 script.py differs from using python3 -m module, focusing on the resulting changes to sys.path, import behavior, and the search order of modules.
Pythoncommand-lineimport
0 likes · 4 min read

This guide explains how to use Alibaba's EasyExcel library for efficient, low‑memory Excel import and export in Java, covering its core features, common annotations, Maven dependencies, listener implementation, and practical code examples for both HTTP‑based and local file operations.
EasyExcelExcelExport
0 likes · 7 min read

This guide explains how to migrate Docker images by using the docker load/save commands for image‑level import/export and the docker import/export commands for container‑level import/export, detailing each command's options and providing concrete examples.
DockerExportImage
0 likes · 5 min read

This comprehensive guide explores every way to define Spring beans—from classic XML configurations and constructor or setter injection to modern @Component annotations, JavaConfig @Bean methods, and advanced @Import, ImportSelector, and post‑processor techniques—empowering developers to choose the most suitable approach for any project.
@BeanJavaConfigSpring
0 likes · 18 min read

This article explains why circular imports occur in Python, demonstrates the resulting ImportError with example modules, and provides three practical solutions—including importing modules directly, using lazy imports, and redesigning code structure—to prevent such issues.
BackendCircular ImportPython
0 likes · 4 min read

This guide explains the purpose of Spring Boot's @Enable* annotations, how they rely on @Import, and walks through creating a custom @EnablePack annotation with accompanying configuration and usage in a Spring Boot application.
Backend DevelopmentCustom AnnotationJava
0 likes · 4 min read

This guide walks you through installing DataGrip, configuring connections and drivers, using its powerful SQL editor, navigating objects, exporting and importing data, and leveraging advanced shortcuts and features to streamline database development and management.
DataGripExportIDE
0 likes · 12 min read

This article provides a comprehensive collection of MySQL command-line instructions for exporting databases or tables, importing data, managing databases and tables, performing DDL and DML operations, handling field types, and configuring user privileges, all illustrated with practical code examples.
DDLDMLDatabase Commands
0 likes · 10 min read

This article explores how various export syntaxes in ES modules affect the binding behavior of imported values in Node.js, demonstrating differences between named exports, default exports, destructuring, and circular dependencies with clear code examples.
ESMExportNode.js
0 likes · 7 min read

This article explains the built‑in __name__ variable in Python, how its value differs when a script is run directly versus imported as a module, and demonstrates both scenarios with clear code examples and visual diagrams.
PythonScriptexecution
0 likes · 5 min read

This article enumerates frequent Python pitfalls—including UnboundLocalError, mutable default arguments, subtle differences between x+=y and x=x+y, tuple syntax, shared mutable containers, list mutation during iteration, closure late binding, misuse of del, import inconsistencies, version‑specific changes, and the GIL—providing explanations and correct practices to help developers write safer code.
GILVersion Compatibilityclosures
0 likes · 13 min read

This article explains the two primary Python import syntaxes—importing an entire module versus importing selected members—detailing their differences, usage of aliases, multiple module imports, and includes runnable code examples that illustrate how each form affects name resolution.
fundamentalsimportmodule
0 likes · 3 min read

This article explains how to import classes, functions, and constants from different PHP namespaces using the `use` keyword, demonstrates various import syntaxes including aliasing and bulk imports, and provides complete code examples for each scenario.
USEimportnamespaces
0 likes · 4 min read

This article explains the purpose and behavior of Python's built‑in __name__ variable, showing how its value differs when a script is run directly versus when it is imported as a module, with clear code examples and execution flow diagrams.
PythonScriptimport
0 likes · 5 min read

This article documents a step‑by‑step MySQL data migration case involving 140 million rows, covering export via SELECT INTO OUTFILE, import with LOAD DATA INFILE, and a series of performance tweaks such as index removal, session variable tuning, engine selection, and monitoring to achieve sub‑10‑minute load times.
ExportMySQLdata migration
0 likes · 9 min read

This article explains how Webpack's asynchronous loading mechanisms such as require.ensure and dynamic import() work, demonstrates practical examples for splitting bundles, discusses route lazy‑loading in Vue, and provides optimization techniques including splitChunks, CDN externals, and bundle analysis to improve frontend performance.
Code SplittingVue lazy loadingasync loading
0 likes · 13 min read

This guide provides step‑by‑step instructions for exporting entire MySQL databases or individual tables, importing data, performing common DDL and DML operations such as creating, altering, renaming, and dropping databases and tables, managing fields, and configuring user permissions, all illustrated with concrete command‑line examples.
DDLDMLExport
0 likes · 9 min read

This guide walks through adding an Excel import dialog with ElementUI, configuring upload handling, token authentication, progress and success callbacks, and a SpringBoot POI‑based import endpoint, then shows how to create an export button that uses RuoYi’s ExcelUtil and annotation‑driven export logic.
ElementUIExcelExport
0 likes · 12 min read

This article explains Python's import system, covering absolute and relative import syntax, package structure, execution contexts, and typical errors, while providing clear code examples and practical guidelines for correctly organizing and running modules.
PEP 328PackagePython
0 likes · 11 min read

Explore eight distinct methods for importing Python modules—from the simple 'import' statement to advanced techniques like __import__, importlib, imp, execfile, exec, the import_from_github_com package, and custom remote importers—providing practical code examples and guidance for both everyday developers and framework creators.
Pythondynamic importimport
0 likes · 10 min read

Laravel FastExcel provides a memory‑friendly alternative to Laravel Excel for importing and exporting data, demonstrating installation via Composer, basic export of collections or models, handling large datasets with generators, and various import configurations, while emphasizing performance considerations such as max_execution_time.
FastExcelLaravelPHP
0 likes · 5 min read

This article surveys typical Python traps—including UnboundLocalError, mutable default arguments, in‑place versus out‑of‑place updates, tuple syntax, shared mutable containers, list mutation during iteration, closure late binding, __del__ pitfalls, import inconsistencies, version differences, operator quirks, attribute magic methods, and the GIL—explaining why they occur and offering safe alternatives.
GILPythonattribute-access
0 likes · 12 min read

This article explains how the @Import annotation in the pig4cloud framework can be used to import components, implement dynamic routing, and register beans via ImportSelector and ImportBeanDefinitionRegistrar, providing concise architecture and easy activation of OAuth resource servers.
Dynamic RouteImportBeanDefinitionRegistrarImportSelector
0 likes · 4 min read


DevOpsJun 13, 2019 · Operations
This guide explains how to use the TFS Test Plan Management tool to import and export test cases, detailing step‑by‑step procedures, example screenshots, default file locations, and answers to common questions for testers seeking to manage their test case data efficiently.
DevOpsExportTFS
0 likes · 3 min read

The article explains how 75CDN, a static resource CDN maintained by the 360 front‑end team, has added ES Module support, details browser compatibility, shows how to enable ESM on the platform, and provides practical code examples for importing modules in web projects.
Browser CompatibilityCDNES Module
0 likes · 6 min read

This article explains how Go organizes source files into packages, the difference between import paths and package names, how the compiler chooses between source code and compiled .a files, the role of import aliases, and why a directory can contain only one package.
Goaliascompilation
0 likes · 11 min read

This article explains how Java packages are created with the package statement, how they organize classes into namespaces, how to import and use them in code, and how to configure the classpath for compilation and execution, providing practical examples and code snippets.
Javaclasspathimport
0 likes · 7 min read


ITPUBJun 14, 2017 · Databases
This article explains why exporting a schema with Oracle Data Pump can leave a table's primary‑key sequence behind the actual data, demonstrates the problem with a live test, and provides a step‑by‑step fix by resetting the sequence to the maximum key value.
Data PumpOracleTrigger
0 likes · 5 min read

JD Data Research Institute’s 2017 Belt and Road cross‑border e‑commerce consumption trend report shows Chinese products sold in 54 Belt‑and‑Road nations, with mobile phones, computers, electronic accessories and home goods leading exports, while smart devices, automotive parts and health‑beauty items experience the fastest sales growth, alongside notable improvements in import volumes and logistics speed.
Belt and RoadChinaCross-border E-commerce
0 likes · 9 min read

This article compares Node's CommonJS require/module.exports with ES6's import/export syntax, explains their differences, usage patterns, and pitfalls, and offers guidance on when to adopt import over require as JavaScript engines evolve toward full ES6 support.
CommonJSES6Export
0 likes · 10 min read


ITPUBOct 5, 2016 · Databases
This guide walks through exporting Oracle PL/SQL user objects and table data with PL/SQL Developer, then restoring them by dropping the existing user, recreating it with necessary privileges, executing the exported SQL script, and importing table data while handling constraints and triggers.
ExportOraclePL/SQL
0 likes · 5 min read


ITPUBApr 18, 2016 · Databases
This guide details the most effective Oracle Data Pump parameters and related database settings—such as access_method, parallel, network_link, and NLS options—to dramatically improve export and import performance while avoiding common pitfalls.
Data PumpDatabase ParametersExport
0 likes · 12 min read
