Username:
Password:
Remember me:
Register

Back to forum: Programming (Python, Java, Delphi/Pascal, C, VB, etc)


Search forums via Google


0 Users appreciate this thread.

Batch File site selector!(EASY)
Started by Visible
(2015-12-25 14:19:51)
Shattered (2016-02-10 12:24:56)
lmfao what is this
ICTman (2017-04-13 22:10:39)
bored so here it is in python 2.7 (untested)

CHANGELOG:
1.0 init
1.1 more efficient, .0.1 added SSL, .0.2 updated UI

import webbrowser
a=input("""Site selector v1.1.0.2
By ICTman1076

Choose one:
1. YT
2. FB
3. 3dsPlaza
4. Sorcerertech
>>> """ )

def o(url): webbrowser.open_new(url)


if a=="1": o("https://youtu.be/" )
elif a=="2": o("https://fb.com/" )
elif a=="3": o("http://3dsplaza.com/" )
else: o("http://stch.x10.mx" )

This post has been edited one or more times, the last time was:
2017-04-13 22:39:57

http://xkcd.com/1834

Tweet meh: @ICTman1076
Discord meh: ICTman#5904
Tweet meh again: @wingedmusic
 

Log in to submit a comment

This topic's ID: 81852

Back to forum: Programming (Python, Java, Delphi/Pascal, C, VB, etc)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved