1 2 3 4 5 6 > >>   Sort: Rank

Using urllib.request.Request Object
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request.urlopen() function can take a urllib.request.Request object to let you building more complex HTTP requests. You can use the Request() constructor to build a Request object: q = urllib.request.Request(...
2018-09-13, 125👍, 0💬

HTTP POST with urllib.request
How to send an HTTP POST request with urllib.request? I want to submit a form to a Website. To submit a form to a Website, you can use the urllib.request.urlopen() function with two arguments: r = urllib.request.urlopen(url, data) where: url can be a URL string or Request object data is request body...
2018-09-13, 125👍, 0💬

Using urllib.parse.urlencode()
How to use urllib.parse.urlencode() function to encode HTTP POST data? My form data has special characters. If your form data has spaces, equal signs, and other special characters, you need to call urllib.parse.urlencode() to encode it before passing it to the urlopen() function. The urlencode() fun...
2018-09-13, 124👍, 0💬

urllib.request.Request Properties and Functions
What properties and functions are supported on urllib.request.Request objects? urllib.request.Request objects support the following properties and functions: >>> q = urllib.request.Request(url) host # represents the host name of the url. type # represents the internet protocol t...
2018-09-13, 119👍, 0💬

Sending FTP Request with urllib.request.urlopen
How to send an FTP request with the urllib.request.urlopen() function? If an FTP server supports anonymous access, you can send an FTP request to retrieve a directory list, or download a file using the urllib.request.urlopen() function: Here is a Python example on how to get a directory list from an...
2018-09-13, 116👍, 0💬

What Is Python Module 'requests'
What Is Python module "requests"? "requests" is a Python external module that allows you to send organic, grass-fed HTTP/1.1 requests, without the need for manual labor. There’s no need to manually add query strings to your URLs, or to form-encode your POST data. Main features of "requests" module: ...
2018-09-01, 187👍, 0💬

requests.models.Response Objects
What properties and functions are supported on requests.models.Response objects? "requests" module supports the following properties and functions on requests.models.Response objects: >>> r = requests.get() >>> r.status_code >>> r.header...
2018-09-01, 147👍, 0💬

Installing 'requests' Module
How to install "requests" module? I am getting the "ModuleNotFoundError: No module named 'requests'" error. If you are getting the following error when running "import requests", you need to follow this tutorial to install the "requests" module. C:\fyicenter>python Python 3.6.2 (v3.6.2:5fd33b...
2018-09-01, 142👍, 0💬

Sending an HTTP Request with 'requests'
How to send an HTTP request? I have the "requests" module installed now. The "requests" module provides 6 static functions to support 6 HTTP request types: >>> r = requests.get(url) >>> r = requests.post(url, data = {'key':'value'}) >>> ...
2018-09-01, 131👍, 0💬

'requests' Module - HTTP for Humans
Where to find tutorials on Python "requests" Module? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Python "requests" Module. What Is Python Module 'requests' Installing 'requests' Module Sending an HTTP Request with 'requests' requests.models...
2018-09-01, 129👍, 0💬

Sending an HTTP POST Request
How to send an HTTP POST request? I want to submit a form to a Website. To submit a form to a Website, you can use the requests.post() function: >>> r = requests.post(url, data = {'key':'value'}) The second argument 'data' is a 'dict' object contains of the list of form field na...
2018-08-14, 151👍, 0💬

Accessing the HTTP Request Object
How to access the HTTP request from the HTTP response object? I want to see what was actually delivered to the server. To see what was actually delivered to the server, you can take the "request" property of the response object: >>> r = requests.post() >>> q...
2018-08-14, 144👍, 0💬

'for ... in' Statement with List of Tuples
How to use "for ... in" statements with a list of tuples in Python code? Usually, "for ... in" statements are used with simple lists. But you can also use a "for ... in" statement with a list of tuples. In this case, you can put multiple looping variables inside the loop item: for (v1, v2, ... ) in ...
2018-08-14, 147👍, 0💬

3Pigs6-3.0.epub - XHTML pre Element
Does EPUB support XHTML "pre" elements? Yes. EPUB 3.1 does support XHTML "pre" elements. EPUB readers will display "pre" elements with a monospace font. Text lines within "pre" elements will be displayed without wrapping. So if you have long lines in "pre" elements, text will be truncated on the rig...
2018-08-14, 213👍, 0💬

3Pigs7-3.0.epub - Apply CSS File
How to add CSS file to my EPUB book? You can follow this tutorial to add a CSS file to your EPUB 3.1 book. 1. Create a CSS file, Styles.css, to control display styles of all XHTML pages: body {font-family: "Arial";} pre {padding: 0px 25px 0px 25px; font-family: "Arial"; font-style: italic; font-size...
2018-08-14, 206👍, 0💬

3Pigs5-3.0.epub - Title Page and TOC
How to add a title page and a table of content page to my EPUB book? If you want to add a title page and a table of content page to your EPUB 3.1 book, you can follow this tutorial. 1. Create a title page in an XHTML file like Title-Page.xhtml: <?xml version="1.0" encoding="utf-8"?> &a...
2018-08-14, 202👍, 0💬

3Pigs3-3.0.epub - Add Images
How to add images to my EPUB books Images can be added into book content using the XHTML "img" elements. For example, you can download this EPUB book, 3Pigs3-3.0.epub, which contains an illustration image in the The-Opening.xhtml: <?xml version="1.0" encoding="utf-8"?> <html xml...
2018-08-14, 201👍, 0💬

3Pigs4-3.0.epub - Cover Image and Page
How to add a cover image to my EPUB books If you want to add a cover image to your EPUB 3.1 book, you should consider to two related components: Cover Image - An image file that is specified as the Cover Image of the book. Cover Page - An XHTML content file that is displayed as part of the book cont...
2018-08-14, 190👍, 0💬

Calibre for Windows
Where to find tutorials on using Calibre for Windows? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on using Calibre for Windows. What Is Calibre Download and Install Calibre for Windows Setup Calibre for Windows Open and Read EPUB Book with Cal...
2018-08-06, 186👍, 0💬

Setup Calibre for Windows
How to Setup and Run Calibre for Windows? You can follow this tutorial to setup and run Calibre for your Windows computer. 1. Search and run Calibre on your Windows computer. You see the welcome and setup screen. 2. Take the default language and library location, and click Next. You see device setti...
2018-08-06, 186👍, 0💬

Open and Read EPUB Book with Calibre
How to Open and Read EPUB Book with Calibre? You can follow this tutorial to Open and Read EPUB Book with Calibre on your Windows computer, if you have "The Metamorphosis" EPUB book downloaded at \fyicenter\Metamorphosis-jacks on.epub.1. Search and run Calibre on your Windows computer. You see the C...
2018-08-06, 186👍, 0💬

Download and Install Calibre for Windows
How to Download and Install Calibre for Windows? You can follow this tutorial to download and install Calibre for your Windows computer. 1. Go to Calibre download site. 2. Click "Windows" icon. You see Calibre for Windows download page. 3. Click "Download calibre" link. You see download started. 4. ...
2018-08-06, 183👍, 0💬

What Is Calibre
What Is Calibre? Calibre is a powerful and easy to use e-book manager. Users say it’s outstanding and a must-have. It’ll allow you to do nearly everything and it takes things a step beyond normal e-book software. It’s also completely free and open source and great for both casual users and computer...
2018-08-06, 182👍, 0💬

2017 Version of API Management Services
Where to find tutorials on the 2017 version of API Management Services at Azure Portal? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on the 2017 version of API Management Services at Azure Portal: Azure API Management Service - 2017 Version Azu...
2018-07-22, 221👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank