Naming Conventions, Where's the Convention Waldo? Another source of asininity seems to be the naming conventions of the Python language proper! True/False start with an upper case and i applaud this. However str, list, tuple, int, float --need i go on...?-- start with lowercase. Q: Well what the hell is your problem Rick. Who cares right? WRONG, I tell you ... 15 Jul 2010 22:00
integer >= 1 == True and integer.0 == False is bad, bad, bad!!! On 7/10/10 10:38 PM, rantingrick wrote: Seems kinda dumb to build a tuple just so a conditional wont blow chunks! This integer bool-ing need to be fixed right away! Yes, let us penalize the thousands of use cases where 0 being false is useful and good, for the benefit of the one use-case (indexing) where it ... 13 Jul 2010 15:19
grailbrowser now running under python 2.5 (probably above too) source at: http://github.com/lkcl/grailbrowser $ python grail.py (note the lack of "python1.5" or "python2.4") conversion of the 80 or so regex's to re has been carried out. entirely successfully or not is a matter yet to be determined. always a hoot to try browsing http://www.bbc.co.uk or http://www.youtube.... 14 Jul 2010 17:37
instructor solution manual for Aircraft Structures for Engineering Students (4th Ed., T.H.G. Megson) I have solutions manuals to all problems and exercises in these textbooks. To get one in an electronic format contact me at: kalvinmanual(at)gmail(dot)com and let me know its title, author and edition. Please this service is NOT free. solutions manual to A Course in Game Theory by Osborne, Rubinstein solutions... 10 Jul 2010 21:30
Sumatra m/l? Sumatra looks like an interesting project http://pypi.python.org/pypi/Sumatra/0.2 But I have some questions. Is there any mail list or forum? I can't find anything on the website. ... 10 Jul 2010 23:41
simples setup for an wsgi https server in python Hi, I'd like to debug a small wsgi module. I run it either on an apache web server or locally via wsgiref.simple_server.make_server and following code snippet: from wsgiref.simple_server import make_server httpd = make_server('localhost',8012,application) while True: httpd.handle_request() print_... 13 Jul 2010 05:25
MySqlDb any way to see the query string Hi, I'm using MYSQLdb and have following code db = MySQLdb.connect(**cfg) c = db.cursor() qrystr = "insert mytable set id = %s , other_field = %s" c.execute(qrystr, (id_val,other_field_val) ) What I wondered is whether there is any way to print the 'filled in' query string for debuggin. The re... 10 Jul 2010 20:24
About new urllib.request in python 3.1.2 Sorry I have searched related topic but none could point out this problem. I am currently using python 3.1.2: Python 3.1.2 (r312:79147, Jun 30 2010, 11:58:11) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd8 And for the following three simple lines of code, borrowed from official python-doc 3.1.2: fr... 10 Jul 2010 19:18
Any reason www.python.org is slow? All, I have been finding python.org site very slow for the last year and probably before. Is there any known reason why the site is slow? I tried accessing it from several locations and I always get to wait several seconds for a page to load (in any browser/OS). Thanks -- Pierre ... 10 Jul 2010 19:18
load and plot from multiple file Dear friends, I have several 2 column file which i need to plot in one figure. I generally do it using gnuplot, but when there is several files, its hard to do manually. can you tell me how i can load a file in python and plot several file in one figure(as it is done via replot in gnuplot)? I am novice in pytho... 10 Jul 2010 07:17 |