PWP Microproject (!)
PWP Microproject (!)
PWP Microproject (!)
Submitted by
Guided By
Ms.S.S.Chavan
1
MAHARASHTRA STATE
BOARD OF TECHNICAL EDUCATION
Certificate
This is to certify that Mr. /Ms Mahek Asif Sayyad , Mehvish Rajas Shaikh
Roll No. 105,132 of Semester VI Diploma in Computer Engineering of Institute,
J.S.P.M POLYTECHNIC (Code:0711) has completed the Micro Project
satisfactorily in Subject Programming With Python (22616) for the academic
year 2022- 2023 as prescribed in the curriculum.
2007110720
2
JSPM’s
JAYAWANTRAO SAWANT POLYTECHNIC,
Handewadi Road, Hadapsar, Pune-28
Department of Computer Engineering
Academic Year 2022-23
Teacher Evaluation Sheet
Name of student: Mahek Asif Sayyad
Enrollment No: 2007110655
Name of program: Computer Engineering Semester: VI
Course Title: Programming With Python Code: 22616
3
5
Micro Project Evaluation Sheet
Note: Every course teacher is expected to assign marks for group evaluation in first 3
columns and individual evaluation 4th column
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Any other comment:
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Signature: ………………
4
JSPM’s
JAYAWANTRAO SAWANT POLYTECHNIC,
Handewadi Road, Hadapsar, Pune-28
Department of Computer Engineering
Academic Year 2022-23
Teacher Evaluation Sheet
Name of student: Mehvish Rajas Shaikh
Enrollment No: 2007110720
Name of program: Computer Engineering Semester: VI
Course Title: programming with python Code: 22616
Note: Every course teacher is expected to assign marks for group evaluation in first 3 columns
and individual evaluation 4th column
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Any other comment:
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
Signature: ………..
6
INDEX
SR.NO PAGE. NO
CONTENT
1
Brief Description (Introduction) 12
2
Aim Of the Microproject (Proposed System) 13
3
Course outcome integrated (Technology) 14
4
Actual Procedure followed 15
5
Actual Resourced Used 19
6
Skill Development/Learning Out Of this project
(Advantages/Disadvantages/conclusion/Reference) 20
7
Introduction
The great part of creating your own GUI apps is that you can customize them however you want. From text
font to background color, all features are available for customization. In this article, I will take you through
how to create a digital clock with Python.In this section, I will show you how to create a digital clock. This
is a simple task to get started with the Tkinter library in Python, which is a built-in package that comes
with Python. Tkinter has some cool features that can be used to build simple apps Now let’s see how to
create a digital clock GUI application with Python. I will first start with importing the libraries:
The clock face can incorporate multiple round analogue clocks with moving hands or
multiple digital clocks with numeric readouts, with each clock being labelled with the name of a
major city or time zone in the world. It could also be a picture map of the world with embedded
analog or digital time-displays.
A moving circular map of the world, rotating inside a stationary 24-hour dial ring. Alternatively, the
disc can be stationary and the ring moving.
Light projection onto a map representing daytime, used in the Geochron, a brand of a particular form
of world clock.
There are also worldtime watches, both wrist watches and pocket watches. Sometime manufacturers of
timekeepers erroneously apply the worldtime label to instruments that merely indicate time for two or a
few time zones, but the term should be used only for timepieces that indicate time for all major time
zones of the globe. The World Clock (German: Weltzeituhr), also known as the Urania World
Clock (German: Urania-Weltzeituhr), is a large turret-style world clock located in the public square
of Alexanderplatz in Mitte, Berlin. By reading the markings on its metal rotunda, the current time in 148
major cities from around the world can be determined.[1] Since its erection in 1969, it has become a tourist
attraction and meeting place. In July 2015, the German government declared the clock as a historically and
culturally significant monument
The sixteen ton world clock was opened to the public on 30 September 1969, shortly before the twentieth
anniversary of the German Democratic Republic, along with the Berlin TV Tower (Fernsehturm). The
erection of the clock was part of a larger plan to expand and reorganize Alexanderplatz as a whole. At the
end of the renovations, the public square was four times larger than it was at the end of the World War II.
The clock was designed by the designer Erich John, who at the time was an employee of the planning
group for the transformation of Alexanderplatz under the direction of Walter Womacka. Before designing
the clock and managing its construction, John was a lecturer at Kunsthochschule Berlin-Weißensee (then
called the Hochschule für bildende und angewandte Kunst, "College of Fine and Applied Arts"), where he
taught product design. The idea to erect a clock in Alexanderplatz was had when the wreckage of the
Uraniasäule (a.k.a. Wettersäule), a pre-World War II public clock, was found during the restoration of the
square in 1966.[3]
The construction of the clock required more than 120 engineers and other experts, including the
sculptor Hans-Joachim Kunsch; the Getriebefabrik Coswig company was also instrumental in its
construction.[4] In Germany at the time, there was no widely recognized design award, so John did not
receive one for his work. However, he received a design award for a different design of his in 1982.
In 1987, a commemorative coin was released with the image of the World Clock. In 1997, the cities of Tel
Aviv and Jerusalem were added to the clock during a necessary repair to the mechanism – when it was
erected, the cities were omitted due to the political sensibilities surrounding the nation of Israel of the
time.[5][6] Two cities which had changed their names since the clock was erected were also changed:
Leningrad (to Saint Petersburg) and Alma Ata (to Almaty).
8
1. Aim Of Micro Project:
• The World Clock shows current local times in thousands of cities around the world
• Open the World Clock app on your Apple Watch. Turn the Digital Crown or swipe the screen
to scroll the list.
• To see more information about a city, including time of sunrise and sunset, tap the city in
the list.
• While you're viewing info about a city, you can scroll to see the next city in your list.
• Do you normally check the time for multiple cities around the world? Are you tired of converting
the time difference between cities? The World Clock-Time Zones app can help you organize your
favorite cities so that you can easily find out the correct local time, as well as get the most relevant
time zone information about the city
-
.
9
3. Course Outcome Integrated
10
Actual Procedure Followed:-
Code:
import datetime
import pytz
timezones = (
'Asia/Taipei',
'America/New_York',
'Pacific/Honolulu',
)
utc = pytz.utc
utc_now = utc.localize(datetime.datetime.utcnow())
tz_now = utc_now.astimezone(tz)
print('{tz_name}: {local_datetime}'.format(
tz_name = tz_name,
local_datetime = tz_now.strftime(fmt)
))
11
Output:
12
Actual Resources Used:
2 MS Word, Windows 1
Notepad
OS:1.6GHz
3 Internet IETF 1
13
Advantages
1. Extensive Libraries:
Python downloads with an extensive library and contains code for various purposes like regular
expressions, documentation-generation, unit-testing, web browsers, threading, databases, CGI, email,
image manipulation, and more.
So, we don’t have to write the complete code for that manually.
2. Extensible:
Python can be extended to other languages. You can write some of your code in languages like C++ or C.
This comes in handy, especially in projects.
3. Embeddable:
Complimentary to extensibility, Python is embeddable as well. You can put your Python code in your
source code of a different language, like C++.
This lets us add scripting capabilities to our code in the other language.
4. Improved Productivity:
The language’s simplicity and extensive libraries render programmers more productive than languages like
Java and C++ do.
Also, the fact that you need to write less and get more things done.
Disadvantages
So far, we’ve seen why Python is a great choice for your project. But if you choose it, you should be aware
of its consequences as well. Let’s now see the limitations of Python over another language.
1. Speed Limitations
We have seen that Python code is executed line by line. But since Python is interpreted, it often results
in slow execution.
This, however, isn’t a problem unless speed is a focal point for the project.
While it serves as an excellent server-side language, Python is much rarely seen on the client-side.
Besides that, it is rarely ever used to implement smartphone-based applications. One such application is
called Carbonnelle. The reason it is not so famous despite the existence of Brython is that it isn’t that
secure.
3. Design Restrictions:
As you know, Python is dynamically-typed. This means that you don’t need to declare the type of variable
while writing the code. It uses duck-typing. But wait, what’s that? Well, it just means that if it looks like a
duck, it must be a duck. While this is easy on the programmers during coding, it can raise run-time errors.
14
Conclusion
Python supports both function-oriented and structure-oriented programming. It has features of dynamic
memory management which can make use of computational resources efficiently. It is also compatible
with all popular operating systems and platforms. Hence this language can be universally accepted by all
programmers.
15
10. References
https://en.wikipedia.org/wiki/Flask_(web_framework)
https://github.com/jerrysingh181/URL-SHORTENING
https://www.upgrad.com/
https://www.fullstackpython.com/flask.html
https://realpython.com/tutorials/flask/
16