Skip to content

Latest commit

 

History

History
101 lines (88 loc) · 3.12 KB

README.md

File metadata and controls

101 lines (88 loc) · 3.12 KB

Python Challenge

These are my notes and solutions for the Python Challenge

Goals

My primary goal is to practice more Python and learn about helpful modules. I am interested in learning best of breed modules and so I don't restrict myself to the batteries only approach. For instance, the requests package is used in places where urllib would have sufficed but I wanted to get better at using requests.

My secondary goals:

  • get better with Python virtual environments
  • learn PyLint
  • become natural in my PEP8 and PEP257 usage
  • learn Markdown syntax
  • get better with git

Install Requirements

My solution is based on Python 3.5 and uses third party packages. I also use Microsoft's Visual Studio 2015 and Python Tools for Visual Studio as my IDE but that environment is not required to follow my solutions. All you really need to do is install the 3rd party packages with pip and the requirements.txt file provided. When using 3rd party packages, it is recommended to use a virtual environment:

C:\dev\pc> python -m venv VENV
C:\dev\pc> VENV\Scripts\activate
(VENV) C:\dev\pc> pip install -r PythonChallenge\requirements.txt

SPOILERS AHEAD

The table below tracks my progress but also gives away the URLs needed to progress in the challenge. Please do not look ahead if you want to solve these challenges yourself.

  • ..........
  • .........
  • ........
  • .......
  • ......
  • .....
  • ....
  • ...
  • ..
  • .

Are you still looking? You've been warned...

  • ..........
  • .........
  • ........
  • .......
  • ......
  • .....
  • ....
  • ...
  • ..
  • .

This is a table of Level numbers and names. To gain access to a particular solution, you have to use the name of the next level, but substitute the 'pc' in the URL for 'pcc'. This will provide you with a link valid for 24 hours. For example, to get the solution for level 0 to open up, you would have to put the following URL in: http://www.pythonchallenge.com/pcc/def/map.html

Solution main page

Solution URLs take the form: http://wiki.pythonchallenge.com/index.php?title=Level0:Main_Page

  • Substitute the level number to get to the desired page.
Level Complete? Name
0 Y http://www.pythonchallenge.com/pc/def/0.html
1 Y http://www.pythonchallenge.com/pc/def/map.html
2 Y http://www.pythonchallenge.com/pc/def/ocr.html
3 Y http://www.pythonchallenge.com/pc/def/equality.html
4 Y http://www.pythonchallenge.com/pc/def/linkedlist.php
5 Y http://www.pythonchallenge.com/pc/def/peak.html
6 Y http://www.pythonchallenge.com/pc/def/channel.html
7 Y http://www.pythonchallenge.com/pc/def/oxygen.html
8 Y http://www.pythonchallenge.com/pc/def/integrity.html
9 Y http://www.pythonchallenge.com/pc/return/good.html
10 Y http://www.pythonchallenge.com/pc/return/bull.html
11 N http://www.pythonchallenge.com/pc/return/5808.html
12 N
13 N
14 N
15 N
16 N
17 N
18 N
19 N
20 N
21 N
22 N
23 N
24 N
25 N
26 N
27 N
28 N
29 N
30 N
31 N
32 N
33 N