project euler problem solve by python
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
=============
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
project-euler-python-0.0.3.zip
(81.7 kB
view details)
Built Distribution
File details
Details for the file project-euler-python-0.0.3.zip
.
File metadata
- Download URL: project-euler-python-0.0.3.zip
- Upload date:
- Size: 81.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf796cfa4fdb889bd7765c6b4bd37e2a782dc821fb64dcad38af07de6a614c1 |
|
MD5 | b3af42097377edd89285b10fbe7e7dd2 |
|
BLAKE2b-256 | 65ea284f1c2fc5868914b18462974410bef3758881392b7f4531bedef18d2763 |
File details
Details for the file project-euler-python-0.0.3.tar.gz
.
File metadata
- Download URL: project-euler-python-0.0.3.tar.gz
- Upload date:
- Size: 78.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a28a492f9c60d6fba013cd5ceff87aa5ccfea56e86202c5046fa824902b4e5 |
|
MD5 | 765861504dc7225b7c9b44581b9a576a |
|
BLAKE2b-256 | 5c3e618de00ac6048076ec2d273fccedd931908dd245c4f13f4a1cc7d543a45d |
File details
Details for the file project-euler-python-0.0.3.win-amd64.exe
.
File metadata
- Download URL: project-euler-python-0.0.3.win-amd64.exe
- Upload date:
- Size: 225.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fb211000b58602d6a5c06b85bf937b02e6bd80979e263fbfcf9424321ece457 |
|
MD5 | 6e20c2595af1c38ec82c5cf3d5ac66fd |
|
BLAKE2b-256 | 1101ed3b68e9ecf8ce4eea4644444a7fa8259f423ebccc6bf1f78b4e6d1d66fd |