Hello There, Guest! Login Register
Logo
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.


[Python] How To Install & Use Requests Library

  • 0 Vote(s) - 0 Average


04-29-2014, 05:23 AM #1
xSecurity Offline Respected *****
Respected
Posts:31 Threads:11 Joined:Oct 2013 Reputation: 3
Mood: Angry
Salam

Requests Lib : Requests is an Apache2 Licensed HTTP library, written in Python, for human beings .

How To :
  • install requests lib in windows
  • shortcut lib name & use the shortcut lib name

Frist Thing Let's Install The Requests Lib On Windows
Download : https://github.com/kennethreitz/requests...master.zip
Then Extract Only [ Requests ] Folder To C:\Python27\lib\

And if u want Shortcut Lib Name Like That
PHP Code:
import requests as madleets 

How To Use Shortcut
PHP Code:
import requests as madleets
var = madleets.session()
get = var.get('http://madleets.com/')
print 
get.text 

good luck Biggrinsmiley



[+] PHP/Python Cod3r
[*] Coding Any Tool [PM-Me]
:exclamation:







Forum Jump:


Users browsing this thread:1 Guest(s)