![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pycharm
Y_Hungry
这个作者很懒,什么都没留下…
展开
-
python 操作输出world报告
python 操作输出world报告,标题格式原创 2022-06-03 17:04:47 · 474 阅读 · 0 评论 -
Yolo-fast 树莓派调用摄像头测试代码
from ctypes import *import randomimport osimport cv2import timeimport darknetimport argparsefrom threading import Thread, enumeratefrom queue import Queuedef parser(): parser = argparse.ArgumentParser(description="YOLO Object Detection") .原创 2022-04-21 10:06:45 · 445 阅读 · 0 评论 -
python 生Vcard二维码
# vim: set ts=4 et sw=4 sts=4 fileencoding=utf-8 :import qrcode# vCard内容vstr = """BEGIN:VCARDVERSION:4.0N: BrandsenFN:Jack TITLE:General Manager EuropeORG:Okawa Motor Technology Europe BVTEL;HOME;VOICE: +31 6 8191 8717EMAIL;PREF;INTERNET:jbra.原创 2021-10-15 18:48:23 · 356 阅读 · 0 评论 -
Python中 “->“符号的意义
->只算个注释def make_url(cls, index) -> str: return 'https://v.douyin.com/' + index表示返回值类型应该为str。原创 2021-02-27 11:40:38 · 329 阅读 · 0 评论 -
Mac下PyCharm无限试用的方法
mac下创建脚本,拷贝代码运行脚本。注意要关闭pycharm#!/bin/bashif [ "$1" = "--prepare-env" ]; then DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" mkdir -p ~/Scripts echo "Copying the script to $HOME/Scripts" cp -rf $DIR/.原创 2021-01-18 18:26:59 · 2581 阅读 · 5 评论