Add Python Environmental Variable in Windows

Add python environmental varibale in windows

Add Python Environmental Variable in Windows This article will show you how to add python environmental variable in windows. Follow my steps . Step 1: Right click on my computer icon and click on last option properties. Step 2: on Left, click on Advanced System Properties. Step 3: Right down,[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author

Raspberry pi Controlling Led

raspberry pi controlling led

  Raspberry pi Controlling Led In this tutorial will show you how to control a Led using raspberry pi. The language used is Python. How to install RPi.GPIO module for python. Explanation of Led. Explanation of breadboard. Explanation of RPi.GPIO python module. Click here to download Rpi.GPIO module In the[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author

Simple Python Program to Show Global IP address

global-ip

Simple Python Program to Show Global IP address   # created by kumar shubham # http://hackaholic.info, http://hackaholic.co.in # www.youtube.com/juniourkawasakicool # www.facebook.com/hackaholic.info import urllib2 import re import Tkinter import socket import tkMessageBox try: k=urllib2.urlopen(“http://hackaholic.info/ip.php”) k=k.read() ip=re.findall(‘\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}’,k) except: tkMessageBox.showerror(‘Internet’,’no internet connection’) main=Tkinter.Tk() main.minsize(200,60) main.title(“Global IP”) frametop=Tkinter.Frame(main) framemid=Tkinter.Frame(main) framebot=Tkinter.Frame(main) frametop.pack() framemid.pack() framebot.pack() host=”Welcome[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author

Simple Python Program to Extract links from Web Page

link-extract-python

Simple Python Program to Extract links from Web Page #Author Kumar Shubham # http://hackaholic.info # This program will extract all the links from a webpage import sys import urllib2 import re def find_link(url): sys.stdout.write(“Wait a Minute its retrieving.”) try: if url[0:4]!=”http”: url=”http://” + url f=(urllib2.urlopen(url)).read() k=re.findall(‘(src|href)=”(\S+)”‘,f) k=set(k) print “The Links[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author

Server using python

Server using python. Python modue SimpleHTTPServer will let to make any directory to server. Just open terminal and go to that directory and type “python -m SimpleHTTPServer” without quotes.NOW your current directory is server. Now you can browse you directory in web browser by typing “localhost:8000” without quotes or “local-ip:8000”.[…] Continue reading

Plz Share Share on FacebookShare on Google+Share on LinkedInTweet about this on TwitterEmail this to someoneShare on RedditShare on TumblrDigg thisBuffer this pagePrint this pagePin on PinterestShare on StumbleUponFlattr the author