[Tutor] Class

2017-06-21 Thread Rex Florian via Tutor
Hello, Below is a class I am using to comprehend how class works. The code came from tutorialspoint.com and executes correctly but I do not understand why it works. The original example defined just v1 and v2. I decided to experiment and instantiated v3. The executed the print statement yiel

[Tutor] fractions from Fractions

2018-02-05 Thread Rex Florian via Tutor
I have written a program to generate the array that describes the finite simple continued fraction from any fractional input. The input is any fraction, num/den, and the output is the array. The program works and I am happy with the work. The problem is one of the PyCharm problems and when I

[Tutor] running a .py file from the comand line

2018-04-02 Thread Rex Florian via Tutor
Hello, I am running Python 3.6 in a Window 7 environment. I have a python script that I am trying to run from the command line. The script is from a Learning to Program file demonstrating event driven programming. I have copied it to a file named Ascii Keys.py into my user directory c:\Users