• Skip to primary navigation
  • Skip to main content

DebKR

To the Stars

  • About
  • Blog
  • Contact

handle

Coding 101 (part 6)

Coding 101 (part 6)

16/04/2016 By debkr

spaghettiWhen strings become spaghetti:
Working with strings and files, particular when using the for {line} in {filehandle}: construct, allows us to do some cool manipulation of data, by finding, splitting and stripping the data into different chunks based on some repeating factor (such as a comma spearating each value in order), then sorting, counting and totalling those values through iterative loops. [Read more…] about Coding 101 (part 6)

Filed Under: Blog, Personalised Training Plan, Programming Tagged With: append(), category, code, coding101, data, element, find, function, handle, index, iteration, key/value pair, len(), length, list, loop, numeric, position, python, range, repeating, return, sorting, split(), startswith(), string, text, value, variable

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

  • Writing
  • Developing
  • Consulting