{"id":367812,"date":"2024-05-21T03:29:01","date_gmt":"2024-05-21T03:29:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=367812"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=367812","title":{"rendered":"<span>\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0444\u0438\u043d\u0430\u043d\u0441\u044b \u2014 \u0441\u043b\u043e\u0436\u043d\u043e. \u0423\u0434\u0438\u0432\u043b\u044e \u0432\u0430\u0441, \u043d\u043e \u0434\u0430\u0436\u0435 \u0443 \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0433\u0435\u043d\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438 \u044f \u0432\u0437\u044f\u043b \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python. \u0421 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u0430, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b, \u0438 \u0432\u0438\u0434\u0435\u0442\u044c, \u043d\u0430 \u0447\u0442\u043e \u0432\u044b \u0442\u0440\u0430\u0442\u0438\u0442\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0441\u044f\u0446.<\/p>\n<h3>\u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b\u00a0<\/h3>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Pandas, \u0430 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u2014 Matplotlib. \u0418\u0434\u0435\u044f \u0442\u0430\u043a\u043e\u0432\u0430: \u0432\u044b \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0435 \u0441\u0432\u043e\u0438 \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0437\u0430 \u043c\u0435\u0441\u044f\u0446, \u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0441\u0451 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432.<\/p>\n<h3>\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445<\/h3>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430:<\/p>\n<h4>1. \u0412\u0432\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/h4>\n<pre><code>def get_user_input():     income = float(input(\"Enter your monthly income: \"))     expenses = {}     while True:         category = input(\"Enter expense category or 'done' to finish: \")         if category.lower() == 'done':             break         amount = float(input(f\"Enter amount for {category}: \"))         expenses[category] = amount     return income, expenses<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0434\u043e\u0445\u043e\u0434 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446 \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0441 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u043e\u0439 \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c.<\/p>\n<h4>2. \u041f\u043e\u0434\u0441\u0447\u0451\u0442\u044b<\/h4>\n<pre><code>def calculate_budget(income, expenses):     total_expenses = sum(expenses.values())     balance = income - total_expenses     return total_expenses, balance<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443 \u0432\u0430\u0441 \u0435\u0449\u0451 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0435\u043d\u0435\u0433.<\/p>\n<h4>3. \u0410\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432<\/h4>\n<pre><code>def display_budget_summary(income, total_expenses, balance):     print(\"\\nBudget Summary:\")     print(f\"Total Income: ${income}\")     print(f\"Total Expenses: ${total_expenses}\")     print(f\"Remaining Balance: ${balance}\")<\/code><\/pre>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u043e\u0439 \u0434\u043e\u0445\u043e\u0434, \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0441\u0440\u0435\u0434\u0441\u0442\u0432.<\/p>\n<h4>4. \u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432<\/h4>\n<pre><code>def plot_expenses(expenses):     df = pd.DataFrame(list(expenses.items()), columns=['Category', 'Amount'])     df.plot(kind='bar', x='Category', y='Amount', legend=False)     plt.ylabel('Amount ($)')     plt.title('Expense Distribution')     plt.show()<\/code><\/pre>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Pandas \u0438 Matplotlib \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c.<\/p>\n<h3>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u0440\u0430\u0442<\/h3>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u0432\u0435\u0434\u044c \u0442\u0430\u043a \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u043d\u0430 \u0447\u0442\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b\u0438 \u0434\u0435\u043d\u044c\u0433\u0438. \u0412\u043e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430:<\/p>\n<pre><code>python3 budget.py  Enter your monthly income: 10000 Enter expense category or 'done' to finish: rent Enter amount for rent: 2000 Enter expense category or 'done' to finish: car Enter amount for car: 500 Enter expense category or 'done' to finish: utilities Enter amount for utilities: 250 Enter expense category or 'done' to finish: done    Budget Summary: Total Income: $10000.0 Total Expenses: $2750.0 Remaining Balance: $7250.0<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/693\/51c\/8eb\/69351c8ebfc550cd4f84255c1eaa923a.jpg\" alt=\"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u0430\u0440\u0435\u043d\u0434\u0443, \u043c\u0430\u0448\u0438\u043d\u0443, \u043a\u043e\u043c\u043c\u0443\u043d\u0430\u043b\u043a\u0443\" title=\"\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u0430\u0440\u0435\u043d\u0434\u0443, \u043c\u0430\u0448\u0438\u043d\u0443, \u043a\u043e\u043c\u043c\u0443\u043d\u0430\u043b\u043a\u0443\" width=\"640\" height=\"442\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/693\/51c\/8eb\/69351c8ebfc550cd4f84255c1eaa923a.jpg\" data-blurred=\"true\"\/><\/p>\n<div><figcaption>\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u0430\u0440\u0435\u043d\u0434\u0443, \u043c\u0430\u0448\u0438\u043d\u0443, \u043a\u043e\u043c\u043c\u0443\u043d\u0430\u043b\u043a\u0443<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c<\/h3>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u0441\u0440\u0435\u0434\u0435 Python. \u041e\u043d \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0432\u0430\u043c \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0443\u043c\u043c\u0443 \u0434\u043e\u0445\u043e\u0434\u043e\u0432 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446 \u0438 \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b. \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432 \u0438 \u0441\u0442\u043e\u043b\u0431\u0447\u0430\u0442\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432.<\/p>\n<hr\/>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python \u2014 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u0445. \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044f \u0441\u0432\u043e\u0438 \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b, \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438.<\/p>\n<p>\u042f \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u043b\u0438\u0447\u043d\u044b\u0445 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u043c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u0434\u0435\u043b\u0435, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0434 \u0441\u0435\u0431\u044f \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438\u0434\u0435\u044f\u043c\u0438 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0435\u0433\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/0df\/cb1\/de4\/0dfcb1de47addca1b991b81beffbee7f.jpg\" width=\"1560\" height=\"315\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/0df\/cb1\/de4\/0dfcb1de47addca1b991b81beffbee7f.jpg\" data-blurred=\"true\"\/><\/figure>\n<p>\u0411\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 \u043a\u0443\u0440\u0441\u044b \u041d\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043d\u0430 Python:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_pd_ou_habr&amp;utm_content=post09022024\">Python-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a: \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u043a\u0443\u0440\u0441<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/fullstack-python-dev#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_fpy_ou_habr&amp;utm_content=post09022024\">Fullstack-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0430 Python<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python-basic#\/main?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_ou_habr&amp;utm_content=post09022024\">Python-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441 \u043d\u0443\u043b\u044f<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/django#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_ou_habr&amp;utm_content=post09022024\">Django: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 backend-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python-for-analytics#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bds_pydp_ou_habr&amp;utm_content=post09022024\">Python \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u044f \u0438 \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/osnovy-raboty-s-instrumentami-dlya-analiza-dannyh#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bds_all_bou_habr&amp;utm_content=post09022024\">\u041e\u0441\u043d\u043e\u0432\u044b \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 SQL, Python, Power BI, DataLens<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/pyfree-async#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_bou_habr&amp;utm_content=post09022024\">\u041e\u0441\u043d\u043e\u0432\u044b Python: \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0430<\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/792670\/\"> https:\/\/habr.com\/ru\/articles\/792670\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0444\u0438\u043d\u0430\u043d\u0441\u044b \u2014 \u0441\u043b\u043e\u0436\u043d\u043e. \u0423\u0434\u0438\u0432\u043b\u044e \u0432\u0430\u0441, \u043d\u043e \u0434\u0430\u0436\u0435 \u0443 \u0442\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0433\u0435\u043d\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u043c\u0438 \u044f \u0432\u0437\u044f\u043b \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python. \u0421 \u0435\u0433\u043e \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u043c \u0441\u0432\u043e\u0435\u0433\u043e \u0431\u044e\u0434\u0436\u0435\u0442\u0430, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b, \u0438 \u0432\u0438\u0434\u0435\u0442\u044c, \u043d\u0430 \u0447\u0442\u043e \u0432\u044b \u0442\u0440\u0430\u0442\u0438\u0442\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u0435\u0441\u044f\u0446.<\/p>\n<h3>\u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b\u00a0<\/h3>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Python. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b Pandas, \u0430 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u2014 Matplotlib. \u0418\u0434\u0435\u044f \u0442\u0430\u043a\u043e\u0432\u0430: \u0432\u044b \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0435 \u0441\u0432\u043e\u0438 \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0437\u0430 \u043c\u0435\u0441\u044f\u0446, \u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u0441\u0451 \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432.<\/p>\n<h3>\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u0445<\/h3>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0430:<\/p>\n<h4>1. \u0412\u0432\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/h4>\n<pre><code>def get_user_input():     income = float(input(\"Enter your monthly income: \"))     expenses = {}     while True:         category = input(\"Enter expense category or 'done' to finish: \")         if category.lower() == 'done':             break         amount = float(input(f\"Enter amount for {category}: \"))         expenses[category] = amount     return income, expenses<\/code><\/pre>\n<p>\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u0434\u043e\u0445\u043e\u0434 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446 \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0441 \u0440\u0430\u0437\u0431\u0438\u0432\u043a\u043e\u0439 \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c.<\/p>\n<h4>2. \u041f\u043e\u0434\u0441\u0447\u0451\u0442\u044b<\/h4>\n<pre><code>def calculate_budget(income, expenses):     total_expenses = sum(expenses.values())     balance = income - total_expenses     return total_expenses, balance<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u0442 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443 \u0432\u0430\u0441 \u0435\u0449\u0451 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0434\u0435\u043d\u0435\u0433.<\/p>\n<h4>3. \u0410\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432<\/h4>\n<pre><code>def display_budget_summary(income, total_expenses, balance):     print(\"\\nBudget Summary:\")     print(f\"Total Income: ${income}\")     print(f\"Total Expenses: ${total_expenses}\")     print(f\"Remaining Balance: ${balance}\")<\/code><\/pre>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432 \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0432\u043e\u0439 \u0434\u043e\u0445\u043e\u0434, \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u0438 \u043e\u0441\u0442\u0430\u0442\u043e\u043a \u0441\u0440\u0435\u0434\u0441\u0442\u0432.<\/p>\n<h4>4. \u0414\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432<\/h4>\n<pre><code>def plot_expenses(expenses):     df = pd.DataFrame(list(expenses.items()), columns=['Category', 'Amount'])     df.plot(kind='bar', x='Category', y='Amount', legend=False)     plt.ylabel('Amount ($)')     plt.title('Expense Distribution')     plt.show()<\/code><\/pre>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Pandas \u0438 Matplotlib \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c.<\/p>\n<h3>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0442\u0440\u0430\u0442<\/h3>\n<p>\u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u0432\u0435\u0434\u044c \u0442\u0430\u043a \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u043c, \u043d\u0430 \u0447\u0442\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b\u0438 \u0434\u0435\u043d\u044c\u0433\u0438. \u0412\u043e\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430:<\/p>\n<pre><code>python3 budget.py  Enter your monthly income: 10000 Enter expense category or 'done' to finish: rent Enter amount for rent: 2000 Enter expense category or 'done' to finish: car Enter amount for car: 500 Enter expense category or 'done' to finish: utilities Enter amount for utilities: 250 Enter expense category or 'done' to finish: done    Budget Summary: Total Income: $10000.0 Total Expenses: $2750.0 Remaining Balance: $7250.0<\/code><\/pre>\n<figure class=\"full-width\">\n<div><figcaption>\u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432 \u043d\u0430 \u0430\u0440\u0435\u043d\u0434\u0443, \u043c\u0430\u0448\u0438\u043d\u0443, \u043a\u043e\u043c\u043c\u0443\u043d\u0430\u043b\u043a\u0443<\/figcaption><\/div>\n<\/figure>\n<h3>\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c<\/h3>\n<p>\u041f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u0441\u0440\u0435\u0434\u0435 Python. \u041e\u043d \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442 \u0432\u0430\u043c \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0443\u043c\u043c\u0443 \u0434\u043e\u0445\u043e\u0434\u043e\u0432 \u0437\u0430 \u043c\u0435\u0441\u044f\u0446 \u0438 \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b. \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432 \u0438 \u0441\u0442\u043e\u043b\u0431\u0447\u0430\u0442\u0443\u044e \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0443 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432.<\/p>\n<hr\/>\n<p>\u042d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 Python \u2014 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u0435\u043b\u0438 \u0431\u044b \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0432 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0444\u0438\u043d\u0430\u043d\u0441\u0430\u0445. \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044f \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044f \u0441\u0432\u043e\u0438 \u0434\u043e\u0445\u043e\u0434\u044b \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b, \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0430\u0442\u044c\u0441\u044f \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438.<\/p>\n<p>\u042f \u0437\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u0438\u0437 \u043b\u0438\u0447\u043d\u044b\u0445 \u0444\u0438\u043d\u0430\u043d\u0441\u043e\u0432. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0432\u0430\u043c \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 \u0434\u0435\u043b\u0435, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u043e\u0434 \u0441\u0435\u0431\u044f \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0438\u0434\u0435\u044f\u043c\u0438 \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u0435\u0433\u043e \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445.\u00a0<\/p>\n<figure class=\"full-width\"><\/figure>\n<p>\u0411\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0435 \u043a\u0443\u0440\u0441\u044b \u041d\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u0438 \u043f\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e \u043d\u0430 Python:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_pd_ou_habr&amp;utm_content=post09022024\">Python-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a: \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0439 \u043a\u0443\u0440\u0441<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/fullstack-python-dev#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_fpy_ou_habr&amp;utm_content=post09022024\">Fullstack-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043d\u0430 Python<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python-basic#\/main?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_ou_habr&amp;utm_content=post09022024\">Python-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0441 \u043d\u0443\u043b\u044f<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/django#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_ou_habr&amp;utm_content=post09022024\">Django: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 backend-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/python-for-analytics#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bds_pydp_ou_habr&amp;utm_content=post09022024\">Python \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u044f \u0438 \u0432\u0435\u0431\u0438\u043d\u0430\u0440\u044b:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/osnovy-raboty-s-instrumentami-dlya-analiza-dannyh#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bds_all_bou_habr&amp;utm_content=post09022024\">\u041e\u0441\u043d\u043e\u0432\u044b \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 SQL, Python, Power BI, DataLens<\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/netology.ru\/programs\/pyfree-async#\/?utm_source=habr&amp;utm_medium=externalblog&amp;utm_campaign=bdev_all_bou_habr&amp;utm_content=post09022024\">\u041e\u0441\u043d\u043e\u0432\u044b Python: \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0430<\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/792670\/\"> https:\/\/habr.com\/ru\/articles\/792670\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-367812","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/367812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=367812"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/367812\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=367812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=367812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=367812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}