This file contains hidden or 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 os import rename | |
from glob import glob | |
from urllib.parse import unquote | |
for fname in glob('*'): | |
rename(fname, unquote(fname)) |
This file contains hidden or 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 math import * | |
from scipy.constants import G, c | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib | |
from matplotlib import rcParams | |
# 設定中文輸出與 LaTeX 數學式輸出 | |
matplotlib.use('pgf') | |
preambles = [ |