随笔分类 - Python文档
摘要:前几天为公司同事做了一次 Python 语言的速成培训,幻灯在这里:Python速成指南View morepresentationsfromMarch Liu.这次的幻灯中,我对平时使用的 latex 代码做了一些调整,新的引言区如下:/documentclass[utf8x, notes=hide]{beamer}%/usepackage[bars]{beamerthemetree} % Beamer Theme v 2.2/usetheme{boxes} % Beamer theme/usecolortheme{seahorse} % Beamer color theme/usepacka
阅读全文
摘要:.. _tut-fp-issues:****************************************************************************************Floating Point Arithmetic: Issues and Limitations 浮点数算法:争议和限制****************************************************************************************.. sectionauthor:: Tim Peters <tim_one@use
阅读全文
摘要:.. _tut-interacting:***************************************************Interactive Input Editing and History Substitution***************************************************Some versions of the Python interpreter support editing of the current inputline and history substitution, similar to facilities
阅读全文
摘要:.. _tut-whatnow:********************What Now? 接下来?********************Reading this tutorial has probably reinforced your interest in using Python ---you should be eager to apply Python to solving your real-world problems. Whereshould you go to learn more?读过这本指南应该会让你有兴趣使用 Python —— 可能你已经期待着用 Python解决
阅读全文
摘要:.. _tut-brieftourtwo:**********************************************************************Brief Tour of the Standard Library -- Part II 标准库概览 II**********************************************************************This second tour covers more advanced modules that support professionalprogramming ne
阅读全文
摘要:.. _tut-brieftour:************************************************Brief Tour of the Standard Library 标准库概览************************************************.. _tut-os-interface:Operating System Interface 操作系统接口======================================================The :mod:`os` module provides dozens o
阅读全文
摘要:.. _tut-classes:******************Classes 类******************Python's class mechanism adds classes to the language with a minimum of newsyntax and semantics. It is a mixture of the class mechanisms found in C++ andModula-3. As is true for modules, classes in Python do not put an absolutebarrier
阅读全文
摘要:.. _tut-errors:==================================Errors and Exceptions 错误和异常==================================Until now error messages haven't been more than mentioned, but if you have triedout the examples you have probably seen some. There are (at least) twodistinguishable kinds of errors: *sy
阅读全文
摘要:.. _tut-io:*************************************Input and Output 输入和输出*************************************There are several ways to present the output of a program; data can be printedin a human-readable form, or written to a file for future use. This chapter willdiscuss some of the possibilities.有
阅读全文
摘要:.. _tut-modules:************************Modules 模块************************If you quit from the Python interpreter and enter it again, the definitions youhave made (functions and variables) are lost. Therefore, if you want to write asomewhat longer program, you are better off using a text editor to p
阅读全文
摘要:.. _tut-structures:********************************Data Structures 数据结构********************************This chapter describes some things you've learned about already in more detail,and adds some new things as well.本章会深入讨论你一些之前已经学过的,而有些是新内容。.. _tut-morelists:More on Lists 深入列表===================
阅读全文
摘要:.. _tut-morecontrol:******************************************More Control Flow Tools 深入流程控制******************************************Besides the :keyword:`while` statement just introduced, Python knows the usualcontrol flow statements known from other languages, with some twists.除了前面介绍的 :keyword:`w
阅读全文
摘要:.. _tut-informal:**************************************************An Informal Introduction to Python Python 概要介绍**************************************************In the following examples, input and output are distinguished by the presence orabsence of prompts (``>>>`` and ``...``): to rep
阅读全文
摘要:.. _tut-intro:*********************************Whetting Your Appetite 开胃菜*********************************If you do much work on computers, eventually you find that there's some taskyou'd like to automate. For example, you may wish to perform asearch-and-replace over a large number of text f
阅读全文
摘要:.. _tutorial-index:######################The Python Tutorial######################:Release: |version|:Date: |today|Python is an easy to learn, powerful programming language. It has efficienthigh-level data structures and a simple but effective approach toobject-oriented programming. Python's ele
阅读全文
摘要:Python 数据库技术讲座(一)View more presentations from March Liu.Python 数据库技术讲座(二)View more presentations from March Liu.Python 数据库技术第三讲View more presentations from March Liu.
阅读全文
摘要:安排有变,近期不会讲了,放出来请大家指正一下。之前有老同事李道兵先生指出了其中的错误,表示感谢。1 Python简介View more presentations from marchliu.2 Python开发工具链View more presentations from marchliu.3 Python开发风格与建议View more presentations from marchliu.太不给力了……格式有冲突吖……大家点击链接阅读吧……
阅读全文
摘要:基于三元语义的关系数据库动态建模工具SocratesSocrates, Relational Database Dynamic Models Make Tools摘要 SummarySocrates是一个基于关系型数据库和ORM的通用数据库工具。它通过三元语义表达了对动态数据结构的存储和管理功能。使得开发人员可以在关系数据库中管理结构可变的数据。三元语义可以方便的表达单一信息之间的关系,因此它很适合用来表达有向图,甚至有向有环的网状模型,或路径长度很长的关系。预计时长:25分钟难度 Level :面向中级听众类别 Categories:数据库 databases详细内容 Description
阅读全文
摘要:工作项目报告,所以抹掉项目名先,以“X”代之。分割线内内容仅代表个人意见,与所供职企业及参与社区无关。===================================X 从很早的时候就出现各种数据库访问错误。包括链接数占用过多,死锁,僵尸事务等。本周我集中梳理了一遍代码。我认为,虽然数据库设计方面有诸多不合理之处,但是这些不合理主要影响业务错误,造成 X 性能和使用上的问题是因为使用的ORM框架 storm 有严重的缺陷。首先,storm 对数据库架构的同步有非常奇怪的设定。它不自动同步表结构,却插手外键关联关系。强制要求外键必须都是级联更新、级联删除、set null。且不说其设定中有
阅读全文
浙公网安备 33010602011771号