-
Replied To a Post in Starting Python
Ah, the old convert grades problem ... ''' grades_via_bisect101.py using module bisect to determine grades A to F from 100 to 0 score points ''' import bisect # both sequences … -
Replied To a Post in Projects for the Beginner
Create a calculator using a dictionary ... ''' dict_calculator101.py create a simple reverse polish calculator using a dictionary ''' import math def do_op(op, a=1, b=1): """use of a dictionary similar … -
Replied To a Post in Projects for the Beginner
It's getting close to Christmas, write a Python program that uses the current date to calculate the shopping days to Christmas. Be careful, some wise guy might run your program … -
Replied To a Post in Memorable Quotations
"I'm so mean I make medicine sick." ... Muhammad Ali -
Replied To a Post in Random Facts
Obesity in the U.S. has increased from 26.2 percent in 2012 to 27.1 percent in 2013; the obesity rate was 25.5 percent in 2008. The U.S. states wih the lowest … -
Replied To a Post in There is an elephant on the loo!
Mississippi is now the most obese state in the U.S., with 35.4 percent of residents being obese in 2013. West Virginia had previously been the most obese state from 2010 … -
Replied To a Post in There is an elephant on the loo!
Montana is now the least obese state in the U.S., with 19.6 percent of residents qualifying as obese in 2013, according to a new report from Gallup-Healthways researchers. Previously, Colorado … -
Replied To a Post in Random Facts
New York tops the list of cities with the most people worth $30 million or more. Source: http://abcnews.go.com/Business/top-10-cities-ultra-high-net-worth-individuals/story?id=14761048 -
Replied To a Post in Random Facts
More people live in Shanghai than the entire populations of the Netherlands and Denmark combined. -
Replied To a Post in Random Facts
If New Zealand would have the population density of Manhattan, there would be 7.3 billion people living in New Zealand. Google for the numbers. -
Replied To a Post in Memorable Quotations
President Bush's tax proposals leave no rich person behind. ... Andy Rooney -
Replied To a Post in Memorable Quotations
"Democracy must be something more than two wolves and a sheep voting on what to have for dinner." ... James Bovard -
Created Create a password you can remember
Once you are on the internet, you have to come up with passwords. After a while it will be difficult to remember those passwords. You could write them down somewhere, … -
Edited Starting Python
The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own … -
Replied To a Post in Projects for the Beginner
This could be an interesting historical project. From http://en.wikipedia.org/wiki/State_of_the_Union pick a number of "State of the Union" speeches. Then write a Python program that counts the 50 most common words … -
Replied To a Post in Projects for the Beginner
# sum up the ascii values of the characters in a word word = "arguments" ascii_sum = 0 for c in word: ascii_value = ord(c) ascii_sum += ascii_value print(ascii_sum) # … -
Edited Load and view an image with imageio and visvis (Python)
Two third party Python modules imageio and visvis make it easy to load and view images. The modules come with the pyzo scientific package or can be downloaded separately. Module … -
Created Load and view an image with imageio and visvis (Python)
Two third party Python modules imageio and visvis make it easy to load and view images. The modules come with the pyzo scientific package or can be downloaded separately. Module … -
Replied To a Post in Python multiprocessing: How to reload processes when a config is modified
For another possibility see ... http://greenlet.readthedocs.org/en/latest/ -
Replied To a Post in IDE
I have grown fond of the **IEP** IDE that comes with the pyzo_distro-2014a.win64.exe (Python3.4.1 64 bit Windows installer) from http://www.pyzo.org/downloads.html pyzo also comes for Linux and OsX IEP is written … -
Replied To a Post in What is this code doing(Rapid Gui Programming with Python and Qt)
One good tool to see what is going on in strange code is to put in temporary test print() -
Replied To a Post in Random Facts
The Mexican free-tailed-bat can jam a competitor species' echolocation. This allows it to steal the other bat's food (flying insects). BBC News http://www.bbc.com/news/science-environment-29931995 -
Replied To a Post in Random Facts
Maybe Canada should change their maple leaf to something less toxic? :) -
Replied To a Post in What are you eating/drinking right now?
"Pan fried bread soaked in a mixture of beaten eggs and milk, topped with sugar." Sounds good, I think they call it "French Toast" in the US. One should call … -
Replied To a Post in Science
Most news media have a dismal scientific staff, so science reporting has been poor in general. There is not much of a role model to follow. Encouraging budding scientist is … -
Replied To a Post in Memorable Quotations
“I haven’t been everywhere, but it’s on my list.” ... Susan Sontag -
Marked Solved Status for Weird Stuff about Dev-C++ Compiler
I use Bloodshed Dev-C++ version 4.9.9.2 and it is a little weird in that it accepts "and" as "&&" and "or" as "||", not to mention not requiring parentheses around … -
Marked Solved Status for Re: Sound in C++
[quote] // play a wave file sound using the winmm library // For DevCpp add the library libwinmm.a to linker via // Project/Project Options/Parameters/Add Library // remember this is a … -
Marked Solved Status for Got the C++, what now?
Okay, Iv'e finished learning C++. What can I do with it? Specifically, I want to do some graphics stuff, anything beyond iostream and fstream. What comes after C++? I know … -
Marked Solved Status for Pause the Program
How would you make the program pause for a certain amount of time? I can't just tell it to do some trivial task over and over for so many loops, … -
Marked Solved Status for Communication Between C++, TCL
Hi I would like to know how could we communicate between VC++ and TCL. I've tried it using SWIG. that was call for C++ function by TCL. Can a C++ … -
Marked Solved Status for i need your help in my lab project for school
I am new at this c++ programming thing and i got stocked in this program right here hope someone can help me out id appreciate that // Program Dinner prints … -
Marked Solved Status for Reccomended Books and Compilers
There is only so much I can learn from free online sites (though I have learned some important things) and was wondering what books you would reccomend to further my … -
Marked Solved Status for Going Insane
Ive been working on this assignment for ages now and its almost working.. well its working but since my output isnt right there must be something wrong lol. problem... I … -
Replied To a Post in What are you eating/drinking right now?
A steaming cup of Pomegranate White Tea with some sweetmeats. -
Replied To a Post in Memorable Quotations
"From time to time, the tree of liberty must be watered with the blood of tyrants and patriots." ... Thomas Jefferson -
Replied To a Post in Memorable Quotations
"A young man who does not have what it takes to perform military service is not likely to have what it takes to make a living." ... John F. Kennedy. -
Replied To a Post in Voodoo Chile
French in turn originates from Latin and old Gallic languages. "It's all Greek to me!" -
Marked Solved Status for python basic doubt
os.environ['HOME']+'/.xsend' what it means -
Marked Solved Status for How do I write a program in Python for this problem?
I have no idea how to write in Python. Please help me with this! Best answer if you write the program! Central Limit Theorem I Goal Write a python program … -
Edited Google Translate API (Python)
Just a simple exploration of the goslate module (uses the Google Translate API) to translate some common languages. However, some IDE's create character problems. Note: Your computer has to be … -
Replied To a Post in Correct way to create GUI programs with multiple uses/functions?
If the old information is logged (saved), then go the way of your hangman game. -
Replied To a Post in Question about basic unit converter project
@LukeKaim, thanks for the corrections to the dictionary. -
Replied To a Post in Counting Sort in Python
Your problem is in function gen(), the list comprehension should be ... def gen(number, b=100000): return [random.randint(0, b) for x in xrange(number)] -
Created Google Translate API (Python)
Just a simple exploration of the goslate module (uses the Google Translate API) to translate some common languages. However, some IDE's create character problems. Note: Your computer has to be … -
Edited Projects for the Beginner
After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on … -
Replied To a Post in Rotate Text (PySide)
Simply try it without translate. -
Replied To a Post in What are you eating/drinking right now?
Found some tasty blueberry scones at Trader Joe, good with fresh brewed coffee. -
Replied To a Post in Usernames
It depends which forum you were hanging out, "nahhhh-roooo" was my favorite. This user could be as scolding as my granny. -
Replied To a Post in Windows 10 Tech Preview
10 is a superlative, sort of like the movie "10".
The End.