-
Replied To a Post in Isaac Newtons theory about the earth falling to the sun.
The sun, as it dies, will expand and engulf the Earth. So we can stay put and wait. -
Replied To a Post in How many hours do you spend on computers all day.
Not counting reading the financial and international news on my iPad, I would say 3 to 4 hours. -
Replied To a Post in There is an elephant on the loo!
The government of Zimbabwe is printing money even faster than the US government. They recently issued a 100 trillion Dollar note. Go ahead and be a trillionair, as you can … -
Replied To a Post in Memorable Quotations
"There are only two powers in the world, saber and mind; at the end, saber is always defeated by mind" ... Napoleon Bonaparte (1769–1821) -
Replied To a Post in Memorable Quotations
“I think it’s wrong that the game Monopoly is sold by only one company” ... Stephen Wright -
Replied To a Post in Which Cloud Storage do you like?
I store all my code samples on DropBox, this way it's synchronized between my desktop and my two notebooks. Using too many different clouds can be a pain, since they … -
Replied To a Post in Hacking Lady Gaga's iPad
Trusting a Twitter feed? Absurd notion! -
Replied To a Post in Do Your Own Homework
Potential freeloaders are all over the place. Nearly 50% of the US population now receives government handouts in one form or another. Food stamps/cards are a modern day soupkitchen in … -
Edited Which Cloud Storage do you like?
Google Drive, Dropbox, iCloud, and OneDrive are all available to try for free (with limited storage). So far I have used Dropbox and OneDrieve and like Dropbox since it handles … -
Created Which Cloud Storage do you like?
Google Drive, Dropbox, iCloud, and OneDrive are all available to try for free (with limited storage). So far I have used Dropbox and OneDrieve and like Dropbox since it handles … -
Replied To a Post in Starting Python
For a listing of all installled modules use ... ''' modules_pip101.py list all your installed modules and version numbers Python 2.7.9 (and later) and Python 3.4 (and later) include pip … -
Replied To a Post in No module named PySide
If you have pip installed, check with ... ''' modules_pip101.py list all the installed modules ''' import pip for item in pip.get_installed_distributions(): print(item) -
Replied To a Post in looking for random image generator PIL script
Also take a look at Moire patterns ... https://www.daniweb.com/software-development/python/code/489876/moire-patterns-using-circles-tkinter-python -
Created Moire patterns using circles (Tkinter, Python)
If you draw a series of close spaced shapes your eyes get fooled to see Moire patterns. Here is one example of this. -
Replied To a Post in Open Source Project Ideas
https://www.daniweb.com/software-development/python/threads/489298/new-idle -
Replied To a Post in HELP PLZ
Can you give us an example what the plate should look like? -
Replied To a Post in python timer
Change line 9 to ... `for t in range(0, 1200+1):` -
Replied To a Post in Google Translate/Bing Translator in C
Doing this with a low level language like C could most assuredly be a challenge. If you use a higher level language like Java or even Python, then this project … -
Replied To a Post in C or C++
C++ has the Standard Template Library (STL) that makes your life so much easier when it comes to strings and vectors/arrays. See ... https://www.sgi.com/tech/stl/stl_introduction.html Also take a wiff of ... … -
Replied To a Post in How can I print name of files with the same month of creation?
Hint ... // dirlist.c // display information about files // works with Pelles C and CodeBlocks #include <stdio.h> #include <io.h> // _findfirst() #include <time.h> // ctime() char *get_month(char *time_created); int … -
Replied To a Post in Response we should not make, to questions they should not ask
"You put ten monkeys on computers and they will eventually come with a better program than you did!" "It will only take ten minutes for them to come up with … -
Replied To a Post in Is an asthma air purifier good to go to get rid of smoke ?
A home water fall might help, add a little vinegar to the water. Nicotine is a base. We used to have carbon monoxide and cyanide detectors in the lab. They … -
Replied To a Post in How to build a template
Make your own unique/creative templates and someone will copy them. -
Replied To a Post in What are you eating/drinking right now?
Cioppino seafood stew, fresh baked bread and a glass of good white wine. -
Edited Star with 6 points (Python/Turtle)
Just in time for the season, a star. (Playing with my grandson on the Raspberry Pi computer) -
Edited Star with 6 points (Python/Turtle)
Just in time for the season, a star. (Playing with my grandson on the Raspberry Pi computer) -
Created Star with 6 points (Python/Turtle)
Just in time for the season, a star. (Playing with my grandson on the Raspberry Pi computer) -
Replied To a Post in Python 2 and 3
On Windows you can use these IDEs to switch between Python2 and Python3 ... Ninja PyCharm Community edition Actually PyCharm comes with Portable Python 27 www.portablepython.com -
Replied To a Post in looking for random image generator PIL script
GUI toolkits like Tkinter can be used to draw strange three dimensional objects. Just play with it ... ''' tk_canvas_multi_circles101.py draw a series of circles to form 3D objects ''' … -
Replied To a Post in removing line numbers
Another option ... # remove_line_numbers102.py # copied from # http://personal.denison.edu/~krone/cs173/files/PythontoC++.pdf # page 11 s = ''' 1 #include <iostream> 2 using namespace std; 3 4 int gcd(int u, int v) … -
Replied To a Post in Python 2 and 3
I usually keep Python2 and Python3 on my Windows machine and you can do the same on a Linux computer. On Windows the trick is to tell your IDE which … -
Marked Solved Status for Help pls its urgent, new to programming
Hello Guys, its my first few months on progamming, love the course but things are abit confusing at the moment, i have this assignment below, pls i will appreciate if … -
Replied To a Post in Things I hate about TV shows
Endless sequences of "Housewives ...", those things are just too real. -
Replied To a Post in What is the last place you visited?
Virginia City in Nevada. Pretty wild area, home of the Bonanza western. -
Replied To a Post in What is your dream vacation?
I love action, so it would be Las Vegas or New York City. -
Replied To a Post in Random Facts
Prison Population Rankings ... 1 United States of America 2 228 424 2 China 1 701 344 3 Russian Federation 672 100 4 Brazil 581 507 5 India 411 992 … -
Replied To a Post in Jokes
Fact: add two even numbers together and you get an even number add two odd numbers together and you get an even number the only way to get an odd … -
Replied To a Post in Starting Python
Create a list of evenly spaced numeric values, given the starting value, the increment (step) and the size ... import itertools as it def spaced_list(start, step, size): ''' create an … -
Marked Solved Status for A little help with what I thought should be intuitive
I'm actually helping my wife. She's learning Python. Me? VB.net and C# are my preferance. So I try to help her. All she wants to do is paint a command … -
Marked Solved Status for Mouse Position in Python
Hi im new to python and am trying to make a simple tank game where I want the tank gun to follow the position of the mouse cursor. Im am … -
Marked Solved Status for Help with programm
don't work this: bg_fon2 = PhotoImage(file='2.GIF') from tkinter import* import random root = Tk() root.geometry("896x626") canv = Canvas(root, height = 626, width = 896) bg_fon = PhotoImage(file='fon.GIF') canv.create_image(0,0,image=bg_fon,anchor='nw') class Fish: … -
Marked Solved Status for good form
Is this considered good form when writing cross-platform code? #! /usr/bin/env python3 And how about this? if __name__ == "__main__": main() I've reviewed some recent sample snippets and not all … -
Marked Solved Status for is there a python dropdown year selector
python function that creates automatically a dropdown year selector (that is a "select" element poulated with all years starting from current and dating back to a given year)? I don't … -
Marked Solved Status for Printing with multiple threads?
Hi. I am trying to make a script that will print out numbers in rapid succession after working a little with them. The script needs to write them in the … -
Replied To a Post in Help pls its urgent, new to programming
If your scores don't exceed the line width, then you can use this simple barchart ... def h_bar(mylist): ''' a simple horizontal bar chart ''' for item in mylist: print('-' … -
Replied To a Post in A Question =)
Use of `if __name__ == '__main__':` # use it for testing function1() # allows the program to run or be an importable module # __main__ is the namespace of the … -
Replied To a Post in Python GUI Programming
Constants used in pygame code ... ''' pg_constants101.py look at a list of pygame event constants ''' import pygame.constants help(pygame.constants) ''' result ... Help on module pygame.constants in pygame: NAME … -
Replied To a Post in Mouse Position in Python
Here is an example ... ''' pg_mouseposition1.py show mouse position with module pygame to see a list of event constants use: import pygame.constants help(pygame.constants) ''' import pygame as pg # … -
Replied To a Post in What are you eating/drinking right now?
A mug of java and a christmas cookie. -
Replied To a Post in Jokes
Why did the chicken cross the road? BARACK OBAMA: The chicken crossed the road because it was time for a CHANGE! The chicken wanted CHANGE! GEORGE W. BUSH: We don't …
The End.