Skip to content

Commit eb58c94

Browse files
wb-yxy487231JacksonTian
authored andcommitted
fix-issue#218
format readme-zh
1 parent f37770a commit eb58c94

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can install the Alibaba Cloud Python SDK using the following two methods. Re
8080

8181
- `access-key-id` is the Accesskey ID for your account.
8282
- `access-key-secret` is the AccessKey secret for your account.
83-
- `region-id` is the ID of the region where the service is called. For a list of region IDs, see [Regions and zones](~~40654~~).
83+
- `region-id` is the ID of the region where the service is called. For a list of region IDs, see [Regions and zones](https://www.alibabacloud.com/help/doc-detail/40654.html).
8484

8585
> **Note:** The sequence of these parameters cannot be changed.
8686

README_zh.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
欢迎使用阿里云开发者工具套件(SDK)。阿里云 Python SDK 让您不用复杂编程即可访问云服务器、云监控等多个阿里云服务。这里向您介绍如何获取阿里云 Python SDK 并开始调用。
88

9-
如果您在使用 SDK 的过程中遇到任何问题,欢迎前往[阿里云 SDK 问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350)提问,提问前请阅读[提问引导](https://help.aliyun.com/document_detail/93957.html)。亦可在当前 GitHub 提交 Issues。
9+
如果您在使用 SDK 的过程中遇到任何问题,欢迎前往 [阿里云 SDK 问答社区](https://yq.aliyun.com/tags/type_ask-tagid_23350) 提问,提问前请阅读 [提问引导](https://help.aliyun.com/document_detail/93957.html) 。亦可在当前 GitHub 提交 Issues。
1010

1111
## 在线示例
1212

@@ -18,8 +18,8 @@
1818

1919
## 环境准备
2020

21-
1. 要使用阿里云<span style="background-color:rgb(250, 250, 250);"><span style="color:rgb(89, 89, 89);">Python</span></span> SDK,您需要一个云账号以及一对`Access Key ID``Access Key Secret`。 请在阿里云控制台中的[AccessKey管理页面](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak)上创建和查看您的Access Key,或者联系您的系统管理员
22-
2. 要使用阿里云SDK访问某个产品的API,您需要事先在[阿里云控制台](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w)中开通这个产品。
21+
1. 要使用阿里云 Python SDK ,您需要一个云账号以及一对`Access Key ID``Access Key Secret`。 请在阿里云控制台中的 [AccessKey管理页面](https://usercenter.console.aliyun.com/?spm=5176.doc52740.2.3.QKZk8w#/manage/ak) 上创建和查看您的 Access Key,或者联系您的系统管理员
22+
2. 要使用阿里云 SDK 访问某个产品的 API,您需要事先在 [阿里云控制台](https://home.console.aliyun.com/?spm=5176.doc52740.2.4.QKZk8w) 中开通这个产品。
2323

2424
## SDK 获取和安装
2525

@@ -32,10 +32,10 @@ pip install aliyun-python-sdk-ecs # 安装管理 ECS SDK
3232

3333
## 开始调用
3434

35-
以下这个代码示例向您展示了调用阿里云Python SDK的3个主要步骤
35+
以下这个代码示例向您展示了调用阿里云 Python SDK 的3个主要步骤
3636

37-
1. 创建Client实例
38-
2. 创建API请求并设置参数
37+
1. 创建 Client 实例
38+
2. 创建 API 请求并设置参数
3939
3. 发起请求并处理异常
4040

4141

@@ -60,10 +60,10 @@ response = client.do_action_with_exception(request)
6060
print response
6161
```
6262

63-
在创建 Client 实例时,您需要填写3个参数:Region ID、Access Key ID和Access Key Secret。Access Key ID和Access Key Secret可以从控制台获得;而 Region ID 可以从[地域列表](https://help.aliyun.com/document_detail/40654.html?spm=5176.doc52740.2.8.FogWrd) 中获得
63+
在创建 Client 实例时,您需要填写 3 个参数:Region ID、Access Key ID 和 Access Key Secret。Access Key ID 和 Access Key Secret 可以从控制台获得;而 Region ID 可以从 [地域列表](https://help.aliyun.com/document_detail/40654.html) 中获得
6464

6565
## HTTP DEBUG
66-
要使用HTTP DEBUG 功能,需要在您的环境变量配置`DEBUG`,其对应的值可以为`sdk``SDK`
66+
要使用 HTTP DEBUG 功能,需要在您的环境变量配置`DEBUG`,其对应的值可以为`sdk``SDK`
6767

6868
**HTTP DEBUG**展现如下信息,帮助您调试代码:
6969

0 commit comments

Comments
 (0)