logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ubuntu 16.04 linux下mongodb的安装和配置

目录测试环境:安装步骤:创建数据库目录启动mongod服务操作数据库配置MongoDB认证账户1:常用命令2:roles字段,指定用户的角色,内置角色3:设置密码mongodb远程连接配置集合查询方法  测试环境:ubuntu: 16.04.4 LTSgcc: 5.4.0mongdb: 3.6.6linux:查看版本una...

json格式转换成dataframe

import reimport jsonfrom bs4 importBeautifulSoupimport pandas as pdimport requestsimport osfrom pandas.io.json import json_normalizeclass image_structs():def __init__(self):self

在linux下安装GSL库以及在codeblocks上配置GSL库

Using GSL on the department Linux machinesI did this istallation on atlas, which is running Linux on Intel and has gcc installed. Results may (but shouldn't) be different on one of the Sun machines

#linux
python base64编码的图片保存到本地

import osimport base64sss ="""/9j/4AAQSkZJRgABAQEASABIAAD//gAyUHJvY2Vzc2VkIEJ5IGVCYXkgd2l0aCBJbWFnZU1hZ2ljaywgejEuMS4wLiB8fEIy/9sAQwAGBAUGBQQGBgUGBwcGCAoQCgoJCQoUDg8MEBcUGBgXFBYWGh0lHxobIxwWFiAsICMm

springmvc程序案例1

1创建一个web工程2导入springmvc的jar文件3在web.xml中配置前端控制器 springmvcorg.springframework.web.servlet.DispatcherServletcontextConfigLocationclasspath:springmvc.xmls

python安装PyMySQL

1确定Python版本 和 scripts目录下有pip.exe运行- cmd (管理员) -  进入后输入: python  确定版本指定到python下scripts目录下,然后输入 pip 确认 是否已安装 pip,(一般是已经安装的)2pip安装 PyMySQL

到底了