• Skip to primary navigation
  • Skip to main content

DebKR

To the Stars

  • About
  • Blog
  • Contact

rstrip()

Coding 101 (part 5)

Coding 101 (part 5)

11/04/2016 By debkr

coding-101-data-structuresThis post follows on from earlier Coding 101 posts and records my responses and learnings from the highly-recommended Python programming book and Coursera specialisation by Charles Severance (see References below).

Opening data files:
In all our previous examples we used data as a constant (i.e. hard-coded into the program some way) or we prompted the user to enter some data which was then manipulated by the program in some way. We want to be able to read data from a variety of sources though – either from files, or from the web – and we know these are going to be much larger data sources, so we’ll need to be able to access and save files on our hard drive somewhere. [Read more…] about Coding 101 (part 5)

Filed Under: Blog, Personalised Training Plan, Programming Tagged With: coding101, count, data, email, file, filename, function, input, line, loop, manipulate, mode, open, print, program, prompt, python, read, reading, rstrip(), searching, startswith(), string, strip, text, type, user

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

  • Writing
  • Developing
  • Consulting