GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-docs-ru/using/android.po at 3.15 · python/python-docs-ru Expand file tree/ Copy pathandroid.poMore file actions 152 lines (124 loc) · 4.69 KB / Copy pathandroid.poFile metadata and controls152 lines (124 loc) · 4.69 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 # SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # # Translators: # python-doc bot, 2025 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.15\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-10-23 18:01+0000\n" "PO-Revision-Date: 2025-09-16 00:02+0000\n" "Last-Translator: python-doc bot, 2025\n" "Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/" "ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ru\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " "(n%100>=11 && n%100<=14)? 2 : 3);\n" msgid "Using Python on Android" msgstr "" msgid "" "Python on Android is unlike Python on desktop platforms. On a desktop " "platform, Python is generally installed as a system resource that can be " "used by any user of that computer. Users then interact with Python by " "running a :program:`python` executable and entering commands at an " "interactive prompt, or by running a Python script." msgstr "" msgid "" "On Android, there is no concept of installing as a system resource. The only " "unit of software distribution is an \"app\". There is also no console where " "you could run a :program:`python` executable, or interact with a Python REPL." msgstr "" msgid "" "As a result, the only way you can use Python on Android is in embedded mode " "– that is, by writing a native Android application, embedding a Python " "interpreter using ``libpython``, and invoking Python code using " "the :ref:`Python embedding API <embedding>`. The full Python interpreter, " "the standard library, and all your Python code is then packaged into your " "app for its own private use." msgstr "" msgid "" "The Python standard library has some notable omissions and restrictions on " "Android. See the :ref:`API availability guide <mobile-availability>` for " "details." msgstr "" msgid "Adding Python to an Android app" msgstr "" msgid "" "Most app developers should use one of the following tools, which will " "provide a much easier experience:" msgstr "" msgid "`Briefcase <https://briefcase.beeware.org>`__, from the BeeWare project" msgstr "" msgid "`Buildozer <https://buildozer.readthedocs.io>`__, from the Kivy project" msgstr "" msgid "`Chaquopy <https://chaquo.com/chaquopy>`__" msgstr "" msgid "`Flet <https://flet.dev/>`__" msgstr "" msgid "" "`pyqtdeploy <https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/>`__" msgstr "" msgid "`Termux <https://termux.dev/en/>`__" msgstr "" msgid "" "If you're sure you want to do all of this manually, read on. You can use " "the :source:`testbed app <Platforms/Android/testbed>` as a guide; each step " "below contains a link to the relevant file." msgstr "" msgid "First, acquire a build of Python for Android:" msgstr "" msgid "" "The easiest way is to download an Android release from `python.org <https://" "www.python.org/downloads/android/>`__. The ``prefix`` directory mentioned " "below is at the top level of the package." msgstr "" msgid "" "Or if you want to build it yourself, follow the instructions " "in :source:`Platforms/Android/README.md`. The ``prefix`` directory will be " "created under :samp:`cross-build/{HOST}`." msgstr "" msgid "" "Add code to your :source:`build.gradle <Platforms/Android/testbed/app/" "build.gradle.kts>` file to copy the following items into your project. All " "except your own Python code can be copied from ``prefix/lib``:" msgstr "" msgid "In your JNI libraries:" msgstr "" msgid "``libpython*.*.so``" msgstr "" msgid "``lib*_python.so`` (external libraries such as OpenSSL)" msgstr "" msgid "In your assets:" msgstr "" msgid "``python*.*`` (the Python standard library)" msgstr "" msgid "``python*.*/site-packages`` (your own Python code)" msgstr "" msgid "" "Add code to your app to :source:`extract the assets to the filesystem " "<Platforms/Android/testbed/app/src/main/java/org/python/testbed/" "MainActivity.kt>`." msgstr "" msgid "" "Add code to your app to :source:`start Python in embedded mode <Platforms/" "Android/testbed/app/src/main/c/main_activity.c>`. This will need to be C " "code called via JNI." msgstr "" msgid "Building a Python package for Android" msgstr "" msgid "" "Python packages can be built for Android as wheels and released on PyPI. The " "recommended tool for doing this is `cibuildwheel <https://" "cibuildwheel.pypa.io/en/stable/platforms/#android>`__, which automates all " "the details of setting up a cross-compilation environment, building the " "wheel, and testing it on an emulator." msgstr "" |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |