News App Using Tkinter Python: Sourav Karmakar (15800117050)
News App Using Tkinter Python: Sourav Karmakar (15800117050)
Submitted by
SOURAV KARMAKAR
(15800117050)
RABIN GORAI
(15800117055)
BISHNUPUR , BANKURA
WEST BENGAL
INDEX
SL NO CONTENT
01 CERTIFICATE
02 ACKNOWLEDGEMENT
03 ABSTRACT
04 INTRODUCTION
05 PROBLEM DEFINATION
07 FUTURE SCOPE
08 CONCLUSION
09 REFEREENCES
Certificate
This is to certify that this proposal of final year project entitled “NEWS APP Using
Tkinter python” is a record of bona fide work , carried out by SOURAV
KARMAKAR and RABIN GORAIunder my guidance , Mr.PRIYARTOSH JANA.
In my opinion , the report in its present form is in partial fulfillment of the requirements for
the award of the degree of BACHELOR OF TECHNOLOGY IN COMPUTER
SCIENCE AND ENGINEERING as per the regulation of final project .
To the best of my knowledge , the results embodied in this report , are original in nature and
worthy of incorporation in the present of the report.
DECLARATION
We hereby declared that the project work being presented in the final year project proposal
entitled “NEWS APP Using Tkinter python” in partial fulfillment of the
requirements for the award of the degree of BACHELOR OF TECHNOLOGY IN
COMPUTER SCIENCE AND ENGINEERING, Mallabhum Institute of
Technology, is an authentic work carried out under the guidance of Mr.Priyatosh Jana.
The matter embodies in this project work has not been submitted elsewhere for the award of
any degree of our knowledge and belief.
Date :
1.
2.
ACKNOWLEDGEMENT
Success of any project depends on largely on the encouragement and guidelines of many
others. We take this sincere opportunity to express our gratitude to the people who have been
instrumental in the success completion of this project work.
Our heartfelt thanks to Mr. Priyatoshjana, the Professor of CSE department , M.I.T
of MAKAUT .
We always feel motivated and encouraged every time by his valuable advice and constant
inspiration . Without his encouragement and guidance this project would not have
materialized.
We wish to express our deep sense of gratitude to our guide, Mr. Priyatosh jana,
professor , MIT of MAKAUT university for her able guidance and useful suggestions, which
helped us in completing the project work in time .
Words are inadequate in offering our thanks to the trainees , project assistants and other
member of MIT , CSE dept. for this encouragement and cooperation in carrying out this
project work. The guidance and support received from all the members and who are
contributing to this project, was vital for the success of this project.
ABSTRUCT
For decades now, technology has been going through makeovers, changing and improving a
little every day. As a result we have smart phones , super computer, artificial intelligence, a
lot of amusingness like such.
Now utilize these technology we now have developed different programs and mobile
applications, which by the way , are created by programming languages is Python.
Python provides the Tkinter toolkit to develop the GUI based application. We are implement
a Newspaper application with the help of API key.
We will uses the news api and fetch all the headlines news from the api . in this application
the news paper readers easily read the headlines in every situation .
MOTIVATION
News paper print the information of previous day and distributed it to readers the next day
which means if something has happened yesterday somewhere then you will be come to read
that today if you are a news paper reader but with apps, one gets the live news of incidents
taking place around global . it keeps the user updated all day. Whether you are interested in
politics or sports or be in even the entertainment industry, you have the information delivered
right to your screen the moment it happens and too in the language of your preference . thus,
we can say that is the biggest advantage of apps over traditional print media.
PROBLEM DEFINATION
A news paper application through which all people can access any news of any things .
It is also helps who are not interested in reading news paper and carrying the news paper but
very interested in reading any news headlines and photos . the application can share the news
anytime and every ware and every one also gain the knowledge in their home or any other
place with out spend any money .
PROBLEM SOLVING METHODOLOGY
To create this application we use python language and use of API key to get the news .
1. Homepage
2. In the search news button you can search any news . i.e; if you search cricket
then you can get the all news of cricket .
What is python?
To answer one of the most frequently asked questions “what is Python” in
simple words – Python is object –oriented, interpreted and a high –level
programming language. It has incredible built in data structures that are
combined with the dynamic and binding to render hassle-free app
development. It poses as a scripting or glue language to combine several
components together.
Python is renowned for its simple and easy to learn syntax which supports
readability and reduces the expenses incurred in the program maintenance .it
also favors modules and packages, which in return promote modularityand
code reusability. To add another jewel to its crown, it totally favors cross
platform, making Python ideal for mobile app development.
Why We Chose Python?
Python is the only language to focus on code readability which is why it allows developers to
use English keywords instead of punctuation. all these factors make Python perfect for
mobile application custom application.
Coding and testing can now go hand-in-hand, thanks to Python. It has adopted the
methodology called TDD, acronymous of Test-Driven Development.
3. Python is Compatible
There are numerous operating systems such as Android, iOS and Windows which Python
supports. In fact, you can use Python interpreters to use and run the code across platforms and
tools. It also makes it possible to run the same code across multiple platforms and the
modified app code without the need for recompilation. Moreover, if you wish to check the
impact of changes made in the code and that too instantly, then Python is your choice.
A graphical user interface is an application that has buttons, windows, and lots of other
widgets that the user can use to interact with your application. A good example would be a
web browser. It has buttons, tabs, and a main window where all the contents loads.
Tkinter Programming
Tkinter is the standard GUI library for Python. Python when combined with Tkinter provides
a fast and easy way to create GUI application. Tkinter provides powerful object-oriented
interface to the Tk GUI toolkit.
Creating a GUI application using Tkinter is an easy task. All you need to do is perform the
following steps-
4. Enter the main even loop to take action against each event triggered by the user.
EXAMPLE
import Tkinter
top.mainloop()
WHAT IS AN API?
An API, or application programming interface , is a server that you can use to retrieve and
send data to using code. API are most commonly used to retrieve data.
When we want to receive data from API, we need to make a request. Request are used all
over the web. For insane, when you visited this blog post, your web browser made a request
to the Dataquest web server, which responded with the content of the webpage.
API SERVER
Response code
MAKING API REQUEST IN PYTHON
In order to work with API in python, we need tools that will make these requests. In python,
the most common library for making requests and working with APIs is the request library.
The request library isn’t part of the standard python library, so you will need to install it to
get it started.
If you use pip to manage your python packages, you can install requests using the following
command:
Once you have installed the library, you shall need to import it. Lets start with the important
steps:
import requests
FUTURE SCOPE
o It was a online news paper that’s why if it is possible we can use more new
technology to expand our online newspaper .
o The printing news paper have some cost, but online news paper has no cost. These are
the main advantages of online news application .
CONCLUSION
News paper print the information of previous day and distributed it to readers the next
day which means if something has happened yesterday somewhere then you will be
come to read that today if you are a news paper reader but with apps, one gets the live
news of incidents taking place around global . it keeps the user updated all day.
Whether you are interested in politics or sports or be in even the entertainment
industry, you have the information delivered right to your screen the moment it
happens and too in the language of your preference . thus, we can say that is the
biggest advantage of apps over traditional print media.
REFERENCE
1. https://www.w3schools.com
2. https://www.slideshare.com
3. https://www.tutorialpoints.com
4. https://www.youtube.com
PREPARED BY
ROBIN GORAI
SOURAV KARMAKAR