Click here to Skip to main content
15,885,757 members
Articles / Programming Languages / Python

Python Readonly Attributes: Complete Solution

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
31 Jan 2018MIT8 min read 24.9K   2  
Reliable solution does the trick: it does not depend on any naming conventions, works for both Python 2 and 3 and offers clear and concise usage syntax

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Architect
United States United States
Physics, physical and quantum optics, mathematics, computer science, control systems for manufacturing, diagnostics, testing, and research, theory of music, musical instruments… Contact me: https://www.SAKryukov.org

Comments and Discussions