To Ephexeve:
The method .isupper() returns a bool. The method .upper() returns a copy of your string converted to upper case.
http://www.tutorialspoint.com/python/string_isupper.htm...
User Profile
Collapse
-
...Code:<html> <head><title>Find Links with BMW in them</title> </head> <body> <?php $my_links = array(); $example_links = '<a href="http://abc.com/xxxx">Dodge</a> <a href="http://abc.com/a123.php">Used BMW card</a> <a href="http://xyz.com/ferrari">Brand new Ferraris</a>Leave a comment:
-
MSDN docs about GridView HyperLinkField Text property
Maybe the Text property is not set, so maybe the field in the grid is empty?Leave a comment:
-
We need to know what your setup is: server software, IDEs, OS, and versions of everything. Give the exact URL that you typed in. Is this a localhost, or what? If it is a web server not on your local network, it may not support something you are trying to do. Some free webhosting services might not let you run webapps, I imagine.Leave a comment:
-
In Python 3 the print statement is gone, it is replaced by the print function.
http://www.harshj.com/2008/12/09/the...n-in-python-3/...Leave a comment:
-
I know nothing about the libraries or the techniques involved in doing this. I will suggest that maybe those nodes don't have any text to show. I looked at the source on that site in your code, and the html looks a little strange to me. The anchor tag <a> that has class="maintitl e" doesn't have a closing tag. Instead, this appears: <div class="clear"/> and there was no div around that I could match it to. I think...Leave a comment:
-
-
Your code has some problems:
-shuffle() needs to be imported first. 'import random' should work.
-This page http://www.tutorialspoint.com/python/number_shuffle.htm says shuffle() should be called using a static 'random' object. 'random.shuffle (myList)'
-In line 7, you are asking for a 6th list item, but only 5 exist. I think thats not allowed.
-line 14 is missing a ' to end the stringLeave a comment:
-
Posting your software versions and OS will help people answer the question, I think.Leave a comment:
-
Thanks for the beautifully written article. This worked perfectly in Windows XP SP3 with Python 3.2.1. I hope to see more articles like this!Leave a comment:
No activity results to display
Show More
Leave a comment: