After the video finishes, you will seea window that looks like this that you can use to write and execute Python code.
Після цього відео ви побачите вікно,яке виглядає ось так. У ньому ви зможете писати та запускати код на Python.
All the calibre python code is in the calibre package.
Увесь код мовою Pyhton calibre є частиною пакунка«calibre».
A recipe is essentially Python code.
Рецепт- це код мовою Python.
Learn the syntax of Python, code structure, conditions, and data types;
Вивчать синтаксис мови Python, структуру коду, умови і типи даних;
Learning the rules to write a python code.
Вчимося писати код на Python.
Or you may rewrite the existing Python code, optimizing it for greater speed.
Можна переписати існуючий Python- код, оптимізуючи його для більшої швидкості.
Bandit- finds common security issues in Python code.
Bandit- знаходить загальні проблеми безпеки в коді Python.
You see, in HTML, you can't really write Python code, because browsers don't understand it.
Як бачите, в HTML, ви не можете помістити Python код, тому що браузери не зрозуміють його.
As an illustration, consider the following piece of Python code:.
Якщо взяти для прикладу наступний шматок коду на Python:.
For question 2, your goal is to write some Python code that prints out the number of hours in 7 weeks.
У завданні 2 вам потрібно написати на Python код, який виводить кількість годин у 7 тижнях.
In the top part, which we call the editor, you can enter Python code.
У верхній частині вікна, яка називається"редактор", ви можете вводити код.
So far we've been writing all our python code in the interpreter, which limits us to entering one line of code at a time.
Досі ми писали увесь наш Python код в інтерпретаторі, що обмежує нас написанням лише одного рядка за раз.
You can see that the fields from theBasic mode have been translated to python code in a straightforward manner.
Як бачите, поля з Базового режиму перетворилися на код python у доволі очевидний спосіб.
If you are comfortable with writing Python code, then you can use frameworks such as Kivy to develop cross-platform mobile apps.
Якщо вам зручно писати код Python, ви можете використовувати такі фреймворки, як Kivy, для розробки кросплатформних мобільних додатків.
Setting this environment variablemeans that calibre will now load all its Python code from the specified location.
Встановлення цієї змінної середовища означає,що calibre тепер буде завантажувати увесь свій код Python із вказаного місця.
The question is"Write Python code that stores the distance in meters that light travels in one nanosecond in the variable nanodistance.".
Завдання таке: напишіть на Python код, який розміщує виражену в метрах відстань, яку світло долає за секунду, в змінну nanodistance.
CodeSkulptor is an interactive,web-based Python programming environment that allows Python code to be run in a web browser.
CodeSkulptor є інтерактивним середовищем програмування Python, який дозволяє запускати код Python у веб-браузері.
Python code is organized into classes and functions that can be combined into modules( which in turn can be combined in packages).
Код в Python організовується у функції та класи, які можуть об'єднуватися в модулі(які в свою чергу можуть бути об'єднані в пакети).
Usage examples: The most popular usage of the Mediator pattern in Python code is facilitating communications between GUI components of an app.
Застосування: Мабуть, найпопулярнішим застосуванням Посередника вPython-коді є зв'язок кількох компонентів GUI однієї програми.
Your goal is to write some Python code that prints out the position of the first occurrence of hoo, H-O-O, in the value of text or -1 if the string hoo does not occur at all in text.
Ваша мета- написати на Python код, який виводить позицію першого входження рядка 'hoo', H-O-O в рядок text або-1, якщо рядок'hoo' не міститься в змінній text.
The calculation necessary in our example is very simple, we simply add the two sets of coordinates, and divide the new set by two. We thenconstruct a new point using the result. The Python code needed is:.
Розрахунки, які потрібні у нашому прикладі, дуже прості: ми просто додаємо два набори координат і ділимо отриманий набір навпіл. Потім ми будуємонову точку за отриманим результатом. Ось відповідний код мовою Python:.
Your goal is to write Python code that prints out the position of the second occurrence of the string"zip" in text or prints out -1 if the string"zip" does not occur at least twice in text.
Ваша мета- написати на Python код, який виводить позицію другого входження рядка'zip' в змінну text, або-1, якщо 'zip' не зустрічається в text щонайменше двічі.
Python Scripting in& kig; basically allows you to create your own objects from certain parent objects. For example, if you are a math teacher, and you have some fancy way of calculating an interesting point on a conic, then instead of messing with complex constructions and macros,you could just write down in Python code how the point is to be calculated and then& kig; will show it for you.
На базовому рівні написання сценаріїв на Python у& kig; надає вам змогу створювати ваші власніоб' єкти з певних базовихоб' єктів. Наприклад, якщо ви є вчителем математики і вам відомий витончений спосіб обчислення цікавої точки конічного перерізу, тоді замість плутанини складних побудов і макротипів, ви можете просто написати код на Python для обчислення цієї точки, а потім& kig; продемонструє вам цю точку.
All objects in& kig; can be used in the Python code. As we have seen above, points are of the Point class, and you can use& eg; the Point. coordinate() method. You can also return all kinds of objects, not just a Point. Many more classes and methods are available in the& kig; Python code, and a more complete reference is provided on the& kig; website.
Всіоб' єкти у& kig; можна використовувати у коді на Python. Як ми вже бачили раніше, точки належать до класу Point, отже, для них можна використовувати, наприклад, метод Point. coordinate(). Функції також можуть повертати всі типиоб' єктів, а не лише Point. У коді на Python у& kig; доступні набагато більше класів і методів, докладнішу довідку щодо цього питання можна знайти на сайті& kig;
Learn Python from scratch- Code facilitated.
Дізнатися Python з нуля- Код сприяло.
More detailed analysis of code examples on Python to get an understanding of the code..
Детальний розбір прикладів коду на Python, щоб отримати розуміння коду..
It is more difficult than Python, but produces faster code than Python..
Вона складніша, ніж Python, але генерує більш швидкий код.
Українська
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
日本語
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
اردو
Tiếng việt
中文