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
conda env create -f environment.yml | |
Using Anaconda API: https://api.anaconda.org | |
Fetching package metadata ............. | |
Solving package specifications: . | |
ca-certificate 100% |################################| Time: 0:00:00 309.01 kB/s | |
libsodium-1.0. 100% |################################| Time: 0:00:00 1.47 MB/s | |
libxcb-1.13-h1 100% |################################| Time: 0:00:00 10.18 MB/s | |
openssl-1.0.2o 100% |################################| Time: 0:00:00 13.41 MB/s | |
pcre-8.42-h439 100% |################################| Time: 0:00:00 12.18 MB/s | |
xz-5.2.3-h5e93 100% |################################| Time: 0:00:00 8.83 MB/s |
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 pyautogui as pa | |
import numpy as np | |
def main(): | |
pa.moveTo(895, 610) | |
scaling_x = 5 | |
scaling_y = 5 | |
x_, y_ = 0, 0 | |
for t in np.linspace(0, 10*np.pi, 40): | |
x, y = scaling_x* t * np.sin(2*t), scaling_y * t * np.cos(2*t) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Python Tutorial 1" | |
] | |
}, | |
{ |
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
%matplotlib inline | |
import pandas as pd | |
import numpy as np | |
import matplotlib as mpl | |
import matplotlib.pyplot as plt | |
import matplotlib.colors as colors | |
from mpl_toolkits.axes_grid1 import make_axes_locatable | |
from pandas import set_option | |
from sklearn import preprocessing |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"metadata": { | |
"name": "Geomechanics" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |