A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learnbyexample.github.io/py_resources/specific.html below:

Specific features - Python Resources for Everybody

Python Resources for Everybody Specific features Abstract Syntax Trees Async and concurrency Classes Command line applications Context managers CPython internals Decorators and closures Exception handling Lambda Lists and comprehensions Logging Memoization OS interaction Pattern matching Profiling code and speeding up Python Python Packaging Regular Expressions Socket Programming Standard library Type annotations Virtual Environments

On newer versions of Python, I use the simple commands shown below to create a new virtual environment. This approach should work out-of-the-box, but might depend upon the OS you are using. I'm on Linux.

# this is needed only once
# 'new_project' is the name of the folder, can be new or already existing
# use py instead of python3.13 for Windows
$ python3.13 -m venv new_project

$ cd new_project/
$ source bin/activate
(new_project) $ # pip install &LTmodules>
(new_project) $ # do some scripting
(new_project) $ deactivate
$ # you're now out of the virtual environment

Here's some resources on this messy topic:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4