Watch the video here https://www.youtube.com/watch?v=5CMmjNt_p48
Steps to follow to run your python code without typing python filename.py.
You can simply run by typing filename if you follow these simple steps.
# Importing the libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
# Importing the dataset | |
dataset = pd.read_csv('/Users/tharunpeddisetty/Desktop/Position_Salaries.csv') #Add your file path | |
X = dataset.iloc[:,1:-1].values | |
y = dataset.iloc[:, -1].values |
import scrapy | |
import pandas | |
from ..items import YahooItem | |
class YahooSpider(scrapy.Spider): | |
name = 'Yahoo' | |
symbols = ["ADSK","BA","CAT","EBAY","GS","HSY","IBM","JPM","WMT","SHOP", | |
"T", "F", "TRI", "AMZN", "C", "A", "O", "B","MSFT", "NVDA", | |
"DIS", "AAL", "NFLX", "JNJ","BAC","GOOGL", "WFC"] | |
start_urls = ['https://finance.yahoo.com/quote/{0}/history?p={0}'.format(x) for x in symbols] |
Steps to follow to run your python code without typing python filename.py.
You can simply run by typing filename if you follow these simple steps.
HTTPS is when HTTP (hypertext transfer protocol); a communication protocol, is encrypted using TLS (transport layer security).
This means that if anyone is eavesdropping on the communication between a server and a client, they will eavesdrop on encrypted data that is hard to decipher and is therefore secure.
TLS is the more recent term which replaces the term SSL (secure socket layer) but we can refer to them as SSL/TLS.
#![allow(unused)] // silence unused warnings while exploring (to comment out) | |
use sqlx::postgres::{PgPoolOptions, PgRow}; | |
use sqlx::{FromRow, Row}; | |
// Youtube episode: https://youtu.be/VuVOyUbFSI0 | |
// region: Section | |
// Start postgresql server docker image: |