Skip to main content

UNKNOWN

Project description

Project-Euler
=============

Introduction
-------------
http://projecteuler.net/

Project Euler is a website dedicated to a series of computational problems intended to be solved with computer programs. The project attracts adults and students interested in mathematics and computer programming. Here we will solve them using Python with purely functional programming style.

Some people have expressed their concerns about making the solutions of the Euler Project public. While the risk of having people using them unjustly certainly exists (shame on them), the benefits of sharing knowledge should exceed this petty inconvenient.

Project Euler Python
=======================

简介
---------
用Python 3.x计算Project Euler 开发环境是Win7/Eclipse Juno/Pydev


文件简介
------------
* [.euler.py](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 运行主入口
* [.euler_pdb.py](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 动态调试模块
* [.euler_profiling.py](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- profiling测试模块
* [.euler_unitest.py](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- unitest测试模块
* [.euler.lib](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 算法库
* [.euler.lib.ext](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 标准数据类型扩展库
* [.euler.lib.data](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 数据文件处理模块
* [.euler.lib.utilities](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 小实用库
* [.euler.problem](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 问题代码库
* [.euler.problem.problem](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 问题入口类
* [.euler.problem.problem_x_x](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 问题代码库
* [euler.data](https://github.com/ifooth/ProjectEuler-Python/blob/master/src/_euler.py) -- 问题需要的数据文件


开发编码规范
==========

代码的布局
-------------
Eclipse Juno+PyDev 默认编码

命名约定
----------

1. 包名与的总是全部小写的ASCII字母 lowcaselowcase
2. 模块名全部是小写的ASCII字母,运行下划线
3. 类名是个一名词,采用大小写混合的方式,每个单词的首字母大写
4. 函数名方法名是一个动词,采用大小写混合的方式,第一个单词的首字母小写,其后单词的首字母大写
5. 变量名 除了变量名外,所有实例,包括类,类常量,均采用大小写混合的方式,第一个单词的首字母小写,其后单词的首字母大写
6. 常量名 常量的声明,应该全部大写,单词间用下划线隔开
9. 方法与变量名 参见函数名与全局变量名

继承的设计
----------
1. _表示内部变量与函数 可以认为protected
2. __表示私有变量与函数 可以认为private

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

project-euler-python-0.0.1.zip (81.1 kB view details)

Uploaded Source

Built Distribution

project-euler-python-0.0.1.win-amd64.exe (224.7 kB view details)

Uploaded Source

File details

Details for the file project-euler-python-0.0.1.zip.

File metadata

File hashes

Hashes for project-euler-python-0.0.1.zip
Algorithm Hash digest
SHA256 d0fd39a0df15fcc00845d0be0ef400736d96a60fc98dd0ade43f07a5a12d5220
MD5 449da1b5ac69590fcedcead9c2e6921a
BLAKE2b-256 ded3d6730a1211d38b1b8d26a8bef391551a4bd66f04777297795ef2c460da75

See more details on using hashes here.

File details

Details for the file project-euler-python-0.0.1.win-amd64.exe.

File metadata

File hashes

Hashes for project-euler-python-0.0.1.win-amd64.exe
Algorithm Hash digest
SHA256 d180b363b18d8946db9fb4021752cb4c5c7d9ebbb560121a9f33bf1f1e4281a3
MD5 2fef993b0e8f38702428ee1a2de46f07
BLAKE2b-256 e7d834c6ce641384feb75d4c3070efa07aba1d78b3635612a5aaded47511b0b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page