Introduction to Programming Python and C++

Tag Archives: #TC1014


The ECOS are an important part of the campus because it is the time where the student grade our teachers, it’s like a change of roles, now we help the campus to improve on every aspect we see fit

Mastery 30: Files

In terms of files external files to python, such as dat, text, cvs… files, the command that you use to open them is……………….. OPEN!!!! open(“filename.extension”,”r or w”) You put r if you are going to read the file You put w if you want to … Continúa leyendo Mastery 30: Files

#WSQ17-The Movies

This WSQ is the toughest one, the most difficult part about it was, as always, the syntax that python uses for dictionaries. I used a video for Lynda and a video in youtube (from the same user I have already post) for doing this WSQ. Here’s the code in Atom: Here’s the code in Cygwin: […]

Mastery08: The Zen of Python

The zen of python is a set of 19 principles that rule the design of the programming language python 1.- Beautiful is better than ugly This basically means the fact that python is, unlike others, a language restricted by identations and arrangements; in python, identation … Continúa leyendo Mastery08: The Zen of Python

Masteries 29,9: Validate what the user inputs

Here I will show show an easy way to validate what the user inputs specially what type of data is typing. That means that you can restrict the user to type something no longer than 10 characters, or to type only an integer or a … Continúa leyendo Masteries 29,9: Validate what the user inputs

WSQ 16 – Cars

For this WSQ I used the book to know how to read files. Here’s the working program. Here’s the source code and my GitHub repository.  

WSQ15 – Images

For this WSQ I used the resources Ken gave us in the TC1014 page. Here’s the working program. It’s really long because I gave the user options. Here’s the image before and after Here’s the source code and my GitHub repository.

Bonus Quiz


Doing this WSQ was more or less easy for me, the difficult part for me was to know the condition of  the If. I used help from the lynda webpage the course python 3 essentials. Here’s the code in Atom: Here’s the code in Cygwin: Here’s the code in Github:

WSQ16: Opening files and reading them

The WSQ16 is about doing a program that reads a file abaut cars and it’s specifications. The file is read such as the first 14 characters are the model o f the car, the character from 53 to 54, the miles per gallon in city, … Continúa leyendo WSQ16: Opening files and reading them

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).