Quantcast
Channel: CodeSection,代码区,Python开发技术文章_教程 - CodeSec
Browsing all 9596 articles
Browse latest View live

爬虫视角下的open edx studio

studio 按官方说法: Studio是课程制作系统,课程团队使用它来创建和更新课程。Studio将课程内容写入到Mongo数据库中,之后LMS从中读取课程内容 参考我的译文:Open edX体系架构 架构 从技术角度来看studio是个web服务,而且是个前端很重的web服务(mvc/模块化)。edx的课程制作后台,复杂而强大,官方好像并不认为适合用移动端来做,他们压根没构建RESTful接口...

View Article


Image may be NSFW.
Clik here to view.

基于django框架编写的简单信息采集系统

基于django框架编写的简单信息采集系统 昨天来源:CSDN博客...

View Article


Image may be NSFW.
Clik here to view.

一文了解机器学习知识点及其算法(附python代码)

一文了解机器学习知识点及其算法(附python代码) 一点号DataCastle3小时前 机器学习发展到现在,已经形成较为完善的知识体系,同时大量的数据科学家的研究成果也让现实问题的处理有了相对成熟的应对算法。 所以对于一般的机器学习来说,解决问题的方式变的非常简单:熟悉这些基本的算法,并且遇到实际的问题能够系统地运用这些思想来解决。 php?url=0EOYWSDwMZ"...

View Article

Image may be NSFW.
Clik here to view.

Watch me do a “live” Python code review for a reader

A couple of days ago I had a Twitter conversation with Labeeb who’s just getting into python. (Good news, so far he loves it!) I think we started out with a classic “Emacs vs Sublime” discussion ()...

View Article

Image may be NSFW.
Clik here to view.

Import Python: ImportPython Issue 89

Worthy Read Build a Slack bot that mimics your colleagues with python using Markov Chains. bot Imagine in your company slack team there's this person (we'll call him Jeff). Everything that Jeff says is...

View Article


Pretty fast word2vec with Numba

A difficulty of working with text data is that using each word of a large vocabulary as a feature requires working with large dimensions. While sparse matrix data structures make manipulating these...

View Article

Image may be NSFW.
Clik here to view.

有哪些值得关注的技术博客(Python篇)

大部分程序员在自学的道路上不知道走了多少坑,这个视频那个网站搞得自己晕头转向。对我个人来说我平常在学习的过程中喜欢看一些教程式的博客。这些博客的特点: 1、总结知识点相对比较全面 2、一般来说讲解知识点通俗易懂 3、路线比较清晰,不会有太多的冗余内容。 这样一来,对于自学的朋友来说,一些专业的博客不但大量的缩减了你得学习时间、提高了学习效率。更重要的是这些博客能培养你对编程的兴趣。...

View Article

Intel Distribution for Python

I am pleased to announce the first product release of Intel Distribution for python * powered by Anaconda*. Why is Intel making a python distribution? We want python users to get the productivity they...

View Article


Django初体验

为什么使用Django 快速开发 使用python 数据库ORM系统 大量内置应用 后台管理系统 admin 用户认证系统 auth 会话系统 sessions 安全性高 表单验证 SQL注入 跨站点攻击 易于扩展 Django知识储备 python基础 数据库SQL HTTP协议 HTML & CSS 正则表达式 Django 开发环境 python ipython: 支持自动补齐...

View Article


Image may be NSFW.
Clik here to view.

New Research ― We’re In the Middle of a Data Engineering Talent Shortage

We’ve all become accustomed to hearing about the rising demand for data scientists , but according toour latest research, the real talent crisis lies in data engineering. There are 6500 people who...

View Article

python批量检查网站可用性

最近又新上了一部分站点,随着站点的增多,管理复杂性也上来了,俗话说:人多了不好带,我发现站点多了也不好管,因为这些站点里有重要的也有不重要的,重要核心的站点当然就管理的多一些,像一些万年都不出一次问题的,慢慢就被自己都淡忘了,冷不丁那天出个问题,还的手忙脚乱的去紧急处理,所以规范的去管理这些站点是很有必要的,今天我们就做第一步,不管大站小站,先统一把监控做起来,先不说业务情况,最起码那个站点不能访问...

View Article

python的各种编辑器-PyScripter、pycharm 、atom、vscode、Sublime Text等等

RT,本文主要列举python的各种编辑器-PyScripter、pycharm 、atom、vscode、Sublime Text等等. PyScripter 开源 免费 windows only https://github.com/pyscripter/pyscripter PyScripter 的安装包需要去SF上下载:...

View Article

Image may be NSFW.
Clik here to view.

How to Deploy Custom Docker Images for Your Web Crawlers

What if you could have complete control over your environment? Your crawling environment, that is… One of the many benefits of our upgraded production environment, Scrapy Cloud 2.0, is that you can...

View Article


Image may be NSFW.
Clik here to view.

基于django的cas服务器

前段时间为某高校写一个简易的cas server,基于django实现,先上源码: django_cas_server_lite Why 不想折腾java/tomcat/apache,所以没选用 apereo/cas 利用django的认证机制易于与任何认证系统对接,包括数据库,以及jwt等 没有历史负担,方面页面设计样式 跟Open edX采用同一套技术栈...

View Article

Image may be NSFW.
Clik here to view.

python之最强王者(2)――python基础语法

背景介绍:由于本人一直做java开发,也是从txt开始写hello,world,使用javac命令编译,一直到使用myeclipse,其中的道理和辛酸都懂(请容许我擦干眼角的泪水),所以对于python学习,直接使用pycharm IDE开发。 一.第一个python程序 按照套路,入我编程界的门,必须得遵守门规,先来个hello,world,先干为敬! 客官请看图: 运行结果如下图:...

View Article


Python_Day_04 set方法总结

set(集合) 直接创建一个空集合 set_empty = set()print(set_empty) # set() 根据参数创建 # 根据参数set_argument = set(42,'345','ry')print(set_argument) # 这样会报错,因为set只允许有一个参数 根据列表来创建 set_list =...

View Article

Image may be NSFW.
Clik here to view.

根本就没有代码是你的,只有Bug 是你的

根本就没有代码是你的,只有Bug 是你的 有人把这个世界上的代码分两种,一种自己的,一种别人的,然后区别对待之。 不懂有些自认为牛逼的人哪里来的勇气可以说:“不看别人的代码,不改别人的代码”。真的有本事你不要用别人的代码,从机器语言开始自己撸一套出来,甚至机器语言都不要用自己创造一个出来呀! 别人的代码 别人的代码通常也被分为两种,好的和烂的。 有人讨厌别人写的代码,我想他讨厌的是比他写的烂的代码。...

View Article


Image may be NSFW.
Clik here to view.

《Python Web开发实战》预售了!

购买链接: 1. 亚马逊《python Web开发实战》 2. 京东《Python Web开发实战》 15年11月19日,我打开了一个不常用的邮箱,看到了2天前编辑给我发的邮件,问我想不想写本Python相关的书。...

View Article

Mocking Module Level Functions In Python Unit Tests

If you write a lot of unit tests in python, especially on complex pieces of software, no doubt you have come across python’s mock module . As of writing this, I just noticed that it has now been...

View Article

Micro Services on the Client?

The Micro Service Architecture is all about splitting up your application's (or group of applications') functionality into separate services that communicate with each other in some standardized way,...

View Article
Browsing all 9596 articles
Browse latest View live