Facebook Hacking.... Click Here | 12 Steps To Become Hacker.... Click Here


Monday, 3 February 2014

Opening Number Of Websites Using Python


Opening Number Of Websites Using Python
So you just started in python programming, and want to prank your arch nemesis. Here i will teach you how to open any website on his computer using python.

Before you begin download and install python from Here

Step 1:
open notepad and type

import webbrowser

In python the "import" statement is used to add a module to your project. In this case we want to add the webbrowser module.

Step 2:

webbrowser.open('http://SITE HERE!.com')

This is calling the open function on your default web browser. You pass it an url in the form of a string.

Possible usages:
You can add as many websites as you want like show below

webbrowser.open('http://coolhackingtrick.com')
webbrowser.open('http://google.com')
url = "http://coolhackingtrick.com";
webbrowser.open(url)

The complete code will look something like below
import webbrowser
webbrowser.open('http://coolhackingtrick.com')
webbrowser.open('http://google.com')
webbrowser.open('http://yahoo.com')
webbrowser.open('http://facebook.com')

Step 3

Save the file as visus.py
Enjoy pranking your friends and if you wish to learn more programming then check out our article below.


About Guest Blogger
Cordell Wildermuth is a young blogger. He loves Blogging on high quality secutiy and hacking tutorial. He is currently running his security blog infosmuggler

Subscribe To Get FREE Tutorials!


Kindly Bookmark and Share it:


34 comments:

Nikhil Dave on 15 February 2014 at 07:53 said...

how to open the file ...?

Cordell Wildermuth on 17 February 2014 at 08:53 said...

Hey this is Cordell. My friend Nakib forgot to tell you to download python:

http://python.org/ftp/python/2.7.6/python-2.7.6.msi

Nakib Momin on 17 February 2014 at 11:09 said...

@nikhil what file?

@cordell thanks for pointing it out, i have updated the post.

Sania Jutt on 23 November 2014 at 04:55 said...

For Computer Tricks Visit This Site
http://www.tricksabout.net/

Arjun Rai on 22 February 2015 at 09:15 said...

this post is awesome, great msg for us, if any want to free backlink then click.

Pankaj on 29 March 2015 at 00:06 said...

thanks for this post, keep it up for updating us, i am waiting for ur new article.
IPL 2015 Cricket live score
mps computers
Harjinder Singh

Aarti Garchar on 8 April 2015 at 21:14 said...

thx.. great post

PLC Training In Chennai on 5 September 2015 at 03:43 said...

PLC Training in chennai
PLC Training Institute in chennai
PLC Training Center in chennai
PLC Training Course in chennai
PLC Course in chennai
PLC SCADA Training in chennai
PLC Training Centre in chennai
PLC SCADA Training Institute in chennai
Best PLC Training in chennai
Best PLC Training Institute in chennai
DCS Training in chennai
Automation Training in chennai
Automation Training Institute in chennai
Industrial Automation Training in chennai
Process Automation Training in chennai
Embedded Training in chennai
Robotics Training in chennai
Inplant Training in chennai

Diwali Festival on 8 September 2015 at 04:42 said...

Diwali 2015
Happy Diwali
New Year 2016
Diwali 2015
New Year 2016
Happy Diwali
Diwali 2015
New Year 2016
New Year Wishes
Dussehra 2015
Dussehra Wishes
Happy Dussehra
Good Morning
Good Morning Images
Good Morning Quotes
New Year 2016
New Year Wishes
New Year Quotes

rahul on 11 October 2015 at 23:11 said...

Your blog was too good. i really appreciate with your blog.Thanks for sharing.
ind vs sa series 2015 schedule
ISL Opening Ceremony 2015 Stream HD

prem on 10 November 2015 at 07:12 said...

Very good article.Really looking forward to read more. Great.
prem ratan dhan payo movie download

salman on 10 November 2015 at 19:22 said...

I value the article post.Really looking forward to read more. Really Cool.
prem ratan dhan payo full movie download

Mobile Storebox on 3 January 2016 at 11:25 said...

Happy Lohri Wallpaper
Lohri Pics
Happy Lohri Images
Happy Lohri Wishes
Happy Lohri Quotes
Hindu Festival 2015
Sundance Film Festival
Things to do in Edinburgh
Holy Ship
Thaipusam
BPM Festival
Carnevale Di Venezia
Things to do in Banff
Ati-Atihan
Lohri Wishes
WWE in India
Sundance Film Festival 2016
Up Helly Aa
Lohri Festival
Harbin Ice Festival
Jam Cruise
Quebec Winter Carnival
Ice Sculpture
Hogmanay 2016
Junkanoo Parade
Sundance Film festival Winners
Rainbow Serpent Festival
Holy Ship 2016
Cowboy Poetry
Dinagyang

Mobile Storebox on 3 January 2016 at 11:26 said...

Republic Day Image
Republic Day Wallpaper
Republic Day Messages
Republic Day Speech
Republic Day Status
Republic Day Speech in Hindi
Speech on Republic Day
Republic Day India
Speech on Republic Day in Hindi
Essay on Republic Day
Republic Day 2016
Republic Day Pictures
Republic Day Information
Republic Day in Hindi
Republic Day Photos
Republic Day Pics
Images of Republic Day
Lohri
Happy Lohri
Lohri Wallpapers
Lohri Festival
Lohri Wishes
Lohri Sms
Lohri Songs
Lohri Images
Lohri Greetings

Mobile Storebox on 3 January 2016 at 11:27 said...

Republic Day Wallpaper
Republic Day Messages
Republic Day Speech
Republic Day Status
Republic Day Speech in Hindi
Speech on Republic Day
Republic Day India
Speech on Republic Day in Hindi
Essay on Republic Day
Republic Day 2016
Republic Day Pictures
Republic Day Information
Republic Day in Hindi
Republic Day Photos
Republic Day Pics
Images of Republic Day
Republic Day
Republic Day Quotes
Happy Republic Day
Speech for Republic Day
Republic Day Wishes
Republic Day Images
India Republic Day
Republic Day Sms
Republic Day Songs
What is Republic Day

Mobile Storebox on 3 January 2016 at 11:29 said...

Lohri
Happy Lohri
Lohri Wallpapers
Lohri Festival
Lohri Wishes
Lohri Sms
Lohri Songs
Lohri Images
Lohri Greetings
Happy Lohri Wallpaper
Lohri Pics
Happy Lohri Images
Happy Lohri Wishes
Happy Lohri Quotes
Hindu Festival 2015
Republic Day
Republic Day Quotes
Happy Republic Day
Speech for Republic Day
Republic Day Wishes
Republic Day Images
India Republic Day
Republic Day Sms
Republic Day Songs
What is Republic Day
Republic Day Image

Sagar Balyan on 20 January 2016 at 07:42 said...


valentines day 2016 romantic sayings for Boyfriend
valentines day 2016 quotes for him
valentines day 2016 quotes in english
valentines day 2016 messages for girlfriend
valentines day 2016 romantic wishes
valentines day 2016 one line status
valentines day 2016 whatsapp video
valentines day 2016 images photos download
valentines day 2016 romantic sms for girlfriend
valentines day 2016 quotes for gf
valentines day 2016 sayings in english
happy valentines day 2016 quotes for boyfriend
valentines day 2016 romantic sms for him
valentines day 2016 messages for bf

Sagar Balyan on 20 January 2016 at 07:43 said...


rose day 2016 shayari sms
rose day shayari sms in hindi
7th feb rose day sms
rose day 2016 romantic sms
happy rose day romantic shayari
valentine day special whatsapp short video
rose day whatsapp short video
rose day whatsapp dp
rose day whatsapp dp images
rose day romantic sms for girlfriend
happy rose day sms wallpaper

Sagar Balyan on 20 January 2016 at 07:45 said...


hug day love quotes
hug day long quotes
hug day latest quotes
hug day sad quotes
hug day short quotes
hug day sad quotes 2 lines
hug day sad quotes one line status
hug day quotes messages for girlfriend
hug day quotes for gf
hug day quotes for best friend
hug day emotional quotes
hug day romantic quotes
romantic hug quotes for her
romantic hug day sms in hindi
hug day 2016 sms wallpaper
hug day sms quotes
hug day special quotes
hug day special status for whatsapp
valentine special status for whatsapp
quotes on hug day for boyfriend
happy hug day quotes with images
hug day quotes for friends
hug day quotes for husband
hug day sms in hindi for girlfriend
hug day 2016 sms in english
happy hug day 2016 sms hindi
hug day 2016 sms messages
happy hug day sms images
happy hug day sms shayari
hug day quotes for love

Sagar Balyan on 20 January 2016 at 07:49 said...

valentine day sms wallpaper
valentine day single line status
valentine day shayari one line
valentine day latest shayari
valentine day love shayari in hindi
valentine day shayari for boyfriend
valentine day shayari for girlfriend
valentine day love sms messages
valentine day shayari facebook
valentine's day shayari for wife
valentine kiss day shayari
valentine's day sher o shayari
valentine day sher o shayari hindi
valentine romantic status for whatsapp
whatsapp status valentine day special
valentine special whatsapp videos
valentine day special whatsapp short video
valentines day funny whatsapp status
valentines day romantic whatsapp status
valentines day one line whatsapp status

Anna Kapoor on 21 January 2016 at 01:48 said...

Thanks for the post
Udemy Promo Codes
Udemy Coupon Codes

Ahsan Awan on 28 January 2016 at 08:33 said...

Cool Hacking Trick Step by Step all Tricks In This Blog

Cool hackings tricks Free
Cool hackings tricks Free

Cool hackings tricks Free


Top 5 cool Notepad Tricks
Cool hackings tricks Free

Ahsan Awan on 28 January 2016 at 08:33 said...

Cool Hacking Trick Step by Step all Tricks In This Blog

Cool hackings tricks Free
Cool hackings tricks Free

Cool hackings tricks Free


Top 5 cool Notepad Tricks
Cool hackings tricks Free

Mary Green on 9 February 2016 at 04:45 said...

If you review LinkedIn and resume writing services you will find many interesting information for you about the resume writing companies. And you will definitely find the right one fr you that suits all your needs for resume writing.

Kelly Anni on 17 May 2016 at 07:21 said...

Earn to Die 2 is a mobile game developed by Toffee Games. It is available on the App Store, Google Play and the Amazon Appstore.Earn to Die


Play the fabolous earn to die game and complete all the levels.You can play all the seven parts of the game on our website, including earn to die 3.

Tank trouble 2 is one of the best tank battle games and arcade games as a whole. If you love arcade games or want to play online against friends or family.Tank Trouble | Tank trouble 3 | Tank trouble 4

tong vo on 3 July 2016 at 21:55 said...


This is extremely helpful info!! Very good work. Everything is very interesting to learn and easy to understood. Thank you for giving information.
starfall | nick jr | minecraft games | barney

Dharmraj Kevat on 9 October 2016 at 07:24 said...

For more tricks visit http://wwww.alivetricks.com

Candy Sim on 8 January 2017 at 17:59 said...

All the best blogs that is very useful for keeping me share the ideas of the future as well this is really what I was looking for, and I am
very happy to come here. Thank you very much
animal jam codes | five nights at freddy's 4 | hotmail login

Informations Point on 14 January 2017 at 01:58 said...

Happy Republic Day 2017
Republic Day Images 2017
Republic Day Wallpapers
Republic Day hd Wallpapers free Download
Republic Day Poems
Republic Day Speech
Republic Day Messages
Republic Day Quotes
Republic Day SMS
Republic Day Wishes

Regina Hilary on 6 February 2017 at 19:05 said...

Wonderful blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Many thanks.
tanki online 3 | 2048 online

Ankit Meena on 22 February 2017 at 10:47 said...

Get all articles related to Happy Holi 2017. We have provided you the best Happy Holi Wallpapers Images Photos Status Messages Hindi SMS Profile Pics DPs For WhatsApp Facebook
Happy Holi WhatsApp Status
Happy Holi Hindi Messages
Happy Holi Hindi Lines
Happy Holi DJ Songs Downlaod
Happy Holi WhatsApp Status
Happy Holi Hindi SMS
Happy Holi SMS in Hindi
Happy Holi 2017 Images
Happy Holi Ascii Code SMS
Happy Holi Hindi Messages
Happy Holi Status For Facebook
Happy Holi SMS in Hindi
Happy Holi status in hindi
Happy Holi SMS

Shubham Meena on 26 February 2017 at 01:19 said...

Holi Wallpapers
Happy Holi Quotes
free recharge tricks
Holi Images.

Candy Sim on 4 April 2017 at 01:19 said...

The blog or and best that is extremely useful to keep I can share the ideas of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
animal jam | five nights at freddy's | hotmail login

Ajay on 8 April 2017 at 12:08 said...

You are doing great job and this is a good information for us. Thank you for sharing.
IPL Prediction
IPL 2017 Toss
IPL Toss Prediction
Who Will Win IPL 2017
IPL Prediction
IPL Bhavishyavani
IPL Astrology
IPL 2017 Prediction
Who Will Win IPL
IPL Tomorrow Match Prediction
IPL Astrology
IPL Prediction 2017
Online Hindi News
IPL Bhavishyavani
Uttarakhand Hindi Samachar
15 August Speech
Independence Day 2017 Speech
Happy Diwali 2017 Images
Diwali 2017 Images
IPL Toss 2017
Raksha Bandhan 2017 Quotes
Raksha Bandhan 2017 Images

Click Here To add Comment

Post a Comment

Newer Posts Newer Posts