-
Replied To a Post in What happened to Pyglet?
Thanks, I got it to go! ''' pyg_Sound1.py playing sound files using pyglet download and install pyglet-1.2alpha1.win32-py2.7.exe from http://www.lfd.uci.edu/~gohlke/pythonlibs/ avbin.dll is included so pyglet can play .wav .mp3 .ogg sound … -
Replied To a Post in Pyserial Error
Python is case sensitive, so try: ser = serial.Serial("COM5", 9600) -
Created What happened to Pyglet?
There used to be a Python module called pyglet that allowed graphics and sound. I can't find it anywhere. -
Replied To a Post in cmplex python problem
Couldn't you simply do this: digits = '234' size = len(digits) sum_odd = 0 for ix in range(1, size, 2): sum_odd += int(digits[ix]) prod_even = 1 for ix in range(0, … -
Marked Solved Status for Break up a sequence into groups of 3 elements
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the … -
Replied To a Post in Break up a sequence into groups of 3 elements
Thank y'all! I guess I will go with the slicing example, since I don't need to pad. -
Edited Break up a sequence into groups of 3 elements
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the … -
Edited Break up a sequence into groups of 3 elements
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the … -
Created Break up a sequence into groups of 3 elements
I would like to break up a list into sublists of 3 elements each. I have this code, but it will give an index error when the length of the … -
Replied To a Post in Random Facts
The American News Media can only handle three major events at a time. -
Replied To a Post in Memorable Quotations
"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." --- Albert Einstein -
Replied To a Post in Memorable Quotations
"We are asleep until we fall in Love!" --- Leo Tolstoy -
Replied To a Post in Takes 3 Arguments But 1 is Given.
Here is a typical example: def funk(arg1, arg2, arg3): pass arg1 = 77 # call function with only one argument funk(arg1) ''' error --> Traceback (most recent call last): File … -
Replied To a Post in Python errors
... not fixed and running properly?? -
Replied To a Post in how to read dictionary names from a text file and display in a text widget
I think you highlightthe code and press the Code button on the grey bar on top. -
Replied To a Post in IDE
At this time PyScripter will not work with Python34, too bad! -
Replied To a Post in IDE
Looks like I have to bring up IDLE or IDLEX for each version of Python. -
Replied To a Post in IDE
Ninja looks great, but again fails the input test, at least on a Windoze machine. The output console does not show the prompt or what you type in until Enter … -
Replied To a Post in IDE
Since Python has this miserable version two-three mess right now, it would be nice to have an IDE that let's the user select the version to run. Editra that comes … -
Replied To a Post in Portable Python (Python on a flash drive)
The newer Portable Python 2.7.6.1 package contains the following applications/libraries: PyScripter v2.5.3 PyCharm Community Edition 3.1.2 (Thanks to cebik) NymPy 1.8.1 SciPy 0.13.3 Matplotlib 1.3.1 PyWin32 218 Django 1.6.2 PIL … -
Replied To a Post in Would you like to live for 1000 years?
Old folks are just a drag on society. Putting up with them with about 25 years after retirement is generous enough. Making this 925 years would be insane. They are … -
Replied To a Post in New Life after Death Theories
In my book the only thing that lives on is meaningful communication you made with people that survive you. -
Replied To a Post in Christmas is coming
Well, it is time to plan for Christmas 2014! -
Replied To a Post in There is an elephant on the loo!
The UK is starting to employ electric commuter buses that are charged at each route end station through an inductive connection in the ground they park on. Each charge takes … -
Replied To a Post in Tkinter GUI help please
I would use this approach, use whatever .gif file you have, sorry this is from my iPad and it does not work well with DaniWeb commands: ,,, display an image … -
Replied To a Post in Finding the largest and smallest numbers in python
Majid, please do not hijack a thread with an unrelated question! -
Replied To a Post in using loops in python for a dice simulator
The way it is coded it should work with Python2 or Python3. -
Began Watching using loops in python for a dice simulator
how to create a loop that will make sure that my dice can be rolled as many times as required? here's my code as a start off. import random dice=random.randrange(1,5) … -
Replied To a Post in Inputs for python
Which version of Python? -
Replied To a Post in Christmas is coming
Santa has no religious meaning. He is a jolly soul that represents gift giving, flying sleds and obesity. Let's name the whole thing Santaday. -
Replied To a Post in Tkinter Issue with Radio Buttons
You might have set host initially to something that makes sense. -
Replied To a Post in Tkinter Image Slide Show (Python)
Works nicely! -
Replied To a Post in Starting a project in python (Game and quiz)
Looks like you managed to put 2 spaces ahead of of line 6. Python does not like that!
The End.