![]() ![]() |
| |||||||||
| This page removed for FERPA compliance | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| str converts any given input into a string. -Student1680 |
| either would work. remember when you "set it before" you're just putting that name into a variable to be used later. Student1919 |
| Almost. REMOVED the direction the text is moving again. Try plugging in values to see what you get for x and y. -Student2042 |
| The line actually reads... num = str(frame) but look at this line... writePictureTo(canvas, directory + '//frame' + num + '.jpg') and think about what the variable 'num' is right there. The line under that is an if statement that is just testing a condition. If the LHS is equal to the RHS, then it executes the code that is indented underneath it, if not, it skips it and moves on. -Student2042 |
| REMOVEDw else would Python know which picture to write to the file? Colin Potts |
also "What do the frame names look like?" is it 1-9 frame0#.jpg and frame 10> frame#.jpg?