Tag

script execution

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jan 14, 2025 · Fundamentals

Understanding the __name__ Variable and the if __name__ == '__main__' Guard in Python

This article explains how Python's __name__ variable works, why the if __name__ == '__main__' construct is used to differentiate direct script execution from module import, and shows practical examples including simple scripts and multiprocessing scenarios.

Python__name__if __name__ == '__main__'
0 likes · 5 min read
Understanding the __name__ Variable and the if __name__ == '__main__' Guard in Python
政采云技术
政采云技术
Mar 24, 2022 · Backend Development

Design and Implementation of a Dynamic Business Rule Engine Using QLExpress

This article presents a lightweight solution for dynamic business rule management by abstracting rules into variable‑condition‑result models, employing the QLExpress script engine for execution, and demonstrating how to bind Java methods, enabling flexible, maintainable backend logic without extensive if‑else code.

JavaQLExpressbackend development
0 likes · 10 min read
Design and Implementation of a Dynamic Business Rule Engine Using QLExpress