All Projects → tomoncle → Pythonstudy

tomoncle / Pythonstudy

Licence: mit
Python related technologies used in work: crawler, data analysis, timing tasks, RPC, page parsing, decorator, built-in functions, Python objects, multi-threading, multi-process, asynchronous, redis, mongodb, mysql, openstack, etc.

Programming Languages

python
139335 projects - #7 most used programming language
python27
39 projects

Projects that are alternatives of or similar to Pythonstudy

Python-notes
Python related technologies used in work: crawler, data analysis, timing tasks, RPC, page parsing, decorator, built-in functions, Python objects, multi-threading, multi-process, asynchronous, redis, mongodb, mysql, openstack, etc.
Stars: ✭ 104 (+0.97%)
Mutual labels:  scheduler, numpy, openstack, rpc, xpath, matplotlib
Python Spider
豆瓣电影top250、斗鱼爬取json数据以及爬取美女图片、淘宝、有缘、CrawlSpider爬取红娘网相亲人的部分基本信息以及红娘网分布式爬取和存储redis、爬虫小demo、Selenium、爬取多点、django开发接口、爬取有缘网信息、模拟知乎登录、模拟github登录、模拟图虫网登录、爬取多点商城整站数据、爬取微信公众号历史文章、爬取微信群或者微信好友分享的文章、itchat监听指定微信公众号分享的文章
Stars: ✭ 615 (+497.09%)
Mutual labels:  xpath, mysql, redis, mongodb
Springbootunity
rabbitmq、redis、scheduled、socket、mongodb、Swagger2、spring data jpa、Thymeleaf、freemarker etc. (muti module spring boot project) (with spring boot framework,different bussiness scence with different technology。)
Stars: ✭ 845 (+720.39%)
Mutual labels:  scheduler, mysql, redis, mongodb
Pifpaf
Python fixtures and daemon managing tools for functional testing
Stars: ✭ 161 (+56.31%)
Mutual labels:  openstack, mysql, redis, mongodb
Zxw.framework.netcore
基于EF Core的Code First模式的DotNetCore快速开发框架,其中包括DBContext、IOC组件autofac和AspectCore.Injector、代码生成器(也支持DB First)、基于AspectCore的memcache和Redis缓存组件,以及基于ICanPay的支付库和一些日常用的方法和扩展,比如批量插入、更新、删除以及触发器支持,当然还有demo。欢迎提交各种建议、意见和pr~
Stars: ✭ 691 (+570.87%)
Mutual labels:  mysql, redis, mongodb
Dev Setup
macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Stars: ✭ 5,590 (+5327.18%)
Mutual labels:  mysql, redis, mongodb
Bifrost
Bifrost ---- 面向生产环境的 MySQL 同步到Redis,MongoDB,ClickHouse,MySQL等服务的异构中间件
Stars: ✭ 701 (+580.58%)
Mutual labels:  mysql, redis, mongodb
Szt Bigdata
深圳地铁大数据客流分析系统🚇🚄🌟
Stars: ✭ 826 (+701.94%)
Mutual labels:  mysql, redis, mongodb
Notebook
🍎 笔记本
Stars: ✭ 381 (+269.9%)
Mutual labels:  mysql, redis, mongodb
Mall Swarm
mall-swarm是一套微服务商城系统,采用了 Spring Cloud Hoxton & Alibaba、Spring Boot 2.3、Oauth2、MyBatis、Docker、Elasticsearch、Kubernetes等核心技术,同时提供了基于Vue的管理后台方便快速搭建系统。mall-swarm在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。文档齐全,附带全套Spring Cloud教程。
Stars: ✭ 7,874 (+7544.66%)
Mutual labels:  mysql, redis, mongodb
Netkiller.github.io
Netkiller Free ebook - 免费电子书
Stars: ✭ 861 (+735.92%)
Mutual labels:  mysql, redis, mongodb
Tutorial
Java全栈知识架构体系总结
Stars: ✭ 407 (+295.15%)
Mutual labels:  mysql, redis, mongodb
Finagle
A fault tolerant, protocol-agnostic RPC system
Stars: ✭ 8,126 (+7789.32%)
Mutual labels:  rpc, mysql, redis
Go Sniffer
🔎Sniffing and parsing mysql,redis,http,mongodb etc protocol. 抓包截取项目中的数据库请求并解析成相应的语句。
Stars: ✭ 1,281 (+1143.69%)
Mutual labels:  mysql, redis, mongodb
Shell
Infrastructure Management Shell - Linux
Stars: ✭ 381 (+269.9%)
Mutual labels:  mysql, redis, mongodb
Phalcon Vm
Vagrant configuration for PHP7, Phalcon 3.x and Zephir development.
Stars: ✭ 43 (-58.25%)
Mutual labels:  mysql, redis, mongodb
Aclify
🔒 Node Access Control Lists (ACL).
Stars: ✭ 49 (-52.43%)
Mutual labels:  mysql, redis, mongodb
Shw server
使用SpringCloud和Spring WebFlux开发的学生作业管理系统服务端,前后端分离项目,微服务架构。支持Docker集群化部署,Redis集群化缓存,文件在线预览 压缩包预览 打包上传下载
Stars: ✭ 66 (-35.92%)
Mutual labels:  mysql, redis, mongodb
Superboot
随着技术日新月异,新技术新平台不断出现,对现如今的开发人员来说选择快速高效的框架进行项目开发,既能提高产出,又能节约时间。本框架无需开发即可实现服务注册、服务发现、负载均衡、服务网关、配置中心、API管理、分布式事务、支撑平台、集成框架、数据传输加密等功能,是学习SpringCloud整体业务模式的完整示例,并且可以直接用于生产环境
Stars: ✭ 341 (+231.07%)
Mutual labels:  mysql, redis, mongodb
Full Stack Notes
全栈工程师手册
Stars: ✭ 366 (+255.34%)
Mutual labels:  mysql, redis, mongodb

Python Study

控制台打印乱码: print '你好,世界!'.decode('utf-8')

url = 'http://{0}:{1}/{2}'.format('0.0.0.0', 2375, 'xxx')
url = 'http://{ip}:{port}/{uri}'.format(ip='0.0.0.0', port=2375, uri='xxx')
url = 'http://%s:%d/%s' % ('0.0.0.0', 2375, 'xxx')

Windows Python 依赖库 PythonLibs

  • 1.找到对应的 whl 包下载
  • 2.直接pip install *.whl 或者修改.whl文件为.zip文件,解压缩文件的Python文件夹复制到--python安装目录下的Lib--目录下

Python 中文翻译文档集合

Python 官方文档

Top Python APIs

Python2.7环境变量

假如sys.path不对,则使用Python终端 sys.path = [...]重新设置即可. 默认环境配置如下:

[email protected]:~# python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys 
>>> sys.path
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7']
>>> 
# /etc/profile

export PYTHONPATH=/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7
export PATH=$PATH:$PYTHONPATH

Windows环境Python2.7Python3.x 共同使用

  • Python2.7 : $ py -2
  • Python3.x : $ py -3
  • Python2.7 pip : $ py -2 -m pip xxx
  • Python3.x pip : $ pip3 xxx

pycharm

settings

  • enable Code compatibility inspection: settings --> code compatibility inspection

Python内置工具

  • 下载服务器:

    • Python2.x
      • $ python -m SimpleHttpServer 默认端口8000
      • $ py -2 -m SimpleHTTPServer 默认端口8000
      • $ py -2 -m SimpleHTTPServer 9090 指定端口9090
      • 使用代码:
      import SimpleHTTPServer
      
      SimpleHTTPServer.test()
      
    • Python3.x
      • $ python -m http.server
      • $ py -3 -m http.server
  • Json格式化:$ curl http://localhost:8080/get | python -m json.tool

  • 执行Python代码:$ python -c "print 'hello world!'"

  • 解压zip包:

    • 创建zip包:$ python -m zipfile -c tom.zip tom.txt
    • 解压zip包:$ python -m zipfile -e tom.zip .
    • 查看zip包:$ python -m zipfile -l tom.zip
  • 文件处理:

    import shutil
    
    shutil.copy('C:\Users\Administrator\Desktop\ctools2.rar','q.rar')
    

关于Python工作中的一些总结性技术

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].