上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页

2021年1月21日

字符串表达式的计算

摘要: 字符串表达式的计算 步骤: (1) 初始化两个栈:运算符栈S1和储存中间结果的栈S2; (2) 从左至右扫描中缀表达式; (3) 遇到操作数时,将其压入S2; (4) 遇到运算符时,比较其与S1栈顶运算符的优先级: (4-1) 如果S1为空,或栈顶运算符为左括号“(”,则直接将此运算符入栈; (4- 阅读全文

posted @ 2021-01-21 10:16 iUpoint 阅读(733) 评论(0) 推荐(0) 编辑

2021年1月15日

python字符串表达式游戏

摘要: 《Python核心编程》中第11章中一个示例:算术游戏(easyMath.py) from operator import add, sub from random import randint, choice ops = {'+': add, '-': sub} MAXTRIES = 2 def 阅读全文

posted @ 2021-01-15 16:23 iUpoint 阅读(122) 评论(0) 推荐(0) 编辑

2020年12月10日

LDA模型在邮件分类上的运用

摘要: lda模型实战 # -*- coding: utf-8 -*- """ Created on Tue Dec 8 00:02:27 2020 @author: Administrator """ import numpy as np import pandas as pd import re # 数 阅读全文

posted @ 2020-12-10 11:25 iUpoint 阅读(141) 评论(0) 推荐(0) 编辑

2020年12月9日

hive笔记

摘要: hive笔记 #hive基本语法 #http://dblab.xmu.edu.cn/blog/2440-2/ -- 不区分大小写 --建表 if not exists CREATE TABLE if not exists page_view(viewTime INT, userid BIGINT, 阅读全文

posted @ 2020-12-09 16:05 iUpoint 阅读(98) 评论(0) 推荐(0) 编辑

2020年12月8日

python爬虫 - 异步多任务

摘要: 异步爬虫批量下载图片,文件下载链接已失效,不要直接运行 # 异步批量下载 import aiohttp import asyncio import time async def job(session, url): # 声明为异步函数 name = url.split('/')[-1] # 获得名字 阅读全文

posted @ 2020-12-08 16:01 iUpoint 阅读(236) 评论(0) 推荐(0) 编辑

2020年12月7日

python使用docx模块读写

摘要: python使用docx模块读写docx文件的方法与docx模块常用方法详解 阅读全文

posted @ 2020-12-07 11:11 iUpoint 阅读(123) 评论(0) 推荐(0) 编辑

2020年12月3日

python爬虫 - 代理ip的使用

摘要: python爬虫 - 代理ip的使用 import sys import time import hashlib import requests import urllib3 from lxml import etree urllib3.disable_warnings(urllib3.except 阅读全文

posted @ 2020-12-03 13:48 iUpoint 阅读(319) 评论(0) 推荐(0) 编辑

2020年11月27日

oracle查看数据库操作日志

摘要: oracle查看数据库操作日志 select * from v$logfile; select * from v$sql where last_active_time>to_date('2020/11/27 15:59:29', 'yyyy-mm-dd hh24:mi:ss') and last_a 阅读全文

posted @ 2020-11-27 16:08 iUpoint 阅读(6073) 评论(0) 推荐(0) 编辑

2020年11月23日

hive笔记

摘要: hive -- 不区分大小写 --建表 if not exists CREATE TABLE if not exists page_view(viewTime INT, userid BIGINT, page_url STRING, referrer_url STRING, friends ARRA 阅读全文

posted @ 2020-11-23 08:57 iUpoint 阅读(170) 评论(0) 推荐(0) 编辑

2020年11月20日

sql 笔记(转)

摘要: 转载自:https://gitee.com/Lanmengye/SQL_Learning/blob/master/PLSQL%E5%9F%BA%E7%A1%80.md# PLSQL变量与类型 替代变量 在PLSQL块中可以使用替代变量来提示用户输入参数,相当于占位符,在程序运行过程中将直接用输入值替 阅读全文

posted @ 2020-11-20 13:51 iUpoint 阅读(99) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页

导航