Skip to content

Commit 950b727

Browse files
committed
Open the whiteboxgeo website after installation
1 parent 4965d8e commit 950b727

File tree

2 files changed

+2158
-2182
lines changed

2 files changed

+2158
-2182
lines changed

whitebox/download_wbt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def download_wbt(verbose=True):
1111
import shutil
1212
import urllib.request
1313
import pkg_resources
14+
import webbrowser
1415

1516
# print("Your operating system: {}".format(platform.system()))
1617
package_name = "whitebox"
@@ -142,6 +143,8 @@ def download_wbt(verbose=True):
142143
except Exception as e:
143144
print(e)
144145

146+
webbrowser.open('https://www.whiteboxgeo.com/', new=2)
147+
145148
if not os.path.exists(work_dir):
146149
if verbose:
147150
print("Downloading testdata ...")

0 commit comments

Comments
 (0)