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

How To Upload & Publish Android Apps For Free

Upload Android Apps Free There are many independent Android app developers out there who design, code and test the apps they have been working on only to find out that Google charge a $25 to sign up as a developer and publish to  Google Play , previously known as  Android Market . There are also independent developers out there who haven't relied upon pure development but have chosen to use free third party app building services and are also looking to publish their app for free. What many of them don't realize is that  Google Play  is most certainly not the only Android Market and not all of them charge a fee. An excellent alternative market which was actually in existence before Google Play/Android Market is French Android App Market,  SlideMe . Anyone can sign up at SlideMe  as a developer and can upload their Android apps for free. Although you must register as a developer first, there are no fees charged, you can sell your app for a price if you so wish and you can also di

on whats app "Waiting for this message. This may take a while."?

Download Features  "Waiting for this message. This may take a while."?  this means that At times, you may see the above message in place of what you were sent from a contact. Due to end-to-end encryption, you may need to wait for someone's message to arrive because their phone needs to come online and properly encrypt the message for you. This can typically occur if you or the person you're chatting with recently reinstalled WhatsApp. To speed up this process, ask the person you're messaging to open WhatsApp on their phone.

How to enable areo glass areo transperancy in windows

 How to enable areo glass arnsperancy in windows Good news AREO GLASS TRANSPARENCY                   Microsoft windows 10 How to Enable Aero Glass Transparency with Blur in Windows 10?   Just follow these simple steps to activate and enable Aero Glass transparency with blur effect in Windows 10: 1. Type regedit in RUN or Start Menu search box and press Enter. It'll open Registry Editor. 2. Now go to following key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize 3. In right-side pane, look for a DWORD EnableBlurBehind. If you can't find it, create a new DWORD, set its name as EnableBlurBehind and set its value to 1 4. Close Registry Editor and restart, log off or restart Explorer as given here to take effect. That's it. It'll enable the new Aero glass transparency with blur in Windows 10. In future, if you decide to disable Aero glass, simply change value of EnableBlurBehind DWORD to 0 again. So you see the availability of Aero glass transp