• Member Avatar for sneekula
    sneekula

    Replied To a Post in Six degrees of Kevin Bacon: python

    ... and your problem is?
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in So much info.. what is right?what is wrong?

    "If you lie often enough, it becomes the truth." -- Karl Rove (?) Has it's origins here: "A lie told often enough becomes the truth." -- Vladimir Lenin
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Rotating a sprite using pygame

    Maybe it's similar to the strange effects I encountered here: # exploring module pygame # draw a white ellipse on a black screen and move it # note: rect behaves …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in The Internet of Things

    The British spy agency the Government Communications Headquarters (GCHQ) has used a sophistcated version of the Regin virus to infect the Belgian telecommunications company Belgacom. By targeting engineers through a …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in What are you eating/drinking right now?

    Peppermint tea with honey.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Jokes

    Boy in a letter to Santa: "Send me a baby brother." Santa in a letter to boy: "Send me your mother."
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in So much info.. what is right?what is wrong?

    News is often falsified on government orders, and the media seems to go along with it. That's too bad since a working democracy needs well informed, not missinformed, voters.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Rotating a sprite using pygame

    Did you look at http://cs.iupui.edu/~aharris/pygame/ch08/ under rotate.py and drawBounds.py
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Rotating a sprite using pygame

    Check: http://forums.devshed.com/python-programming-11/rotating-sprite-pygame-965435.html
  • Member Avatar for sneekula
    sneekula

    Created Animate Shapes (Tkinter)

    Draw a group of shapes on the Tkinter GUI toolkit canvas and animate the group using the common tag names.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in GUI fails to load in tkinter

    From your error message I assume you are using the 32 bit version of Python 3.4
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in GUI fails to load in tkinter

    From http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil download the Python version appropriate installer Pillow‑2.6.1.win32‑py3.4.exe Run this installer and see if the new installation fixes your problem.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in How To Print Out A List Of Strings ?

    You can try: pre = "21:20:01 T:5796 NOTICE:" for item in programList: print("{} {}".format(pre, item))
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Create the algorithm , help please

    A strictly C++ example for numeric input: // enter a price of 0.0 or higher (positive value) #include <iostream> #include <limits> int main() { float price = 0.0; while ((std::cout …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Create the algorithm , help please

    Numeric input example (works with C or C++): // a function to clean up the input of a real number #include <stdio.h> // in/out function header #include <ctype.h> // for …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Algorithm help please

    You can use input() for both versions of Python: # Python2 uses raw_input() for strings # Python3 uses input() for strings # ---------------------------------------------- # add these few lines near the …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Access the clipboard via Tkinter

    I simply searched C:/Python27/Lib/lib-tk/Tkinter.py or C:/Python33/Lib/tkinter/__init__.py for **clipboard** it's all fairly well documented I actually needed to use it with a Tkinter program, so it came in handy.
  • Member Avatar for sneekula
    sneekula

    Edited Access the clipboard via Tkinter

    You can accesss the clipboard simply by using the Tkinter GUI toolkit that comes with your Python installation.
  • Member Avatar for sneekula
    sneekula

    Created Access the clipboard via Tkinter

    You can accesss the clipboard simply by using the Tkinter GUI toolkit that comes with your Python installation.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Jokes

    How do you get a sweet little 80-year-old lady to say the F word? Get another sweet little 80-year-old lady to yell “BINGO!”
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Memorable Quotations

    "The scientific theory I like best is that the rings of Saturn are composed entirely of lost airline luggage." -- Mark Russell
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Memorable Quotations

    "Always borrow money from a pessimist. He won’t expect it back." -- Oscar Wilde
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Random Facts

    According to nonprofitvote.org the voting turnout in the US is dependent on income, residency and age. The turnout is higher with more income, longer residency and older age.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in i just ordered a RR placement screen for my hp

    I have seen that brand at Walmart.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Create a password you can remember

    Correctly typing in a 20 character jumbled password every time you turn on your computer, or want to access an account would be a royal pain. Most accounts kick you …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Open office vs small cabinets

    I like those small cubicles, you can decorate them to your likes.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Reasons You Get Down-Voted

    In the Python forum you get down-votes because your solution works in version Python3 and not in the old Python2 version. What a mess that is.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in How to move circles in python

    This should give you a hint: https://www.daniweb.com/software-development/python/threads/191210/python-gui-programming/12#post2131887
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Projects for the Beginner

    I guess doing the exercises in an online book like: "Learn Python The Hard Way" from: http://learnpythonthehardway.org/book/ could be a project.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Python GUI Programming

    Explore the Tkinter GUI toolkit to draw a circle and move it with the arrow keys: # use a Tkinter canvas to draw a circle, move it with the arrow …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Ancient Dragon

    Such a nice person. RIP
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in What vehicle do you drive?

    I could go for Rheinmetall Boxer. Just waiting until the hybrid comes out.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in There is an elephant on the loo!

    Maybe Microsoft should think about Vindauga10.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in There is an elephant on the loo!

    The English word **window** originates from the Old Norse 'vindauga', from 'vindr – wind' and 'auga – eye'.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in wxPython Boxsizer

    Try this: ''' wxBoxSizer101.py button1 at upper right corner button2 at lower right corner ''' import wx class MyFrame(wx.Frame): def __init__(self, parent, mytitle, mysize): wx.Frame.__init__(self, parent, wx.ID_ANY, mytitle, size=mysize) self.create_widgets() …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in What vehicle do you drive?

    Toyota gives a factory warranty of 8 years for the Prius nickel hydride battery pack. The replacement past this period will cost you about $3,000. So, watch out when you …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in There is an elephant on the loo!

    A Toyota Prius battery, contains 168 1.2-Volt nickel-metal-hydride cells, which contain a total of 1.6 kilowatt-hours of energy. Its peak power output is 27 kilowatts, or about 36 horsepower.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in What vehicle do you drive?

    Toyota had an awful lot of recalls lately. I almost got a used Prius until I read what a battery replacement would cost.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Windows 10 Tech Preview

    Maybe the improvement with Windows10 will be in security.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in How do I write a program in Python for this problem?

    Help is here: http://web.chem.ucsb.edu/~kalju/MonteCarlo_3.html
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in How to replace only 1d values in 2d array after filter using numpy in pytho

    I would just temporarily convert back to a Python list: import numpy as np x = np.array([['t1',10,20],['t2',11,22],['t2',12,23], ['t3',21,32]]) print(x) # test # convert temporarily to Python list again mylist = …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in PyEditor1.2

    There is also an error in line 12. Since you are not running Python3 but Python2 tkinter should be Tkinter
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in The sum of digits of a number

    Folks, this is the C forum.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Problem with cx_freeze, PyQt4 and Python 3

    **No module named pk_DOMI** means that cx_Freeze can't find the mnodule, or you don't have it. BTW, if you really want help don't hijack old solved posts. Most helpful folks …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in What vehicle do you drive?

    My 1997 Dodge Ram pickup truck still runs pretty well, but the rust is getting to it.
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Rotate Text (PySide)

    Works well, wonder why you need function translate()?
  • Member Avatar for sneekula
    sneekula

    Created Using cx_freeze to convert a tkinter program to an executable

    I have a tkinter program like the one below (for example) and want to create an executable file using module cx_freeze. I am using Python33 and Windows7. # Tk_circle2.py # …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Python GUI Programming

    Explore the Tkinter GUI toolkit to draw a circle: # draw a circle with given center (x,y) and radius # tkinter normally needs a specified square try: # Python2 import …
  • Member Avatar for sneekula
    sneekula

    Replied To a Post in Pyserial Error

    Strange, pyserial has a class Serial() Did you accidentally save your code file as serial.py?
  • Member Avatar for sneekula
    sneekula

    Marked Solved Status for What happened to Pyglet?

    There used to be a Python module called pyglet that allowed graphics and sound. I can't find it anywhere.

The End.