Configuring the Python compilation Environment using Code::Blocks

Source: Internet
Author: User

1. Create a new C or C + + project in Codeblock, because you can debug code under project.

Codeblock New Project step: File--new--project--console Applications--c or C + + can be--project the path (not use Chinese path!) )

2, the project directory under the MAIN.C changed into *.py file, this article changed into test.py.

3, click the menu bar tools--configure tools--add button, the Edit Tool page appears, where the Python compilation options are configured.

4. Click Settings--editor--keyboard Shortcuts--tools--pyrun, type F5 in new shortcut (you can set the shortcut keys for compiling the run according to your own habits), and click Add,ok.

5, at this point, the Python compilation environment configuration is complete, you can coding, press the shortcut key F5 to compile and run.

Configuring the Python compilation Environment using Code::Blocks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.