0% found this document useful (0 votes)
208 views23 pages

News App Using Tkinter Python: Sourav Karmakar (15800117050)

The document is a project report submitted by Sourav Karmakar and Rabin Gorai for their final year project on developing a news app using Tkinter Python. It includes an index, certificate from their guide certifying the project work, declaration by the students, acknowledgements, abstract on the project, and sections on the motivation, problem definition, methodology, and future scope of the project.

Uploaded by

Souvik Mandal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
208 views23 pages

News App Using Tkinter Python: Sourav Karmakar (15800117050)

The document is a project report submitted by Sourav Karmakar and Rabin Gorai for their final year project on developing a news app using Tkinter Python. It includes an index, certificate from their guide certifying the project work, declaration by the students, acknowledgements, abstract on the project, and sections on the motivation, problem definition, methodology, and future scope of the project.

Uploaded by

Souvik Mandal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

News app using Tkinter Python

Submitted by

SOURAV KARMAKAR

(15800117050)

RABIN GORAI

(15800117055)

Project report submitted in partial fulfillment for the award of

The degree of B.Tech

Under the guidance of

Mr. Priyatosh Jana

(Computer Science and Engineering)

MALLABHUM INSTITUE OF TECHNOLOGY

BISHNUPUR , BANKURA

WEST BENGAL
INDEX

SL NO CONTENT

01 CERTIFICATE

02 ACKNOWLEDGEMENT

03 ABSTRACT

04 INTRODUCTION

05 PROBLEM DEFINATION

06 PROBLRM SOLVING METHODOLOGY

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 :

Name of the Students

Sourav Karmakar (15800117050)

Rabin Gorai (15800117055)

Signature of the Students

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 .

we solve this in few steps :

1. To create the GUI of the application .

2. To give the application unique design.

3. To fetch the news we use the API keys .

After using of this tools we create the application by this steps:

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?

1.Python’s code is easy to read and understand


One of the most renowned features of Python is its syntax. The rules of its syntax enable
developers to express concepts without writing additional code. Python has a way of making
complex things simple: the reason why it is deemed suitable for beginners to learn.

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.

2.Strong Standard Library


Python has a pretty robust standard library that gives it an edge over other languages.
Python’s standard library enables you to select modules from a wide range as per your
requirements. Now, each module allows you to add functionalities later in the process
without extra coding.

3.Python Supports Big Data


Python provides advanced support for image and voice data due to its inbuilt features
of supporting data processing for unstructured and unconventional data which is a common
need in big data when analyzing social media data. This is another reason for
making Python and big data useful to each other.

4.Facilitates Test-Driven Development


Creating prototypes of software applications has never been easier. All thanks to Python app
development. Python fully supports the development of prototypes and even allows you to
build applications directly from the prototypes by refactoring the code.

Coding and testing can now go hand-in-hand, thanks to Python. It has adopted the
methodology called TDD, acronymous of Test-Driven Development.

5. Strong Standard Library


Python has a pretty robust standard library that gives it an edge over other languages.
Python’s standard library enables you to select modules from a wide range as per your
requirements. Now, each module allows you to add functionalities later in the process
without extra coding.
6.Python is Quick
In Python, the programs are added to the interpreter that runs them directly. This means there
is no compiling, which happens for almost all the other languages. On the Python code, it is
easy and quick to get your hands on the feedback on your Python code such as recognizing
errors. With Python, you can finish and execute your programs (run them) faster than with
other programming languages.

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.

7. Strong Supportive Community and Corporate Sponsors


Another prominent element that decides the popularity of any programming language is its
community support. Unlike many languages out there, Python has a very active community
providing impeccable guides and tutorials, and other forms of documentation for a better
understanding of the language. Moreover, having a sponsor like Google only adds up to the
list of reasons for Python’s popularity.
Popular Python Frameworks for APP Development
WHAT IS AN GUI?
There are many graphical user interface (GUI) toolkits that you can use the python
programming language. The big three are Tkinter, wxPython and PyQt. Each of these toolkits
will work with windows, macOS, and linux, with PyQt having the additional capability of
working on mobile.

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-

1. Import the Tkinter module.

2. Create the GUI application main window.

3. Add one or more of the mentioned widgets to the GUI application.

4. Enter the main even loop to take action against each event triggered by the user.
EXAMPLE
import Tkinter

top = Tkinter . Tk()

# code to add widgets will go here…..

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

‘GET’ Response data


request

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:

pip install requests

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 We can use big data development to store our news .

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

You might also like