Re: [Tutor] Trouble creating a pygame.font.SysFont, was Re: (no subject)

2014-12-01 Thread William Becerra
It seems I forgot to write pygame.init() Thank you guys for your time it is much appreciated.  On Saturday, 29 November 2014, 15:31, Peter Otten <__pete...@web.de> wrote: William wrote: Hello William; please provide a meaningful subject line so that your readers get a hint whether

[Tutor] Sets Python

2014-12-01 Thread niyanaxx95
I am not understanding how I am supposed to do the highlighted things on the problem statement. If someone could please direct me on the steps to go about doing what is highlighted. Have do I read each command, by making the program read each line?? How do I add the invalid commands into a set?

Re: [Tutor] Sets Python

2014-12-01 Thread Alan Gauld
On 01/12/14 01:01, niyanax...@gmail.com wrote: Have do I read each command, by making the program read each line?? Yes, each line of the file contains one command. read the file line by line. Do you know how to do that? How do I add the invalid commands into a set? Do you know how to creat

Re: [Tutor] Sets PythonTutor Digest, Vol 130, Issue 1

2014-12-01 Thread Dino Bektešević
; > > > # Start the program. > main() > > > > What Happens When Ran: > > 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)] > Python Type "help", "copyright", "credits" or "license" for more information

Re: [Tutor] Pygame fonts not been initialised

2014-12-01 Thread fabu desay
If you still don't have a solution I suggest using the default font for pygame freesansbold.tiff it is located in the python library files just search for it in the python-pygame directory. I think your code fails because it does not pick the font you wanted hence not initialised. Below is a sampl