Build (Ctrl+B)<\/strong> b\u1ea1n s\u1ebd nh\u00ecn th\u1ea5y k\u1ebft qu\u1ea3 c\u1ee7a d\u00f2ng l\u1ec7nh tr\u00ean \u1edf cu\u1ed1i c\u1eeda s\u1ed5 Sublime Text.<\/p>\n\n\n\nV\u00e0 nh\u01b0 v\u1eady, b\u1ea1n v\u1eeba ch\u1ea1y xong ch\u01b0\u01a1ng tr\u00ecnh Python \u0111\u1ea7u ti\u00ean c\u1ee7a m\u00ecnh tr\u00ean Ubuntu.<\/p>\n\n\n\n
C\u00e0i \u0111\u1eb7t v\u00e0 ch\u1ea1y Python tr\u00ean macOS<\/h2>\n\n\n\n
M\u1edf file t\u1ea3i v\u1ec1 \u0111\u1ec3 c\u00e0i \u0111\u1eb7t theo h\u01b0\u1edbng d\u1eabn, th\u00f4ng b\u00e1o c\u00e0i \u0111\u1eb7t th\u00e0nh c\u00f4ng s\u1ebd hi\u1ec7n ra khi ho\u00e0n t\u1ea5t.<\/p>\n\n\n\n
B\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng \u1ee9ng d\u1ee5ng vi\u1ebft code y\u00eau th\u00edch ho\u1eb7c d\u00f9ng Sublime Text (c\u00f4ng c\u1ee5 \u0111\u01b0\u1ee3c r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean y\u00eau th\u00edch)<\/p>\n\n\n\n
M\u1edf tr\u00ecnh bi\u00ean t\u1eadp code c\u1ee7a b\u1ea1n l\u00ean, t\u1ea1o file m\u1edbi, l\u01b0u v\u1edbi ph\u1ea7n m\u1edf r\u1ed9ng l\u00e0 .py<\/strong><\/p>\n\n\n\nVi\u1ebft code sau v\u00e0 l\u01b0u l\u1ea1i:<\/p>\n\n\n\n
print(\"Xin ch\u00e0o!\")<\/code><\/pre>\n\n\n\nT\u00f9y thu\u1ed9c v\u00e0o tr\u00ecnh bi\u00ean t\u1eadp code c\u1ee7a b\u1ea1n m\u00e0 l\u1ec7nh \u0111\u1ec3 ch\u1ea1y code s\u1ebd kh\u00e1c nhau, v\u1edbi Sublime Text<\/strong> th\u00ec nh\u1ea5n Ctrl+B<\/strong> \u0111\u1ec3 xem k\u1ebft qu\u1ea3 khi ch\u1ea1y l\u1ec7nh.<\/p>\n\n\n\nV\u1eady l\u00e0 \u0111\u1ebfn \u0111\u00e2y b\u1ea1n \u0111\u00e3 t\u1ef1 ch\u1ea1y \u0111\u01b0\u1ee3c l\u1ec7nh Python \u0111\u1ea7u ti\u00ean r\u1ed3i.<\/p>\n\n\n\n
Ch\u00fac b\u1ea1n c\u00e0i \u0111\u1eb7t Python tr\u00ean Windows, macOS & Linux th\u00e0nh c\u00f4ng!<\/p>\n\n\n\n
Ngu\u1ed3n: Quantrimang<\/p>\n","protected":false},"excerpt":{"rendered":"
H\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch c\u00e0i \u0111\u1eb7t Python tr\u00ean Windows, macOS & Linux \u0111\u1ec3 b\u1ea1n…<\/p>\n","protected":false},"author":3,"featured_media":26548,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[224],"tags":[],"class_list":["post-26547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts\/26547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/comments?post=26547"}],"version-history":[{"count":0,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/posts\/26547\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/media\/26548"}],"wp:attachment":[{"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/media?parent=26547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/categories?post=26547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.bnix.vn\/wp-json\/wp\/v2\/tags?post=26547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}