Re: [Tutor] Mutable objects as dictionary keys: Accessing , Sorting and Using dictionary

2019-04-18 Thread Steven D'Aprano
On Thu, Apr 18, 2019 at 11:18:02AM -0400, Pushkar vaity wrote: > Hi, > > I am using Python 3.7 with anaconda install in PyCharm > I am trying to traverse some directories using the os module and grab some > tcl procedures and put the proc names in python dictionary as keys. Values > are some

Re: [Tutor] pygame help please

2019-04-18 Thread Alan Gauld via Tutor
On 18/04/2019 15:16, fatima butt wrote: > however the following error is coming: > Traceback (most recent call last): > File "C:\Users\ammah\OneDrive\Documents\project1\myCode.py.py", line 304, > in > draw_lives(screen,WIDTH - 100,5, player.lives, player_mini_img) > File

[Tutor] Mutable objects as dictionary keys: Accessing , Sorting and Using dictionary

2019-04-18 Thread Pushkar vaity
Hi, I am using Python 3.7 with anaconda install in PyCharm I am trying to traverse some directories using the os module and grab some tcl procedures and put the proc names in python dictionary as keys. Values are some other info related to the proc. Problem: procs found in the directories can

Re: [Tutor] Help

2019-04-18 Thread fatima butt
Hi Peter, Thanks soo much ...Its solved...have a nice day ! On Wed, 17 Apr 2019 at 22:48, Peter Otten <__pete...@web.de> wrote: > fatima butt wrote: > > > hi Peter, > > hope you are well.I am getting the following error when i am running the > > pygame shell script.I am using Acer SWIFT

[Tutor] pygame help please

2019-04-18 Thread fatima butt
Hi, I am trying to add lives to my pygame.I am using acer SWIFT computer.I am using 3.7.3 python version and pygame 1.9.5 however the following error is coming: Traceback (most recent call last): File "C:\Users\ammah\OneDrive\Documents\project1\myCode.py.py", line 304, in