Falcon v3.1.1-b3 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-a DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.0 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 362 页 | 1.29 MB | 1 年前3
Falcon v3.1.1 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-rc1 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.0.0 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b2 DocumentationFirst Steps The first thing we’ll do is install Falcon inside a fresh virtualenv. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationfresh virtualenv [http://docs.python- guide.org/en/latest/dev/virtualenvs/]. To that end, let’s create a new project folder called “look”, and set up a virtual environment within it that we can use for so let’s create another “look” folder inside the first one and mark it as a python module by creating an empty __init__.py file in it: $ mkdir look $ touch look/__init__.py Next, let’s create a new file resource. Since we are building an image-sharing API, let’s start by creating an “images” resource. Create a new module, images.py next to app.py, and add the following code to it: import json import falcon0 码力 | 1055 页 | 739.30 KB | 1 年前3
共 77 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













