Ashika
Ashika
PYTHON
Python supports modules and packages, which encourages program modularity and code reuse. The
Python interpreter and the extensive standard library are available in source or binary form without charge
for all major platforms, and can be freely distributed.
As a popular open source development project, Python has an active supporting community of
contributors and users that also make their software available for other Python developers to use under open
source license terms.
This allows Python users to share and collaborate effectively, benefiting from the solutions others
have already created to common problems, as well as potentially contributing their own solutions to the
common pool.
Windows
1. Open a browser window and navigate to the Download page for Windows at python.org.
2. Underneath the heading at the top that says Python Releases for Windows, click on the link for the
Latest Python 3 Release - Python 3.x.x.
3. Scroll to the bottom and select either Windows x86-64 executable installer for 64-bit or Windows
x86 executable installer for 32-bit.
• If your system has a 32-bit processor, then you should choose the 32-bit installer.
• On a 64-bit system, either installer will actually work for most purposes. The 32-bit version
will generally use less memory, but the 64-bit version performs better for applications with
intensive computation.
• If you’re unsure which version to pick, go with the 64-bit version.
Once you have chosen and downloaded an installer, simply run it by double-clicking on the downloaded
file. A dialog should appear that looks something like this:
The Python Package Index (PyPI) contains numerous third-party modules that make Python capable
of interacting with most of the other languages and platforms.
Python provides a large standard library which includes areas like internet protocols, string
operations, web services tools and operating system interfaces. Many high use programming tasks have
already been scripted into the standard library which reduces length of code to be written significantly.
Python language is developed under an OSI-approved open source license, which makes it free to
use and distribute, including for commercial purposes.
Further, its development is driven by the community which collaborates for its code through hosting
conferences and mailing lists, and provides for its numerous modules.
Python offers excellent readability and uncluttered simple-to-learn syntax which helps beginners to
utilize this programming language. The code style guidelines, PEP 8, provide a set of rules to facilitate the
formatting of code. Additionally, the wide base of users and active developers has resulted in a rich internet
resource bank to encourage development and the continued adoption of the language.
Python has built-in list and dictionary data structures. Further, Python also provides the option of
dynamic high-level data typing which reduces the length of support code that is needed.
Python has clean object-oriented design, provides enhanced process control capabilities, and
possesses strong integration and text processing capabilities and its own unit testing framework, all of
which contribute to the increase in its speed and productivity. Python is considered a viable option for
building complex multi-protocol network applications.
Python also has a robust standard library, which enables web programmers to accomplish common
programming tasks like web service implementation, string operations, operating system interfaces
management, and working with internet protocols without writing additional code. They can use specific
frameworks to use Python for developing web applications, desktop GUI applications, and scientific and
numeric application and cross-platform mobile apps. But Python, like other programming languages, has
several shortcomings. It’s essential for programmers to know some of the major limitations of Python
programming language.
Many studies have proved that Python is slower than other modern programming languages like
Java and C++. So the developers have to frequently explore ways to enhance the Python application’s
speed. However, they have a number of options to make the applications written in Python run faster. For
instance, the developers can create a custom runtime, and use it instead of the default runtime of the
programming language. Likewise, they can rewrite the existing Python code to take advantage of the
existing execution speed.
Beginners often find it pick and learn the right version of Python. Officially, Python 2.x is described
as legacy, whereas Python 3.x is described as current and futuristic. But both versions of the programming
language have been updated on a regular basis.
Python is a high-level programming language. So developers use interpreters to convert Python code
into code understandable by the operating system. They need to install specific version of Python interpreter
on the operating system to run the Python application on that platform. The shortcoming does not allow
programmers to use Python for developing cross-platform applications. Also, they could not port the
application from one platform to another smoothly.
Python is a dynamically typed programming language. It does not require programmers to define the
type of a variable while declaring it. The feature makes it easier for programmers to write code freely. But a
number of critical bugs or defects emerge at the time of compilation as the variable types are not defined
explicitly. So the developers must perform a number of tests additionally to identify and fix the bugs during
runtime.
Many programmers prefer using Python as a scripting language to build web applications rapidly.
But Python does not come with built-in web development capabilities. Also, the standard implementation of
Python does not boost the web applications’ performance across multiple browsers. That is why, the Python
developers have to use a number of Python web frameworks additionally to effectuate web application
development. However, they have option to choose from several full-stack web frameworks for Python
including Django, TurboGear, web2py, Reahland and Zope2.
The steady decline in mobile web usage has made it essential for modern businesses to launch
mobile apps. Often developers have to write mobile apps in a particular programming language according to
the targeted mobile platform. For instance, they need to write iOS app in either Objective-C or Swift.
Likewise, mobile apps for Android need to be written in Java.
Python lacks a number of features provided by other modern programming languages. So the
programmers have to use a number of third-party frameworks and tools to build web applications and
mobile apps in Python. However, they need to use open source frameworks and libraries to avoid increasing
project overheads. The cost factor restricts the developers from availing the advanced features and
functionality provided by commercial frameworks.
Nowadays, developers are required to make the application code readable and maintainable. While
writing code, programmers frequently deactivate a specific section or block of code by using block
comments. Unlike other modern programming languages, Python does not support block comments. Hence,
the programmers have to assess the quality of the code either by writing comments for each line of code or
removing a specific section of code at the time of execution. The lack of block comments support requires
programmers to put additional time and effort to assess the quality of Python code.
Python is supported by a large and active community. The members of the Python community
regularly share new packages or modules to make it easier for programmers to add functionality to the
application. But developers often complain that the quality of individual Python modules or packages
differs. Some of these packages lack adequate support, and are not updated regularly. Hence, the
programmers have to do some initial research to pick the right packages or modules.
Many developers prefer using Python for developing custom statistical and big data applications.
But developers need to use additional statistical and data analysis packages to write statistical applications
more efficiently. Also, they have to use specific libraries like Pygal, Seaborn and Bokeh to accomplish data
visualization. They cannot make the Python application present and analyze huge volumes of data without
using these libraries and tools.
Tour Package Management 6
On the whole, the developers can use Python to build a variety of software applications rapidly. But
they have to use a number of third-party libraries and frameworks additionally to overcome the limitations
of this high-level programming language. At the same time, they also need to explore ways to enhance the
performance and speed of the Python applications consistently.
• Python was designed for readability, and has some similarities to the English language with
influence from mathematics.
• Python uses new lines to complete a command, as opposed to other programming languages which
often use semicolons or parentheses.
• Python relies on indentation, using whitespace, to define scope; such as the scope of loops, functions
and classes. Other programming languages often use curly-brackets for this purpose.
Games
Operating systems
Language development
Prototyping
HARDWARE REQUIREMENTS:
• PENTIUM processor
• 64-128 MB of RAM
• 40 GB HD
• CD ROM Drive
• Mouse
• Keyboard and Printer
• VGA/SVGA
SOFTWARE REQUIREMENTS:
• Windows XP2007
• Python IDE
1. User Login
4. Payment Details
This asks for bank details that are required for payment.
5. Payment Confirmation
Start
Displays options
Stop
print(")--------------------------------------------------------------------(")
print(") NS Holidays (")
print(")--------------------------------------------------------------------(")
a=input("Enter your name:")
print(" ")
b=input("Enter your age:")
print(" ")
while True:
c=input("Enter your contact number:")
if len(c)==10:
break
else:
print("Please enter 10 digit number:")
continue
print(" ")
d=input("Enter your email id:")
print(" ")
print("Thank you for sharing your details")
print(" ")
print("Here are some list of our tourist places that you like to visit")
print(" ")
print(")-----------------------------------------(")
print(") 1.Assam (")
print(") (")
print(") 2.Arunchal pradesh (")
print(") (")
print(") 3.Haryana (")
print(") (")
print(") 4.Manipur (")
print(") (")
print(") 5.Mizoram (")
print(") (")
print(") 6.Delhi (")
print(")-----------------------------------------(")
f=True
while f==True:
e=input("Enter the city you want to visit:")
if e=='1':
print(" ")
print("For 3 Days 2 Nights \n HOTEL:The Greenwood\n PLACES:\n *Liabari\n *Hajo\n
*Kaziranga National Park\n *Silchar\n *Digboi\n *Umananda Island\n TOTAL PACKAGE:25,000")
elif e=='2':
print(" ")
Wikipedia – Google
Simplelearn – Youtube
W3schools.com