Tagged articles
Code Tutorial
32 articles · Page 1 of 1
Learn how to generate various QR codes in Java—including login tokens, promotional URLs, and temporary visitor codes—by analyzing use cases, selecting the ZXing library, and following step‑by‑step code examples with best‑practice tips and common pitfalls.
Code TutorialJavaQR Code
0 likes · 9 min read

This guide explains how to define, pass, iterate over, and return arrays within PHP functions, covering array creation with array(), parameter passing, traversal using both for and foreach loops, and returning modified arrays, complete with full code examples for each step.
Code TutorialPHParrays
0 likes · 5 min read

This article walks through a real‑world Python dictionary processing challenge, demonstrates several solutions—from basic loops to itertools grouping and Pandas aggregation—provides complete code snippets, and explains how to obtain the desired structured output.
Code TutorialPythondata processing
0 likes · 5 min read

This guide explains how PHP's is_callable() function works, its parameters, and provides clear code examples for verifying both standalone functions and class methods before invocation, helping developers write more robust and maintainable code.
Code TutorialPHPbackend development
0 likes · 4 min read

This guide explains PHP’s str_replace function, covering its syntax, how to perform simple replacements, replace multiple characters using arrays, and delete characters, with clear code examples and output demonstrations to help you efficiently manipulate strings in your projects.
Code TutorialPHPstr_replace
0 likes · 3 min read

Learn how to create a fully functional Python calculator using Tkinter, covering complete requirements, UI design, button layout, advanced math operations, dynamic font scaling, keyboard handling, and extensibility suggestions, with the entire source code and detailed explanations for each component.
CalculatorCode TutorialGUI
0 likes · 20 min read

This article explains the PHP str_replace function, its syntax, and demonstrates with clear code examples how to replace single strings, replace multiple patterns using arrays, and delete characters, helping developers handle string manipulation efficiently.
Code TutorialPHPString Manipulation
0 likes · 3 min read

Learn how Java 8 introduced powerful Map methods such as getOrDefault, forEach, merge, putIfAbsent, compute, computeIfAbsent, computeIfPresent, and replace, with clear code examples that show how they simplify common tasks like default value handling, iteration, merging entries, and conditional updates.
Code TutorialJDK8Java
0 likes · 10 min read

This article walks through a Python fan's question about implementing algebraic functions, presenting two clear solutions—one using basic operators and another leveraging the Sympy library—complete with code examples, output results, and step‑by‑step explanations for learners of all levels.
Code TutorialPythonSymPy
0 likes · 6 min read

This guide explains Python's dictionary unpacking using the ** operator, showing how it streamlines passing keyword arguments to functions and formatting strings, while covering basic examples, practical advantages, and important precautions to avoid common errors.
Code TutorialDictionary UnpackingPython
0 likes · 5 min read

This article introduces a graduation project that creates an interactive smart campus 3D scene using three.js and Vue, provides demo links, outlines core features, offers a quick‑start guide, and gives detailed explanations of each module, modeling conventions, and performance tips.
3D visualizationCode TutorialThree.js
0 likes · 7 min read

This article walks through cleaning irregular fan data—removing spaces, Chinese characters, asterisks, and missing brackets—using Python's pandas library, provides the full code snippet, demonstrates the resulting DataFrame, and shares practical tips for preparing data before analysis.
Code TutorialPandasdata cleaning
0 likes · 5 min read

In this article, we explore a common Matplotlib visualization issue where a black line appears, explain how to identify it, and provide step‑by‑step code to change its color to gray, along with additional tips for effective Python plotting and community resources.
Code Tutorialmatplotlibplot customization
0 likes · 4 min read

This article walks through extracting six‑digit numeric codes from strings containing letters, numbers, and symbols using Python regular expressions and pandas, presenting multiple community‑sourced approaches, complete code examples, and visual explanations to help readers solve similar data extraction challenges.
Code TutorialPandasPython
0 likes · 5 min read

This article walks through a Python interview problem that extracts level‑up events from a log file, demonstrating step‑by‑step data cleaning, JSON parsing, and aggregation with pandas, and provides the complete, ready‑to‑run code plus visual explanations.
Code TutorialPandasinterview question
0 likes · 5 min read

This article explains the PHP strcmp() function, covering its syntax, return values, and practical examples for comparing string equality, ordering, case sensitivity, and length, while also noting the related strcasecmp() function for case‑insensitive comparisons.
Code TutorialPHPbackend development
0 likes · 6 min read

This article explains how to transform a nested Python list of label‑value pairs into a single formatted string using simple loops and list comprehensions, providing clear code examples and step‑by‑step explanations for beginners.
Code TutorialString Concatenationlist manipulation
0 likes · 5 min read

This tutorial demonstrates how to generate PDF files in Java with iText by filling form templates, inserting images and charts, creating dynamic tables, handling page breaks, and adding custom page headers, footers, and watermarks for backend applications.
BackendCode TutorialDynamic Table
0 likes · 25 min read

This article walks you through four Python heart‑drawing techniques—from a simple text‑based love shape to colorful Turtle graphics and an animated beating heart—providing complete code snippets and visual examples so you can impress anyone this Valentine’s Day.
Code TutorialHeart AnimationValentine's Day
0 likes · 11 min read

This article walks through a real‑world Pandas grouping problem, showing how to aggregate song and actor data, concatenate song IDs with commas, and sum tags, providing clear code examples and explanations to help Python learners solve similar data‑processing challenges.
Code TutorialPandasPython
0 likes · 3 min read

This article walks through a pandas data‑processing problem, showing how to concatenate province, city, and district fields using vectorized string operations with clear code examples and resulting output to help readers apply the technique.
Code TutorialPandasPython
0 likes · 3 min read

This article walks through a real‑world Pandas problem posted in a Python community, showing how to read multiple Excel sheets, reshape the data, rename columns, and filter the result to match a desired table layout, complete with code and screenshots.
Code TutorialExcelPandas
0 likes · 4 min read

The article explains how Java Text Blocks (the triple‑quote syntax) replace cumbersome string concatenation for embedding multi‑line SQL, JSON, or HTML, improving readability, eliminating most escape sequences, and behaving as regular String constants at compile and runtime.
Code TutorialJavaMultiline Strings
0 likes · 4 min read

This article walks through a Python tutorial that generates a random list, sorts it, and calculates the minimum, maximum, sum, and average values, providing clear explanations, code snippets, and output screenshots for readers to follow along.
Code Tutorialaveragedata processing
0 likes · 4 min read

This article introduces Python's readability and popularity, then walks through four practical projects—an instant‑tagging tool, a PDF creator using urllib and reportlab, an XML‑driven website generator, and a news‑aggregation utility—explaining their architecture, key modules, and code snippets.
Code TutorialProjectPython
0 likes · 10 min read

This article explains how to use Python's pandas, os, and glob libraries to automatically locate, read, and concatenate all sheets from multiple Excel workbooks across nested folders, offering four concise code solutions, visual results, and practical tips for reliable batch merging.
Code TutorialExcelPandas
0 likes · 12 min read

This tutorial shows how to use Python's Pillow library to automatically split any image into nine equal tiles with a concise script, explaining the calculations, code structure, and resulting output files, making image tiling easy for developers.
Code TutorialPythonautomation
0 likes · 4 min read

This article walks through modernizing a Java switch statement—from the traditional switch with breaks to the concise switch expression introduced in JDK 12, covering enum handling, the new arrow syntax, the yield keyword, compiler warnings, and practical code examples.
Code TutorialJDK13Java
0 likes · 9 min read

Learn how to use Python's zipfile module to inspect ZIP archives, extract their contents, and create new compressed files, with clear code examples demonstrating reading file info, extracting all files, and adding files in write or append mode.
Code TutorialPythonZIP archive
0 likes · 5 min read

This article explains Python decorators, showing how the @ syntax transforms functions into objects, how to build simple and parameterized decorators, and how to apply them for routing in frameworks like Flask, complete with clear code examples.
Code TutorialDecoratorPython
0 likes · 7 min read

The author revisits prime‑number filtering using Python's lambda syntax, rewrites the algorithm with a recursive approach, and then demonstrates a heart‑shaped ASCII art program, highlighting new insights into Python's expressive capabilities and code clarity.
ASCII artAlgorithmCode Tutorial
0 likes · 3 min read

Learn to build a simple file encryption tool in Python by leveraging XOR operations and the secrets module to generate random keys, with step‑by‑step code for encrypting, decrypting, and handling text files securely.
Code TutorialPythonfile encryption
0 likes · 8 min read
