• Skip to primary navigation
  • Skip to main content

DebKR

To the Stars

  • About
  • Blog
  • Contact

tuple

Simple Tagging Engine (updated using tuples)

Simple Tagging Engine (updated using tuples)

07/05/2016 By debkr

simple-python-tagging-engineMy simple Python Tagging Engine has now been updated to incorporate learnings about tuples, and incorporates simplified ways of sorting and returning counted values from a dictionary. Code and simple documentation available on GitHub: https://github.com/debkr/blog_tagger.

 

Filed Under: Blog, Personalised Training Plan, Programming, Programming Projects Tagged With: coding101, data, database, keywords, programming, tagging engine, tuple

Coding 101 (part 8)

Coding 101 (part 8)

03/05/2016 By debkr

A quick recap:
We’re cracking on well here, going through the Python course on Coursera as taught by Dr. Chuck (see footnotes for more info and links). We’ve looked a strings and how we can slice, dice and extract data from them using find and split functions. We’ve gone on to learn about files, and proceeded to open and read data from files, both as strings and as lists. We’ve been able to index lists using integer values from zero upwards. Then we’ve gone on to look at dictionaries, which are mini two-field databases of key/value pairs referenced using their keys. And all throughout we’ve been learning about and using various kinds of loops or iterations, conditional statements, and functions (both built-in and defined in-program).

Monty_Python,_And_Now_for_Something_Completely_Different_(1971)And now for something completely different:
All these things were familiar to me from programming in school and as a maths undergrad (albeit a little rusty!). But now we come on to something completely different, something I hadn’t heard of before: tuples. I’ll call tuples the big brother of lists as they’re very similar to lists: they’re basically another type of collection of things. [Read more…] about Coding 101 (part 8)

Filed Under: Blog, Personalised Training Plan, Programming Tagged With: append(), argument, coding101, count, dictionary, function, items(), key/value pair, list, loop, order, python, sort, tuple

Copyright © 2016–2025 · Powered by WordPress On Genesis Framework · Log in

  • Writing
  • Developing
  • Consulting