Fb Like Button

#Hv

The Team Young Anonymous welcomes you....
come and learn as much as you can :)
#Admin- Hlshu

Sunday, May 18, 2014

On 17:27 by Harsh Bothra in ,    1 comment
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.

1 comment:


  1. I know a real professional hacker who has worked for me twice in the past one month. He is very good at hacking anything concerning database, phone, social media and even credit report fixes. He offers legit services. He also helps to retrieve accounts that have been taken by hackers. Contact him at cybergoldenhacker at gmail dot com

    ReplyDelete

Please Give Your Feedback So We Can Do Our Best