Python Identifiers, Basic Computer Science

A Python identifier is a name used for classify a function, variable, class, module or any other object. An identifier begins with a letter A to Z or a to z or an underscore (_) followed by zero or additional underscores, letters, and digits (0 to 9).
Python does not permit punctuation characters for example @, $, and % within identifiers. Python is a case sensitive programming language. Therefore Manpower and manpower are two unlike identifiers in Python.
Here are following identifier naming conference for Python:
• Class names start by an uppercase letter and all additional identifiers with a lowercase letter.
• Starting an identifier by a single leading underscore points to by conference that the identifier is meant to be private.
• Starting an identifier with two leading underscores points to a strongly private identifier.
• If the identifier as well ends with two trailing underscores, the identifier is a language-defined individual name.

Posted Date: 5/4/2012 9:23:59 AM | Location : United States

Related Discussions:- Python Identifiers, Assignment Help, Ask Question on Python Identifiers, Get Answer, Expert's Help, Python Identifiers Discussions

Write discussion on Python Identifiers
Your posts are moderated
Related Questions
Necessary Nurses Records The software should generate all registers/reports in detail summary for various permutations and combinations of options. A powerful SQL (Structure

explian set associte mapping

suggest 5 ways by which new products and services can be developed using management information system

Question 1 Briefly explain the classification of the computers Question 2 What is arithmetic logic unit? How it is helpful in CPU Question 3 How do you install a new pri

Basic steps/tasks involved in spreadsheets development

These instructions permit the use of the stack to store or recover data. POP POPF PUSH PUSHF POP INSTRUCTION Purpose: It improves a portion of information from the stack POPF INST

Use the methods of C4.5 to design a decision tree

I. Write an application that accomplishes the following tasks: 1. Read a text file that contains, integers, doubles, alphabet, alphanumeric, and others. The name of the input fil

Types of Browsers: Line Mode Browsers : The initial browsers were line mode text browsers. These browsers were simple and used to display text line by line. They used to prov

When software is installed onto a modern day personal computer (most commonly from a CD-ROM, though other media or downloading from the internet is also common), code comprising th