When executing Python natively:
$ python pystone.py
Pystone(1.1) time for 50000 passes = 0.129016
This machine benchmarks at 387549 pystones/second
import smtplib | |
from email.mime.multipart import MIMEMultipart | |
from email.mime.text import MIMEText | |
from_addr = 'yourgmail@gmail.com' | |
to_addr = 'recipiantmail@gmail.com' | |
bcc = ['emailone@gmail.com', 'emailtwo@gmail.com'] | |
msg = MIMEMultipart() |
The Northern Traverse follows Alfred Wainwright's Coast to coast walk, as he described it in his book. It garantees hours of fun on a 300km cours from Saint Bees at the Irish Sea, through 3 National Parks: Lake District, Yorkshire Dales, North York Moors, to Robin Hood's Bay on the shores of the Northsea.
Ativos financeiros representam a posse de um direito econômico que pode gerar lucro ao longo do tempo. Os ativos possuem preço, identificação, titular, tipo (ações, títulos do tesouro direto, títulos de CDB, etc...) e podem ser negociados no mercado financeiro dependendo da política de cada tipo. Também são conhecidos como "papéis" embora sejam títulos digitais intangíveis. Um ativo financeiro pode aumentar de rentabilidade ao longo do tempo, por exemplo, quem comprou uma ação da Empresa A na bolsa da Nasdaq no dia 2 de novembro de 2020, pagou $52,95. Hoje esse mesmo ativo está valendo $69,33 representando uma rentabilidade de %30,93 para o titular.
Aplicativos de carteira de investimentos são muito comuns no mercado financeiro quando estamos falando do gerenciamento de ativos financeiros. A ideia é ajudar investidores a manterem sua lista de ativos comprados, rendimento, valor total por ativo, tipo de operação, et
git config filter.strip-notebook-output.clean 'jupyter nbconvert --ClearOutputPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR'
Create a .gitattributes
file inside the directory with the notebooks
Add the following to that file:
*.ipynb filter=strip-notebook-output
# Pam Qian 2016 Fall CS 112 Python Midterm Project II | |
# Tic Tack Toe | |
def main(): | |
# The main function | |
introduction = intro() | |
board = create_grid() | |
pretty = printPretty(board) | |
symbol_1, symbol_2 = sym() | |
full = isFull(board, symbol_1, symbol_2) # The function that starts the game is also in here. |
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb | |
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb |