• Member Avatar for vegaseat
    vegaseat

    Replied To a Post in we lose a good and nice man paul walker

    A Porsche is made for speed, not all drivers can handle it. I feel sorry for Mister Walker since he was the innocent passenger.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Memorable Quotations

    "For Evil belongs to the class of the unlimited ... and Good to that of the limited." ... Aristotle
  • Member Avatar for vegaseat
    vegaseat

    Created Play wave sound files with PyGame

    A simple code example on how to play wave sound files with the Python module PyGame.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Problem

    You got to give us more detsails. Not everyone is familiar with this game.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Creating a flashcard-like quiz game (Python)

    Something like this will do, notice that the dictionary keys (the questions) have to be unique strings ... import pprint # a test list of (question, answerA, answerB, answerC, correct_letter) …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for tkinter images

    Why is this not working, no errors? photo exists in correct position... gui doesnt alwyas show up, image doesnt. Using python 3 from tkinter import * from random import * …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Qt GUI in Python

    Hi there, I am a newbie in programming. Python is my choice. because it is easy to learn. But the Tkinter GUI making is horiible. I don't like to write …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Help with Opening GIF Images by Clicking Buttons on Horoscope Program

    I need help with the button action for this code. When you click on the button, a new window should open with the GIF image of the horoscope sign. The …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in how does while loop works?

    Am I going blind? I can't see a while loop in your code. Also, you can add a few "test prints" to help you debug this.
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Displaying Images in QListView with same thumbnail size keeping aspect rati

    What version are you using? QVariant() hasn't been around for ages!
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in matching

    You can put in a few test prints (also use type()) to help you debug your code.
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for help with improving the code, using the python graphic.py (John Zelle)

    from graphics import * def patchdrawer(): win = GraphWin("Patch drawer", 100, 100) for x in range(0, 5): for y in range(1, 6): p1 = Point(x * 20, (y - 1) …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for tkinter buttons

    is there a way of in a loop automatically setting different commands to different buttons as they are created (automatically created via loops) or is there a way of setting …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for convert json string to json dict

    I am getting output as json string with the following code. But I require it as JSON dict without leading and trailing quotes. How can I do that? It seems …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Python Graphics

    I'm trying to represent my data using a bar graph, the data being displayed is goodVotes, neutralVotes and badVotes on the x-axis for each of my pieces of data (records …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in tkinter images

    With time.sleep() you need to tell Tkinter to update the root/label ... ''' display a GIF image on a Tkinter label at random positions ''' import time import random as …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for Need help writing a Python script that will input a sentence and count the

    def main(): p =input("Enter your sentence: ") words = p.split() wordCount = len(words) print ("The word count is:", wordCount) main() I get the read out: Enter your sentence: Hello world …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in Need help writing a Python script that will input a sentence and count the

    Actually Python2 has an input() function, but it is supposed to be for numeric input only. Python3 has changed that to string input and done away with raw_input().
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for tkinter buttons

    is there a way of in a loop automatically setting different commands to different buttons as they are created (automatically created via loops) or is there a way of setting …
  • Member Avatar for vegaseat
    vegaseat

    Marked Solved Status for python code for parsing command prompt data

    hi, can you please help me with a sample python code to retrive data from command prompt which appears after execution of some commanad for eg: ./vershion.sh gives ouput as …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in time.sleep() in for loop using tkinter

    Actually you can use time.sleep() with Tkinter but you have to use update() too ... ''' tk_image_slideshow_sleep.py create a very simple Tkinter image slide show using time.sleep() and root.update() tested …
  • Member Avatar for vegaseat
    vegaseat

    Replied To a Post in time.sleep() in for loop using tkinter

    You can also take a quick look at ... http://www.daniweb.com/software-development/python/code/468841/tkinter-image-slide-show-python
  • Member Avatar for vegaseat
    vegaseat

    Created Tkinter Image Slide Show (Python)

    Shows how to create a basic slide show with the Python Tkinter GUI toolkit.

The End.