Help Center/
Data Ingestion Service/
SDK Reference/
Getting Started with SDK/
Using the Python SDK/
Configuring a Sample Project
Updated on 2024-03-05 GMT+08:00
Configuring a Sample Project
For details about the sample code, see https://github.com/huaweicloud/huaweicloud-sdk-python-dis/tree/master/dis_sdk_python_demo.
Procedure
- After huaweicloud-python-sdk-dis has been published to PyPI, open Command Prompt and run the pip install huaweicloud-python-sdk-dis command to install huaweicloud-python-sdk-dis.
- Import the PyCharm project.
- Choose Open File or Project window is displayed. . The
- Select dis_sdk_python from the \Lib\site-packages Python installation directory. If you cannot find dis_sdk_python, upgrade pip or install huaweicloud-python-sdk-dis.
- Click OK.
- Configure the sdk_python project.
- In the navigation tree on the left, choose and set the font background color.
- In the navigation tree on the left, choose and add Python.
- Select a proper project interpreter and click OK.
Figure 1 Adding Python
- In the navigation tree on the left, choose
Set Global Encoding, Project Encoding, and Default encoding for properties files to UTF-8.
and set the PyCharm code.
Parent topic: Using the Python SDK
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot