• Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Pyserial Error

    Python is case sensitive, so try: ser = serial.Serial("COM5", 9600)
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    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, …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Random Facts

    The American News Media can only handle three major events at a time.
  • Member Avatar for sneekula
    sneekula

    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
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Memorable Quotations

    "We are asleep until we fall in Love!" --- Leo Tolstoy
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Python errors

    ... not fixed and running properly??
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in IDE

    At this time PyScripter will not work with Python34, too bad!
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in IDE

    Looks like I have to bring up IDLE or IDLEX for each version of Python.
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Christmas is coming

    Well, it is time to plan for Christmas 2014!
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    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 …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Finding the largest and smallest numbers in python

    Majid, please do not hijack a thread with an unrelated question!
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    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) …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Inputs for python

    Which version of Python?
  • Member Avatar for sneekula
    sneekula

    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.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Tkinter Issue with Radio Buttons

    You might have set host initially to something that makes sense.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Tkinter Image Slide Show (Python)

    Works nicely!
  • Member Avatar for sneekula
    sneekula

    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.