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
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
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
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
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
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
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
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
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:
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