Mudanças entre as edições de "Python"

De BrapciWiki
Ir para navegação Ir para pesquisar
 
Linha 4: Linha 4:
 
  cd web-crawler
 
  cd web-crawler
 
  python -m venv env
 
  python -m venv env
 +
 +
= Bibliotecas =
 +
== Gerando lista de bibliotecas ==
 +
pip freeze > requirements.txt
 +
== Instalando lista de bibliotecas ==
 +
pip install -r requirements.txt
 
== Bibliotecas ==
 
== Bibliotecas ==
 
* [[Python:Definindo definições do sistema]]
 
* [[Python:Definindo definições do sistema]]

Edição atual tal como às 15h05min de 8 de janeiro de 2026

Python

Criando um ambiente

mkdir web-crawler
cd web-crawler
python -m venv env

Bibliotecas

Gerando lista de bibliotecas

pip freeze > requirements.txt

Instalando lista de bibliotecas

pip install -r requirements.txt

Bibliotecas

Servidor API

Install PIP=

Baixando o arquivo

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

Instalando o Python/PIP

python get-pip.py --no-warn-script-location

Configurar no ambiente do windows Para testar a versão

pip3 -V