Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
[!WARNING]
import os | |
# exemplo alterado de EX_10.5.py para 10_5.py | |
for nome in os.listdir('./arquivos'): | |
# alterar conforme sua necessidade de geração de nomes e layout de arquivos | |
dados = str(nome).split(".") | |
numero = dados[0].split("_")[1] | |
subnumero = dados[1] | |
novo_nome = numero + "_" + subnumero + ".py" | |
import os | |
pastas = os.listdir() | |
total = 0 | |
arq = open("lista_de_arquivos.txt", "w",encoding="utf-8") | |
def listar_pasta(pasta): | |
tot = 0 | |
subpastas = list() | |
if os.path.isdir(pasta): | |
items = os.listdir(pasta) |
import pyscreenshot as ImageGrab | |
def main(): | |
imagens = [] | |
# captura todas as imagens primeiro e deixa na memória | |
for i in range(10): | |
imagens.append(ImageGrab.grab()) | |
print("captura:" + str(i)) |
https://scotch.io/tutorials/angularjs-multi-step-form-using-ui-router |
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class MY_Model extends CI_Model | |
{ | |
public function __construct() | |
{ | |
parent::__construct(); | |
} |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "chrome", | |
"request": "launch", | |
"name": "Executar o Chrome contra localhost", | |
"url": "http://localhost:8100", | |
"sourceMaps": true, | |
"webRoot": "${workspaceFolder}/www" |
@Echo Off | |
Set ServiceName=MySQL57 | |
SC queryex "%ServiceName%"|Find "STATE"|Find /v "RUNNING">Nul&&( | |
echo %ServiceName% Fora do AR | |
echo Start %ServiceName% | |
Net start "%ServiceName%">nul||( | |
Echo "%ServiceName%" não pode ser iniciado | |
exit /b 1 | |
) |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<script src="script.js" defer></script> | |
</head> |
Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
[!WARNING]