Skip to main content

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 => http://python.org/ftp/python/2.7.6/python-2.7.6.msi



Step 1:



open notepad and type



import webbrowser



In python the "import" statement is used toadd 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.

Comments

Popular posts from this blog

Hacking website using SQL Injection -step by step guide

Database: Database is collection of data. In website point of view, database is used for storing user ids,passwords,web page details and more. Some List of Database are: * DB servers, * MySQL(Open source), * MSSQL, * MS-ACCESS, * Oracle, * Postgre SQL(open source), * SQLite, SQL: Structured Query Language is Known as SQL. In order to communicate with the Database ,we are using SQL query. We are querying the database so it is called as Query language. Definition from Complete reference: SQL is a tool for organizing, managing, and retrieving data stored by a computer database. The name “SQL” is an abbreviation for Structured Query Language. For historical reasons, SQL is usually pronounced “sequel,” but the alternate pronunciation “S.Q.L.” is also used. As the name implies, SQL is a computer language that you use to interact with a database. In fact, SQL works with one specific type of database, called a relational database. Simple Basic Queries for SQL: Select * from table_name : this s...

Recover Hard Drive Password

4 Unlock and Recover Hard Drive Password with Hard Disk Password Removal Tool  Is there any software to recover hard drive disk password? Where to download hard drive password cracker? Is it possible to reset the hard drive password? According to Lenovo and many other manufacturers’ website, if you forget your hard drive or hard disk password, there is no possible way to reset your password or recover data in the hard disk drive. Basically the hard drive is unusable. However, this is often not true. Most people are not aware that most hard disk drives have the ability to set a hardware password, just like the Bios password for motherboards, thus making the drive completely inaccessible unless a correct password is provided during the BIOS POST test. Usually these features can only be found in laptops, this is when you set a password on your notebook, the hard drive together with the motherboard becomes locked. All software tested and works on Seagate, Hitachi, Toshiba and Western D...

Learn To Hide Files Behind The Images

There are some important files or document you want to hide from others on your computer. To do that you might be creating folder inside folder to hide such files but in todays tutorial i will change this by teaching you a interesting trick to hide files behind images.To hide a file behind a image means that if any one opens that image he will see the image, but to see the hidden file we need to open that image in a specific way. So lets get started. How To Hide File Behind Image ? In order to do this you should have basic understanding of command line. 1. Select an image to be used for hiding file behind the image. 2. Now select a file to hide behind the image and make it in .RAR format. With the help of the WinRAR. 3. And most important is that paste both the files on desktop. You may do this anywhere instead of desktop if you have some basic understanding of command line. 4. Now open cmd by going to Start > Accessories > Command Prompt and type following commands in it. cd des...