Posts
 
Reputation
Joined
Last Seen
Ranked #26
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
93% Quality Score
Upvotes Received
3K
Posts with Upvotes
2K
Upvoting Members
476
Downvotes Received
104
Posts with Downvotes
79
Downvoting Members
75
364 Commented Posts
~5.74M People Reached
About Me

Scientist

Interests
Astrophysics Sailing Hiking
PC Specs
Dell Inspiron 15 Windows81, Raspberry Pi Linux, MacOSX
Favorite Tags
c++ x 379
pepsi x 285
gui x 225
tkinter x 204
Member Avatar for vegaseat

Using PySide's QAbstractTableModel allows you to easily customize a widget like QTableView and make it more generic in its application. Here we use it to present solvent data in tabular form and sort each column content by simply clicking on the header. You can feed it any data as long …

Member Avatar for Mark_94
5
6K
Member Avatar for Lardmeister

What kind of places or situations to you find the people to be best friends with? Is there a good reason why one place works better than others? A small poll of suggestion is attached. I should have added Sports, the Internet and Travel to the poll.

Member Avatar for simhakidsden
0
112
Member Avatar for iConqueror

Do we really need accrediated education to effectivly have the expected experience and/or knowledge in a chosen field? For instance can we learn more from doing a course in programming than we can from learning ourselves? I see the benefits in both: **Accerdited course** - Have an experienced tutor - …

Member Avatar for simhakidsden
0
455
Member Avatar for Reverend Jim

Cop shows that include a 5 minute foot chase. This is usually the result of the cops shouting out a suspect's name from half a block away instead of waiting until they are within arm's reach. Inevitably the suspect runs into the path of a car or truck and the …

Member Avatar for Reverend Jim
9
3K
Member Avatar for Duki

Well I just started eating dinner and thought this would be a neat topic. Everyone knows we love to eat while on the computer; two birds, one chair. I'll start it off: Deli Sandwiches, macaroni salad, potato salad and a Pepsi :)

Member Avatar for Reverend Jim
22
17K
Member Avatar for vegaseat

Things don't have to be black and white all the time. Use a Windows API call to add some color to your text output.

Member Avatar for Dani
2
69K
Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for vegaseat

The Tkinter module comes with the normal Python installation. It allows you to create Python GUI programs for Windows, Linux or Unix on the Mac. In this snippet we put a GIF image (.gif) onto a form's canvas with just a few lines of code. Most of the lines are …

Member Avatar for CodeWorked
1
22K
Member Avatar for linux

Is it possible to write a full blown operating system (such as Linux) in Python? I mean writing a kernal, and then other applications that the kernal calls, without having Windows, Linux, UNIX, or Macintosh OS installed on your computer?

Member Avatar for Thulan
2
2K
Member Avatar for LastMitch

Hi I watch a few movies the past weekend, just to relaxed and not think about work. I saw a few movies. I saw: **The Raid Redemption** - The best action movie this year! It's a **Indonesian** action film. The director is **Welsh** but he speaks **Indonesian** and **English** and …

Member Avatar for LoanHensley
6
6K
Member Avatar for mouigher

I'm not very good at Python as you can tell from my earlier posts. I'm trying to write a payroll program that gets the input from the user of how many hours worked and the hourly rate and calculates the total wages for the week. It also has to figure …

Member Avatar for Minasa
0
3K
Member Avatar for joe82

Hello everyone, I am writting a code where result is not coming correct because I am not able to join 2 lines to make a single line. Please help me e.g my input file is: AATTCCGGTTT CCTTAACCCCC I want my code to first join them together as AATTCCGGTTTCCTTAACCCCC and then …

Member Avatar for vishakha_3
0
22K
Member Avatar for vegaseat

For those who are afraid of lycanthropes and full moons, here is a way to figure out the phase of the moon.

Member Avatar for Sichen
2
5K
Member Avatar for kingmu

If you run the following code (on Windows 7, Python 2.6.5), you should see a light border around a black square and some text below it. How do I get rid of that border? Thanks! [code=python] from Tkinter import * class App: def __init__(self, master): #background frame self.bgFrame = Frame(master, …

Member Avatar for Madnokof
0
10K
Member Avatar for vegaseat

What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() and then bounced within the confines of the windows form. For the DEV C++ crowd: Let me know if you …

Member Avatar for laheg
2
25K
Member Avatar for vegaseat

The printer seems to be a much ignored computer peripheral when it comes to programming. This little code snippet explores one way to send text to the default printer. It actually draws the text into an imaginary box on the paper. You can specify the upper left and lower right …

Member Avatar for Djcordeiro
2
4K
Member Avatar for tony75

Hi When I run main.py I got this error how can I fix it? I'm using https://github.com/PicciMario/iPhone-Backup-Analyzer-2 / Traceback (most recent call last): File "./main.py", line 44, in <module> from PySide import QtCore, QtGui ImportError: No module named PySide I appreciate your help

Member Avatar for Andreas_7
0
22K
Member Avatar for sravan953

Hey guys, I want to make a simple program which calculates speed, distance and time. This is the code I used: [CODE] a=input("1)Find speed\n2)Find distance\n3)Find time\n4)Quit\n") while a!=4: if a==1: d=input("\nEnter distance: ") t=input("Enter time: ") print ("Speed: "+str(d/t)+"\n") elif a==2: s=input("\nEnter speed: ") t=input("Enter time: ") print ("Distance :"+str(s*t)+"\n") …

Member Avatar for Smartfitness33
1
14K
Member Avatar for Thanh Phong

My experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to help me out I would greatly appreciate it! class ByteReader(object): """ Reads bytes from …

Member Avatar for GooGooseGooey
0
36K
Member Avatar for macroasm

Visual Tkinter is Python 2.6 GUI builder. Visual Python programming language for advanced Visual Python IDE that offers the possibility. As of December 2008 starting and writing fasting Editor. This software is using Scintilla editing component. <URL SNIPPED>

Member Avatar for Titus_1
-4
2K
Member Avatar for ZZMike

This is Python 3.4.2 The documentation says that s2 = s1.strip('a') will strip out all the 'a' in s1. When I run it, only the leftmost character - and only if it is 'a' - is stripped. The default s2 = s1.strip() takes out all whitespace. PS: I understand that …

Member Avatar for tinstaafl
0
13K
Member Avatar for Demetrius

[COLOR=Indigo]Hey I'm pretty new to C++. I'm taking a class on it now but I don't know how to make sounds in C++... I've done QBasic so I have a little programming background. I'm right now thinking of what to do for a program, and it largely depends on if …

Member Avatar for k191376
0
15K
Member Avatar for miltocke

Hello DaniWeb! I am interested in learning computer programming, but have no previous experience. I've been told that Python is a good place to start, so I decided to give it a whirl. If anyone can help point me toward resources geared for the absolute beginner (learning both programming concepts …

Member Avatar for Raunikkapoor
0
236
Member Avatar for Crazyscript77

Hi all, I was recently having a look at the pywin32 module and found a multitude of approaches on how to find the color of a pixel given its coordinates, but was wondering if there was a way to find the coordinate of a pixel given its particular color, either …

Member Avatar for spam_1
0
4K
Member Avatar for Reverend Jim

I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start. Speedy Gonzales was banned by the Cartoon Network for being an offensive stereotype, only to be returned after mass protest by the …

Member Avatar for John_smith
10
21K
Member Avatar for The Dude

A dentist gets to work and someone is blocking his parking space. The dentist flips out,attempts to move the dudes car,punches the drivers sister,and assaults a camera man. [url]http://www.hyggestedet.dk/playersjove.asp?movie=crazy-dentist-road-rage.wmv&id=5709[/url] He must have been in a bad mood that day!

Member Avatar for 1987davids
2
536
Member Avatar for piyush gandhi
Member Avatar for KarmaHunter
-2
11K
Member Avatar for vegaseat
Member Avatar for paddy3118
1
2K
Member Avatar for dseto200

Listed below is the original word jumble python program. According to the exercise i'm supposed to add hints see next thread on my modified program however it doesn't work correctly. [code=python] # Word Jumble # # The computer picks a random word then "jumbles" it # The player has to …

Member Avatar for Akash_22
1
7K
Member Avatar for vegaseat

This simple isprime(number) function checks if the given integer number is a prime number and returns True or False. The function makes sure that the number is a positive integer, and that 1 is not considered a prime number. To find out if an integer n is odd one can …

Member Avatar for amir_19
3
24K