GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing developer.fedoraproject.org — Python — Fedora Developer Portal
PythonGeneral-purpose, high-level programming language supporting multiple programming paradigms.
Python
Pip & PyPI
Multiple Pythons
Django
FastApi
Flask
MicroPython
Python SIG
PyGObject
Sphinx
Scientific Python Stack
Have a question?
Ask Fedora.
Python in FedoraPython is a widely used, interpreted, object-oriented, high-level programming language with dynamic semantics. It is simple and easy to learn. Python 3 is already pre-installed on Fedora. Let’s use it! Running Python
Now you can start to write in Python! Let’s print Hello World! If you want to exit Python, press To run a program written in Python, type In some guides, you will see Python packagesFedora contains many popular packages for Python.
Usually, they are named with a These are useful for scripting and exploring Python and for Fedora-specific applications. For software development or reproducible data analysis, it is better to use virtual environments. Using virtual environmentsWhen you work on a project, it is good to keep it inside a virtual environment. It will keep the dependencies you need in one place and you do not have to worry about different projects which need different versions of the same module. It also makes it easy to collaborate with people who don’t use Fedora yet. Let’s create a virtual environment called If you want to work in the virtual environment, you have to activate it. When the virtual environment is activated (you can see its name in brackets at the beginning of your prompt), you can install modules via That is all, you have successfully created your own virtual environment. Now you can run Python (see above) and start working on your project. When you finish your work, you can deactivate the virtual environment. Note that packages installed system-wide are not available in the virtual environments:
by default, virtual environments are isolated from the system.
As an alternative, you can create the environment with What next?Authors: Avi Wollman, Jeff Donovan, Jeff Smith, Petr Viktorin, Rodolfo Carvalho Share your knowledgeFedora Developer Portal is a community effort to share guides and information about open-source development. And we need your help! Learn how to contribute |
| You are visitor 01402503 — 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. |