-
Marked Solved Status for how to print every word starts with "A" in a urlpage
Hello! How can ask my scipt to print **every word** in a url page that starts with the letter "A" in this case? This is my code: from bs4 import … -
Replied To a Post in Tiny Tkinter Calculator (Python)
Here is a simple reverse polish calculator ... ''' calculator_reverse_polish.py a simple calculator using a switch/case approach and lambda ''' def do_operation(op, a, b): """ arguments are in reverse polish … -
Replied To a Post in Python GUI automation java based apps
Just a wild guess, look into Jython. -
Replied To a Post in Scanf program
Another thing to watch out for is the value of the Enter key. On Windows it is '\r\n' on Linux it is '\n'. I have seen this giving strange skip … -
Replied To a Post in Code Snippet Ideas
x * y = 12345678987654321 ... that is 1 to 9 and down again. Write a C program that finds the integer values for x and y, where x and … -
Replied To a Post in Code Snippet Ideas
Assume you are involved in making closed cylindrical metal cans. Calculate the ratio of radius to height, to give you the largest volume for the least amount of sheet metal. -
Replied To a Post in Code Snippet Ideas
Apply the financial formulas presented at: http://www.financeformulas.net/ to create C financial functions. -
Replied To a Post in Code Snippet Ideas
Given the length of three sides, write a C function that checks if it is possible to create a triangle with these sides. -
Replied To a Post in Code Snippet Ideas
The game show "Wheel of Fortune" shows a number of empty tiles and gradually (at random) fills in the tiles with the missing letters. The players are given the category … -
Replied To a Post in Code Snippet Ideas
You see an ad for a software job that goes for 14 days. The conditions are: on the first day you make 1 cent, on the second day you double … -
Replied To a Post in Code Snippet Ideas
A C programming challenge: You have a room with 16 people, how many times can they shake hands once with each other? -
Replied To a Post in Code Snippet Ideas
Write a C program that finds the smallest number that can be divided by each of the numbers from 2 to 10 without leaving a remainder. -
Replied To a Post in Code Snippet Ideas
Using C code, extract the image from a webpage, save to file and/or show it. For instance: http://www.virtualfunzone.com/slike/misc/smart_cars/smart_cars2.jpg -
Replied To a Post in Code Snippet Ideas
Write a C program to do the calculation for this approximation series: sin(x) = x - x3/3! + x5/5! - x7/7! + .. See how close you get to a … -
Replied To a Post in Code Snippet Ideas
Find all the duplicate words in a text using C code. -
Replied To a Post in Code Snippet Ideas
Write a C program to prove that the sentence "the quick brown fox jumps over a lazy dog" uses every letter of the English alphabet. -
Replied To a Post in Code Snippet Ideas
Explore Collatz numbers (also called the 3n+1 problem, L. Collatz in 1937): Take any number, if even divide it by 2, if odd multiply it by 3 and add one, … -
Replied To a Post in Code Snippet Ideas
Today is Pi day (March 14th), so write a C program to show that factorial(0.5) == sqrt(pi)/2 -
Replied To a Post in QA Session
Q: "What's a Boss?" A: "Someone who is early when you are late, and late when you are early." -
Replied To a Post in QA Session
Q: What's a Doctor?" A: "A person who cures your ills, and then kills you with bills." -
Replied To a Post in QA Session
Q: "What to you call gin and water?" A: "Hydrogin." -
Marked Solved Status for why the output doesn't contain all that URL links?
Hello my friends. Look at this please: >>> from bs4 import BeautifulSoup >>> import urllib2 >>> url = urllib2.urlopen('https://duckduckgo.com/?q=3D&t=canonical&ia=meanings') >>> soup = BeautifulSoup(url) >>> links = soup('a') >>> print links … -
Replied To a Post in why the output doesn't contain all that URL links?
@snippsat good explanation! -
Marked Solved Status for need help for finding special NAMES in a url page (homework)
Hello. I have a homework. I have asked to create a web crawler that be able to enter into a music website and then for the first step, collect the … -
Replied To a Post in how to print every word starts with "A" in a urlpage
@snippsat, nice solution! -
Replied To a Post in Code Snippet Ideas
Write a program to find all Friday the 13th of a given year. -
Replied To a Post in Starting Python
Talking about "friggatriskaidekaphobia" the irrational fear of Friday the 13th ... ''' friday13th.py find all the Friday the 13th of a given year ''' import datetime as dt import calendar … -
Replied To a Post in Random Facts
Albert Einstein was born in Ulm, in the Kingdom of Württemberg in the German Empire on 14 March 1879. A Pi day! -
Replied To a Post in There is an elephant on the loo!
All Friday the 13th for 2015: 13Feb2015 13Mar2015 13Nov2015 -
Replied To a Post in Small problem with message encoder.
Your keys have to be adjusted for the removed spaces ... class MessageEncoder: '''change the order of spaces in a text''' def __init__(self): pass def get_key(self): '''create and return the … -
Replied To a Post in Thank God It's Friday!!
I enjoy hiking in the nearby Sierra Nevada mountains, even on Friday the 13th. -
Replied To a Post in There is an elephant on the loo!
The UK is facing a significant skills shortage, with 1.4 million "digital professionals" estimated to be needed over the next five years. To introduce digital knowledge to younger children, the … -
Marked Solved Status for Small error with one time pad encryption
Hello. I am was doing research on cryptography and found a simple algorithm (One time pad algorithm) that interests me. I was able to create a simple version of this … -
Revoked Solved Status for Small error with one time pad encryption
Hello. I am was doing research on cryptography and found a simple algorithm (One time pad algorithm) that interests me. I was able to create a simple version of this … -
Replied To a Post in Small error with one time pad encryption
How did you fix it? -
Replied To a Post in Python Drawing Turtle
You are better off drawing three triangles ... ''' turtle_triangle_up.py use Python module turtle to draw a triangle pointing up draw three triangles and fill with different colors ''' import … -
Marked Solved Status for wxPython -- StaticBoxSizer re-laying out sibling content?
I have a layout for an app that has a panel that places 3 static boxes (nodes) per row, and then keeps going until the dictionary of nodes is out. … -
Replied To a Post in wxPython -- StaticBoxSizer re-laying out sibling content?
It's been a while since I used wxPython, so thank you for the solution. -
Revoked Solved Status for wxPython -- StaticBoxSizer re-laying out sibling content?
I have a layout for an app that has a panel that places 3 static boxes (nodes) per row, and then keeps going until the dictionary of nodes is out. … -
Replied To a Post in Old old programmer needs some personal help!
The Zen of Python ... import this -
Replied To a Post in Another Visit To String Formatting (Python)
Here we use function format() to print out a dictionary as a table ... ''' dict_print_table101.py use format() to print the contents of a dictionary as a table adjust the … -
Replied To a Post in What Languages Can You Guys Speak?
English and Python. -
Replied To a Post in How many hours do you spend on computers all day.
I just cut my on the computer time down to less than 3 hours in the morning. -
Replied To a Post in Your Qoutes
You cannot burn ideas. -
Replied To a Post in Memorable Quotations
"If Patrick Henry thought that taxation without representation was bad, he should see how bad it is with representation." ... Common US taxpayer -
Replied To a Post in QA Session
Q: "What Is The Difference Between A Harley And A Hoover?" A: "The Location Of The Dirt Bag." -
Created QA Session
Just an accumulation of worldly wisdom in question answer format. Q: "How Do You Get Holy Water?" A: "You Boil The Hell Out Of It." -
Replied To a Post in There is an elephant on the loo!
If you can't be replaced, you cannot be promoted! -
Replied To a Post in So. Does anyone have any good programming/computing jokes?
Technology for the Country folk... LOG ON: Makin a wood stove hotter. LOG OFF: Don't add no more wood. MONITOR: Keepin an eye on the wood stove. DOWNLOAD: Gettin the … -
Replied To a Post in So. Does anyone have any good programming/computing jokes?
The 50-50-90 rule: Anytime you have a 50-50 chance of getting something right, there's a 90% probability that you'll get it wrong.
The End.