Tagged articles

print

11 articles · Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2026 · Fundamentals

Mastering Python Built‑ins: print, input, open, eval, and exec for Test Automation

This tutorial demonstrates how to harness Python's built‑in functions—print, input, open, eval, and exec—to customize console logs, write test results to files, create interactive scripts, safely evaluate strings, and dynamically load code, while highlighting common pitfalls and security considerations.

Data ProcessingEvalPython
0 likes · 15 min read
Mastering Python Built‑ins: print, input, open, eval, and exec for Test Automation
Lisa Notes
Lisa Notes
Feb 17, 2026 · Fundamentals

Python Print Function: A Beginner’s Guide to Output

This article introduces Python's print() function, explaining its purpose of displaying program results and detailing each parameter—self, *args, sep, end, and file—so beginners can understand how to control output formatting and destinations.

PythonTutorialbasics
0 likes · 3 min read
Python Print Function: A Beginner’s Guide to Output
Code Mala Tang
Code Mala Tang
Sep 24, 2025 · Fundamentals

5 Powerful Ways to Use Python’s print() Function

Discover five versatile techniques for Python’s print()—from simple string concatenation and comma separation to modern f‑strings, percent formatting, and the .format() method—complete with clear examples and guidance on when to use each approach for clean, readable output.

String Formattingcode examplesf-strings
0 likes · 5 min read
5 Powerful Ways to Use Python’s print() Function
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 12, 2024 · Frontend Development

Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF

This article explains how to achieve paginated print preview and PDF generation in a Vue 3 application by using vue3‑print‑nb for on‑demand printing, html2canvas to capture DOM elements as images, and jsPDF to compose multi‑page A4 PDFs with custom headers, footers, and spacing.

FrontendVue3html2canvas
0 likes · 12 min read
Implementing Multi‑Page Print Preview and PDF Export in Vue 3 with vue3‑print‑nb, html2canvas, and jsPDF
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 12, 2021 · Fundamentals

Master Python Input & Output: From Basics to Practical Tricks

This tutorial explains why input and output are essential in Python, demonstrates how to use the input function with handling of empty strings, type conversion, whitespace stripping, validation, and how to leverage print for simple and formatted output, including % formatting and custom separators.

FormattingTutorialbasics
0 likes · 9 min read
Master Python Input & Output: From Basics to Practical Tricks