python
Legel high
这个作者很懒,什么都没留下…
展开
-
基于LL(1)分析法的语法分析器Python实现
# -*- coding: utf-8 -*-# @File : LL(1).py# @Author: Judong Li# @Date : 2020/05/29# @Desc : 编译原理——LL1语法分析器import csvclass Stack(object): """栈""" def __init__(self): self.items = [] def is_empty(self): """判断是否为空"""原创 2020-05-29 20:33:11 · 1688 阅读 · 0 评论 -
OpenCV imread返回 NoneType
OpenCV imread返回 NoneType路径改为中文可解决import cv2color_img=cv2.imread('D:\python\Opencv\路牌2.jpg')##not chinese,if the path contain chinese will return NoneTypeprint(color_img.shape)...原创 2020-04-15 10:57:52 · 401 阅读 · 0 评论