[JS]How to transform from float to buffer by javascript

2021-9-9 写技术

<head> <title>Float to Buffer</title> </head> Input Float: <textarea id="in"></textarea> Output ASCII: <textarea id="out"></textarea> <input type="button" value="Transfor" onclick="transf();" /> <br /> <br /> &...

阅读全文>>

标签: JS

评论(0) 浏览(997)

[JS]Transform from string to ASCII

2021-9-9 写技术

<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

评论(0) 浏览(1016)

[python]Edit excel by xlrd and xlwt

2021-8-26 写技术

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

评论(0) 浏览(1155)

[python]Read excel by xlrd

2021-8-26 写技术

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

评论(0) 浏览(1095)

[python]An example of get web page by selenium

2021-8-17 写技术

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

评论(0) 浏览(1023)

How to install pytorch in ubuntu?

2021-8-7 写技术

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

评论(0) 浏览(1073)

Ubuntu on windows (WSL)

2021-8-6 写技术

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

评论(0) 浏览(1069)

这三年考过的研

2021-7-8 写生活

    时间回到2018年,我到公司已经一年有余,公司是研发毫米波雷达的,我作为一个嵌入式软件工程师,对雷达原理确一窍不通。于是乎买来两本书,作好从头开始学习雷达的打算。打开书,除去雷达历史等的介绍外,几乎每一章节都或多或少地分布了各种各样的数学公式,小到微积份,大到付利叶变换,各种各样的符号、称呼,似曾相识却又恍如隔世。这个时候的我,毕业有七个春秋了。对于数学这种基本功,即使平常有所涉猎,也必不如当初。要想学好雷达原理,数学是一道迈不过的坎。于是乎我的目标由雷达转到了数学。     回到家里把尘封已久的数学教材翻了出来,看着看着又到网上找资料,没多久...

阅读全文>>

评论(0) 浏览(1252)

[python]Display image with matplot

2021-5-27 写技术

import matplotlib.pyplot as plt #plt.figure() img = plt.imread(image_path) plt.imshow(img) plt.show()

阅读全文>>

标签: python

评论(0) 浏览(1247)

[python]Python to read directorys and write sheet (excel)

2021-5-20 写技术

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

评论(0) 浏览(1161)

Powered by anycle 湘ICP备15001973号-1