Introduction to Programming Python and C++

Author Archives: charliegdrummer

ECOS

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

Masteries 13 and 14: Modules

Modules, what the heck are those things? In python, modules are independent files that contain functions. These functions can be called in the file you are importing the modules. It is an easy way to keep functions outside your files, and it’s very useful when … Continúa leyendo Masteries 13 and 14: Modules

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

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

WSQ14: e number

The natural number represented by the letter e; make it posible to calculate, at leats with an approximation desired; that is what the WSQ14 asks me to do. So what I have to do is to make a program that calculates the value of e … Continúa leyendo WSQ14: e number

WSQ13: Those Babylonians are crazy

The babylonian method to get the sqare root of any number, yes, the one that takes an estimation, usually dividing the number by two, and then it takes the original number and add it to the estimation, then the result is divided by two, and … Continúa leyendo WSQ13: Those Babylonians are crazy

Mastery 3, 4:

In this post you will learn how to create an account for GitHub, Twitter, and WordPress; and how to upload your work there. BLOG For the blog I use wordpress; it is really easy to create a blog. As soon as you get to the … Continúa leyendo Mastery 3, 4:

Mastery 1,2: IDLE Graphic User Interface Python

Here is a post that explains how to create and tun a python file from the GUI of Python The first thing you have to do is to run the GUI of python; when the screen shows up, you can create a new project by … Continúa leyendo Mastery 1,2: IDLE Graphic User Interface Python

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).