Skip to content

Commit 5b389ef

Browse files
Merge pull request #3 from Geoffrey-Hash/Linux/MacOS
Added bookmark support for mac and Linux
2 parents e68de06 + 75cbd9f commit 5b389ef

File tree

4 files changed

+49
-25
lines changed

4 files changed

+49
-25
lines changed

Python_Browser/Readme.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,22 @@ and then make a shortcut to "Web_Broswer.py" and place the Shortcut into you Des
1616

1717
opening the program presents you with a website, a search bar, and two menus.
1818

19-
1. The website the browser opens to is your Start page.
19+
The recommended installation procedure is to copy the "Python Browser" folder to anywhere, the documents folder is recommended
20+
and then make a shortcut to "Web_Broswer.py" and place the Shortcut into you Desktop folder.
21+
22+
Opening the program presents you with a website, a search bar, and two menus.
2023

21-
2. the search bar is not google, use it only when you have the FULL address of the web page you are looking for
24+
1. The Browser opens to your start page witch can be changed
2225

23-
3. the top and white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
26+
2. The search bar is not google, use it only when you have the FULL address of the web page you are looking for
2427

25-
4. the bottom gray menu contains many basic function like Forward, Back, and Reload but also links to your Start and Search pages
28+
3. The top, white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
29+
30+
4. The bottom gray menu contains many basic functions like Forward, Back, and Reload but also links to your Start and Search pages
2631
as well as a link to the github of this programs original creator
2732

2833
5. Start, Search, and all Bookmarked pages default to the google homepage
2934

3035
Creator: sagargoswami2001
31-
Contributors: Geoffrey_Hash
36+
37+
Contributors: Geoffrey-Hash

Python_Browser/Readme.txt

+22-10
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
1-
Requirements and Installation:
2-
1. pip install PyQt5
3-
2. pip install PyQtWebEngine
4-
the recommended installation procedure is to copy the "Python Browser" folder to wherever you desire, documents is recommended
5-
and then make a shortcut to "Web_Broswer.py" and place the Shortcut into you Desktop folder.
1+
# Simple Web Browser Using Python
2+
- This is a GUI Based Web Browser Using PyQt5 & PyQtWebEngine Modules.
3+
4+
## Install Dependencies:
5+
```
6+
pip install PyQt5
7+
```
8+
```
9+
pip install PyQtWebEngine
10+
```
611

712
User Manual:
8-
opening the program presents you with a website, a search bar, and two menus.
913

10-
1. The website the browser opens to is your Start page.
14+
The recommended installation procedure is to copy the "Python Browser" folder to anywhere, the documents folder is recommended
15+
and then make a shortcut to "Web_Broswer.py" and place the Shortcut into you Desktop folder.
16+
17+
Opening the program presents you with a website, a search bar, and two menus.
18+
19+
1. The Browser opens to your start page witch can be changed
1120

12-
2. the search bar is not google, use it only when you have the FULL address of the web page you are looking for
21+
2. The search bar is not google, use it only when you have the FULL address of the web page you are looking for
1322

14-
3. the top and white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
23+
3. The top, white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
1524

16-
4. the bottom gray menu contains many basic function like Forward, Back, and Reload but also links to your Start and Search pages
25+
4. The bottom gray menu contains many basic functions like Forward, Back, and Reload but also links to your Start and Search pages
1726
as well as a link to the github of this programs original creator
1827

1928
5. Start, Search, and all Bookmarked pages default to the google homepage
29+
30+
Creator: sagargoswami2001
31+
Contributors: Geoffrey-Hash

Python_Browser/Web_Browser.py

+8-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ def __init__(self):
1515
self.showMaximized()
1616

1717
#get current directory
18-
self.savedurl = 'http://google.com'
19-
self.dir = os.getcwd()
20-
self.savepath = os.path.join(self.dir, 'Web_saves\\Full_Settings.txt')
18+
try:
19+
self.savedurl = 'http://google.com'
20+
self.dir = os.getcwd()
21+
self.savepath = os.path.join(self.dir, 'Web_saves\\Full_Settings.txt')
22+
except:
23+
self.savedurl = 'http://google.com'
24+
self.dir = os.getcwd()
25+
self.savepath = os.path.join(self.dir, 'Web_saves/Full_Settings.txt')
2126

2227
#add toolbar
2328
navbar = QToolBar()

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,22 @@ pip install PyQtWebEngine
1111

1212
User Manual:
1313

14-
the recommended installation procedure is to copy the "Python Browser" folder to wherever you desire, documents is recommended
14+
The recommended installation procedure is to copy the "Python Browser" folder to anywhere, the documents folder is recommended
1515
and then make a shortcut to "Web_Broswer.py" and place the Shortcut into you Desktop folder.
1616

17-
opening the program presents you with a website, a search bar, and two menus.
17+
Opening the program presents you with a website, a search bar, and two menus.
1818

19-
1. The website the browser opens to is your Start page.
19+
1. The Browser opens to your start page witch can be changed
2020

21-
2. the search bar is not google, use it only when you have the FULL address of the web page you are looking for
21+
2. The search bar is not google, use it only when you have the FULL address of the web page you are looking for
2222

23-
3. the top and white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
23+
3. The top, white menu contains your bookmarked pages as well as the ability to change your preferred Start and Search pages
2424

25-
4. the bottom gray menu contains many basic function like Forward, Back, and Reload but also links to your Start and Search pages
25+
4. The bottom gray menu contains many basic functions like Forward, Back, and Reload but also links to your Start and Search pages
2626
as well as a link to the github of this programs original creator
2727

2828
5. Start, Search, and all Bookmarked pages default to the google homepage
2929

3030
Creator: sagargoswami2001
31-
Contributors: Geoffrey_Hash
31+
32+
Contributors: Geoffrey-Hash

0 commit comments

Comments
 (0)