-
Replied To a Post in examples of if statement in python
More examples: # a multiconditional statement if x > 0: if x < 10: print("x is larger than zero and less than 10") # a simpler version if 0 < … -
Replied To a Post in List help part2!
Use list slicing and extend(). Hint: mylist = [0,1,2,3,4,5,6,7,8,9] ix = 3 t1 = mylist[0:ix] t2 = mylist[ix+1:] # now use list extend() t2.extend(t1) print(t2) # [4, 5, 6, 7, … -
Replied To a Post in Simple Newbie Question
Python has all the tools to do such a thing. -
Replied To a Post in List Help!
Use slice and extend(), for example: mylist1 = [1,2,3] mylist2 = ['a','b','c'] # slice mylist into two temporary lists at index 2 t1 = mylist1[0:2] t2 = mylist1[2:] # now … -
Replied To a Post in Debugging large projects in python
Split your large project into a series of small projects. -
Replied To a Post in Projects for the Beginner
Get yourself a Raspberry Pi and start a project. Check out: http://www.raspberrypi.org/ http://www.instructables.com/id/Raspberry-Pi-Projects/ -
Replied To a Post in What is your favorite English word?
gesundheit -
Replied To a Post in Bad computer habits
One computer is just not enough. I usually have my desktop PC, two netbooks and an IPad going. -
Replied To a Post in Memorable Quotations
"He was a wise man who invented beer." ~~~ Plato -
Replied To a Post in Food and Country
It's Oktoberfest time, the time for a good bratwurst, grilled chicken, radish, potato salad, all washed down with a stein full of beer. -
Replied To a Post in Memorable Quotations
"A fool with a tool is still a fool." ~~ Roland Hirsch -
Replied To a Post in iPython Notebook
The IPython Notebook seems to be made for scientific presentations and reports. To show off things like numpy, matplotlib.pyplot, pylab, seaborn and guiqwt.pyplot. You can tweak your code and see … -
Replied To a Post in There is an elephant on the loo!
The strontium clock developed in the US would only have lost only about one second since the earth began. It is accurate to a second in five billion years. -
Replied To a Post in Random Facts
Caesium was discovered in 1860 by German scientists Robert Bunsen and Gustav Kirchhoff. It's a silvery metal with a golden cast that melts at 28.4C (just above room temperature). It … -
Replied To a Post in Science
I agree with JorgeM, real world examples/projects are important to keep the students interested. -
Replied To a Post in whats wrong with my code?
An IDE like PyScripter would redline line 11 because of the missing comma. You can also streamline your code further with another function to remove some of the repetition: def … -
Replied To a Post in how to deselect a radioutton with a function in tkinter
Variable daniel will have to an instance of class Radiobutton. check with `print(type(daniel))` -
Replied To a Post in Memorable Quotations
“Why not go out on a limb? That's where the fruit is.” ~~ Will Rogers -
Replied To a Post in Things I hate about TV shows
Closeup shots of people's faces reading off information in a manner they would not normally talk to each other. Those investigative shows are loaded with it. -
Replied To a Post in Windows 10 Tech Preview
Windows 8.1 works for me most of the time! Not sure if Windows 10.1 will be much better. -
Replied To a Post in Random Facts
Fruit bats, a delicacy for some West Africans, are considered to be the Ebola virus's natural host. Source: http://www.bbc.com/news/world-us-canada-29462431 -
Marked Solved Status for Functors in Python
Does anybody have a good example of a Functor in Python? -
Replied To a Post in Functors in Python
I think I get the idea. -
Created Functors in Python
Does anybody have a good example of a Functor in Python? -
Replied To a Post in examples of if statement in python
For Perl: http://perlmaven.com/perl-tutorial -
Replied To a Post in Starting Python
A little Python history: Python 1.0 - January 1994 Python 1.5 - December 31, 1997 Python 1.6 - September 5, 2000 Python 2.0 - October 16, 2000 Python 2.1 - … -
Replied To a Post in PyEditor1.2
Windows 95 was released on August 24, 1995 As far as computing is concerned this is really, really old! I can't believe that there are many machines left out there. …
The End.