Creating constant in Python
Posted
by zfranciscus
on Stack Overflow
See other posts from Stack Overflow
or by zfranciscus
Published on 2010-04-21T12:20:18Z
Indexed on
2010/04/21
12:23 UTC
Read the original article
Hit count: 305
Hi,
Is there a way to declare a constant in Python. In java I will we can create constant in this manner:
public static final String CONST_NAME = "Name";
What is the equivalent of the above java constant declaration in python ?
Cheers,
© Stack Overflow or respective owner