This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#loger | |
with open("/pavuki/doska/files/desk.log", "a", encoding='utf-8') as d: | |
d.write("Was runned at " + timenow.strftime("%d.%m.%Y %H:%M:%S")) | |
d.write('\n') | |
#generate array of dates | |
def generateRange(start,end): | |
global dateRange | |
dateRange = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date, datetime, timedelta | |
from calendar import monthrange | |
import pytz | |
dateRange = [] | |
curTime = datetime.now() | |
def generateRange(start,end): | |
for y in range(start,end): | |
for m in range(1,13): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date, datetime, timedelta | |
from calendar import monthrange | |
import pytz | |
dateRange = [] | |
curTime = datetime.now() | |
def generateRange(start,end): | |
for y in range(start,end): | |
for m in range(1,13): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import sqlalchemy as sa | |
e = sa.create_engine(r'sqlite:////path/to/file/database.db', echo=True) # LINUX | |
e = sa.create_engine(r'sqlite:///C:\\path\\to\\database.db', echo=True) # WINDOWS | |
df.to_sql("deskykt", e, if_exists="append", index=False) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import pandas as pd | |
import shutil | |
import pymysql | |
import sys | |
import re | |
from urllib.request import urlopen | |
from bs4 import BeautifulSoup | |
import sqlalchemy as sa | |
import pytz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.catalog-list { | |
font-family: Arial; | |
float: left; | |
width: 33%; | |
list-style: none; | |
padding: 0; | |
margin: 20px 0 35px; | |
padding-left: 65px; | |
position: relative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$APPLICATION->SetTitle("Ваш титл"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.select2-results__options::-webkit-scrollbar { | |
width: 16px; | |
background-clip: padding-box; | |
} | |
.select2-results__options::-webkit-scrollbar-track { | |
background-color: #F4F4F4; | |
height: 8px; | |
background-clip: padding-box; | |
border-right: 10px solid rgba(0, 0, 0, 0); | |
border-top: 10px solid rgba(0, 0, 0, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section class="section_default container"> | |
<h3 class="underlined">Запчасти</h3> | |
<div class="text-fw f20">Подберите самостоятельно нужные Вам комплектующие запчасти<br>или <a data-toggle="orderModal" class="link">оставьте нам заявку</a>!</div> | |
<form action="" class="find-gears" id="findGears"> | |
<select name="brand" id="selectBrand" placeholder="Бренд трактора" required> | |
<option></option> | |
<option value="1">Бренд 1</option> | |
<option value="dva">Бренд 2</option> | |
<option value="3tri">Бренд 3</option> | |
<option value="4">Бренд 4</option> |
NewerOlder