[JS]Transform from string to ASCII
<head> <title>String to ASCII</title> </head> Input String: <textarea id="in"></textarea> Output ASCII: <textarea id="out"></textarea> <input type="button" value="Transfor" onclick="transf();" /> <br /> <br /> ...标签: JS
[python]Edit excel by xlrd and xlwt
import xlrd import xlwt def edit_excel(fromFile, fromSheet): w_workbook = xlwt.Workbook() w_sheet = w_workbook.add_sheet("nicholas", cell_overwrite_ok=True) workbook = xlrd.open_workbook(fromFile) print(workbook.sheet_names()) sheet = workbook.sheet_names()[fromShe...标签: python
[python]Read excel by xlrd
import xlrd def read_excel(fromFile, fromSheet): workbook = xlrd.open_workbook(fromFile) print(workbook.sheet_names()) sheet = workbook.sheet_names()[fromSheet] sheet = workbook.sheet_by_index(fromSheet) print(sheet) row = sheet.nrows col = sheet.ncols ...标签: python
[python]An example of get web page by selenium
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.key...标签: python
How to install pytorch in ubuntu?
conda install pytorch torchvision torchaudio cpuonly -c pytorch 1.You'd better install packages one by one. 2.After enter the command, then you may see "there are some packages will be downloaded". If the network is not well, you'd better cancel the installing processing and then download it ...标签: DL
Ubuntu on windows (WSL)
After I installing the WSL by Microsoft Store failed, changed the network options to TLS 1.2 . And may be the location of domain must be America. That's all.标签: ubuntu
这三年考过的研
时间回到2018年,我到公司已经一年有余,公司是研发毫米波雷达的,我作为一个嵌入式软件工程师,对雷达原理确一窍不通。于是乎买来两本书,作好从头开始学习雷达的打算。打开书,除去雷达历史等的介绍外,几乎每一章节都或多或少地分布了各种各样的数学公式,小到微积份,大到付利叶变换,各种各样的符号、称呼,似曾相识却又恍如隔世。这个时候的我,毕业有七个春秋了。对于数学这种基本功,即使平常有所涉猎,也必不如当初。要想学好雷达原理,数学是一道迈不过的坎。于是乎我的目标由雷达转到了数学。 回到家里把尘封已久的数学教材翻了出来,看着看着又到网上找资料,没多久...[python]Display image with matplot
import matplotlib.pyplot as plt #plt.figure() img = plt.imread(image_path) plt.imshow(img) plt.show()标签: python
[python]Python to read directorys and write sheet (excel)
import os import xlwt def file_name(file_dir): for root, dirs, files in os.walk(file_dir): list_files(files) def list_files(files): workbook = xlwt.Workbook(encoding = 'utf-8') worksheet = workbook.add_sheet('Nicholas') lines = 1 for item in files: ...标签: python
[DL]MNIST handwritten digit processing by TensorFlow Version 2
import tensorflow.examples.tutorials.mnist.input_data as input_data mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) import tensorflow as tf sess = tf.InteractiveSession() def weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.1) return tf.Varia...标签: DL
日历
最新微语
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
- 时间不可以倒流,但空间可以
2017-08-01 09:03
- 含羞草、电磁炮;汽车工业革命
2017-05-23 22:51
- 那个点子页面加几点:
去中心化的物联网通信协议
2017-05-09 22:13
- 有一种人怀疑阴阳的存在,另有一种人会怀疑1+1=2的正确性……
2017-03-01 17:08
分类
最新评论
- 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ... - DavidNed
I think, that you ar...