Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4403af3

Browse files
added readme and removed unnecessary empty lines
1 parent 533da3f commit 4403af3

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

‎Broswer/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Web Browser
2+
3+
## Description
4+
5+
This is a simple web browser made using python with just functionality to have access to the complete gsuite(google suite) and the default search engine here is google.
6+
7+
## Set Up
8+
9+
To use this on your local machine follow the [Readme](https://github.com/avinashkranjan/Amazing-Python-Scripts/blob/master/README.md) of this repo and clone this project to your machine and from there cd into this "Browser" folder and run the script and you can see this working.
10+
11+
## Screenshots
12+
13+
<img src="b1.png">
14+
<img src="b2.png">

‎Broswer/b1.png

162 KB
Loading[フレーム]

‎Broswer/b2.png

42.2 KB
Loading[フレーム]

‎Broswer/browser.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class MainWindow(QMainWindow):
1414
def __init__(self, *args, **kwargs):
1515
super(MainWindow, self).__init__(*args, **kwargs)
1616

17-
1817
# creating a QWebEngineView
1918
self.browser = QWebEngineView()
2019

@@ -104,13 +103,11 @@ def __init__(self, *args, **kwargs):
104103
# showing all the components
105104
self.show()
106105

107-
108106
# method for updating the title of the window
109107
def update_title(self):
110108
title = self.browser.page().title()
111109
self.setWindowTitle("% s - Epic Browser" % title)
112110

113-
114111
# method called by the home action
115112
def navigate_home(self):
116113

@@ -141,7 +138,6 @@ def update_urlbar(self, q):
141138
# setting cursor position of the url bar
142139
self.urlbar.setCursorPosition(0)
143140

144-
145141
# creating a pyQt5 application
146142
app = QApplication(sys.argv)
147143

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /