Search Discussions
-
/home/nikos/public_html/cgi-bin/metrites.py in () 217 template = htmldata + counter 218 elif page.endswith('.py'): = 219 htmldata = subprocess.check_output( '/home/nikos/public_html/cgi-bin/' + page ...
Νικόλαος Κούρας
Jun 1, 2013 at 3:44 pm
Jun 11, 2013 at 7:20 am -
I mean utf-8 could use 1 byte for storing the 1st 256 characters. I meant up to 256, not above 256. A surrogate pair is like itting for example Ctrl-A, which means is a combination character that ...
Νικόλαος Κούρας
Jun 9, 2013 at 10:44 am
Jul 2, 2013 at 11:41 pm -
[code] if not re.search( '=', name ) and not re.search( '=', month ) and not re.search( '=', year ): cur.execute( '''SELECT * FROM works WHERE clientsID = (SELECT id FROM clients WHERE name = %s) and ...
Νικόλαος Κούρας
Jun 11, 2013 at 8:20 pm
Jun 26, 2013 at 9:07 am -
I have asked this in alt.apache.configuration but received no response at all, so i was thinking of you guys as a last resort to this. Sorry about that but koukos.py need to set a cookies that other ...
Νικόλαος Κούρας
Jun 1, 2013 at 5:30 am
Jun 6, 2013 at 6:03 pm -
number_drawn=() def load(lot_number,number_drawn): first=input("enter first lot: ") last=input("enter last lot: ") for lot_number in range(first,last): line_out=str(lot_number) for count in ...
Charles benoit
Jun 29, 2013 at 2:07 am
Jul 8, 2013 at 8:19 am -
Note to those of you who may be new to Python: I will refer to "print" as a function -- just be aware that "print" was a statement before Python3000 was introduced ...
Rick Johnson
Jun 2, 2013 at 5:04 pm
Jun 7, 2013 at 5:01 am -
I'm reading the Python.org tutorial right now, and I found this part rather strange and incomprehensible to me Important warning: The default value is evaluated only once. This makes a difference ...
Ahmed Abdulshafy
Jun 19, 2013 at 7:17 pm
Jun 24, 2013 at 3:22 pm -
class FooBar(object): def __init__(self): ... Inheritance usually takes a class name to indicate which class is the 'parent' class. However, in the previous example, from a django book, the class ...
Adam
Jun 23, 2013 at 2:58 am
Jun 28, 2013 at 6:55 pm -
Hi folks, My son is 17 years old. He just took a one-year course in web page design at his high school. HTML is worth knowing, I suppose, and I think he has also done a little Javascript. He has ...
John Ladasky
Jun 12, 2013 at 7:46 pm
Jul 27, 2013 at 12:25 pm -
Syntax: fwhile X in ListY and conditionZ: The following would actually exactly as: for X in ListY: fwhile X in ListY and True: fwhile would act much like 'for', but would stop if the condition after ...
Jimjhb
Jun 24, 2013 at 7:52 pm
Jun 26, 2013 at 8:11 pm -
====================== RewriteEngine Off RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+\.html) /cgi-bin/metrites.py?file=%{REQUEST_FILENAME} [L,PT,QSA] ====================== [code] file = ...
Νικόλαος Κούρας
Jun 12, 2013 at 5:33 pm
Jun 16, 2013 at 6:47 pm -
I am looking for an appropriate version control software for python development, and need professionals' help to make a good decision. Currently I am considering four software: git, SVN, CVS, and ...
Cutems93
Jun 12, 2013 at 11:27 pm
Jun 16, 2013 at 5:02 pm -
Hello, I have written a small utility to locate errors in regular expressions that I want to upload to PyPI. Before I do that, I would like to learn a litte more about the legal aspects of ...
Malte Forkel
Jun 8, 2013 at 9:31 pm
Jun 12, 2013 at 8:38 pm -
Many long-time posters have advised "Don't rebind built-in names*. * Unless you really mean to mask it, or more likely wrap it, such as wrapping print to modify some aspect of its operation than one ...
Terry Jan Reedy
Jun 11, 2013 at 12:14 am
Jun 13, 2013 at 10:09 am -
Hi, I have a question about breaking up really long lines of code in Python. I have the following line of code: log.msg("Item wrote to MongoDB database %s/%s" %(settings['MONGODB_DB'], ...
Yves S. Garret
Jun 21, 2013 at 9:17 pm
Jun 25, 2013 at 12:07 pm -
I started another thread because the last one was !@#$'ed up by irrelevant replies and was difficult to jeep track. abcd Can understand that, it takes the first string out of the 3 strings that has a ...
Nick the Gr33k
Jun 14, 2013 at 9:50 am
Jun 15, 2013 at 1:28 pm -
Hi, I'd like to use closures to set allow a subroutine to set variables in its caller, in leu of pointers. But I can't get it to work. I have the following test pgm, but I can't understand its ...
Cts Private Yahoo
Jun 29, 2013 at 9:34 am
Jul 1, 2013 at 7:36 am -
#======================================================== # Collect directory and its filenames as bytes path = b'/home/nikos/public_html/data/apps/' files = os.listdir( path ) for filename in ...
Νικόλαος Κούρας
Jun 12, 2013 at 8:02 am
Jun 14, 2013 at 3:05 am -
I have a list, songs, which I want to divide into two groups. Essentially, I want: new_songs = [s for s in songs if s.is_new()] old_songs = [s for s in songs if not s.is_new()] but I don't want to ...
Roy Smith
Jun 10, 2013 at 8:34 pm
Jun 13, 2013 at 9:43 am -
Since the other thread gone into the wild, i choosed not to participate any longer and i state the question in this new thread. 'python files.py' interprets without an error. Problem is that when via ...
Νικόλαος Κούρας
Jun 5, 2013 at 7:54 pm
Jun 9, 2013 at 10:42 am -
Hello, Trying to browse http://superhost.gr/?page=files.py with tailing -F of the error_log i noticed that error log outputs no error! So that means that the script is correct. here are the directory ...
Nick the Gr33k
Jun 15, 2013 at 7:38 pm
Jun 17, 2013 at 2:50 pm -
I've begun writing a program with an interactive prompt, and it needs to parse input from the user. I thought the argparse module would be great for this, but unfortunately it insists on calling ...
Andrew Berg
Jun 27, 2013 at 12:54 pm
Jun 29, 2013 at 7:17 pm -
Let: - class Point be a data type which is used to define points in space - class Line be a data type which possesses an aggregate relationship with objects of type Point - class Model be a container ...
Rui Maciel
Jun 10, 2013 at 1:18 pm
Jun 13, 2013 at 6:23 pm -
Hello, I am new to python development and I want to know what kinds of tools people use for python development. I went to Python website and found several tools. 1. Automated Refactoring Tools 2. Bug ...
Cutems93
Jun 23, 2013 at 8:40 pm
Jun 25, 2013 at 1:36 pm -
Hello again, something simple this time: After a user selects a file from the form, that sleection of his can be found form reading the variable 'filename' If the filename already exists in to the ...
Simpleton
Jun 17, 2013 at 4:39 pm
Jun 18, 2013 at 5:49 am -
Is there a more efficient way of doing this? Any help is gratly appreciated. import random def partdeux(): print('''A man lunges at you with a knife! Do you DUCK or PARRY?''') option1=('duck') ...
Eschneider92
Jun 4, 2013 at 3:39 am
Jun 7, 2013 at 2:21 am -
Hi all, I've written a program using Twisted that uses SqlAlchemy to access a database using threads.deferToThread(...) and SqlAlchemy's scoped_session(...). This program runs for a long time, but ...
Writeson
Jun 13, 2013 at 1:24 am
Jun 21, 2013 at 6:50 am -
I've got a 170 MB file I want to search for lines that look like: [2010-10-20 16:47:50.339229 -04:00] INFO (6): songza.amie.history - ENQUEUEING: /listen/the-station-one This code runs in 1.3 ...
Roy Smith
Jun 18, 2013 at 4:45 pm
Jun 19, 2013 at 7:55 pm -
Traceback (most recent call last): File "Guessing_Game.py", line 32, in <module input (enter) File "<string ", line 0 ^ SyntaxError: unexpected EOF while parsing ------------------ (program exited ...
Armando Montes De Oca
Jun 5, 2013 at 2:40 pm
Jun 6, 2013 at 2:49 pm -
Dear Group, I am trying to search the following pattern in Python. I have following strings: (i)"In the ocean" (ii)"On the ocean" (iii) "By the ocean" (iv) "In this group" (v) "In this group" (vi) ...
Subhabangalore
Jun 15, 2013 at 9:42 am
Jun 15, 2013 at 9:26 pm -
Perhaps this isn't the right place to post this, but it's the only place I could find. I asked yesterday or the day before about Python Game Development, and have found a few tutorials on PyGame. Now ...
Eam onn
Jun 8, 2013 at 4:07 pm
Apr 26, 2014 at 7:07 am -
Hello, as you all know i'am using cgi method for my web script. I have been told that webpy is the way to go sor script simple enough as mines. Can you please show me the simplest example you can ...
Νίκος
Jun 23, 2013 at 1:01 pm
Jun 28, 2013 at 2:28 pm -
Hey, group, quick (I hope) question: I've got a simple script that counts the number of words in a data set (it's more complicated than that, but that's one of the functions), but there are so many ...
Bryan Britten
Jun 25, 2013 at 8:09 pm
Jun 27, 2013 at 12:54 pm -
Hi all, Any suggestions for a good name, for a framework that does automatic server deployments? It's like Fabric, but more powerful. It has some similarities with Puppet, Chef and Saltstack, but is ...
Jonathan Slenders
Jun 24, 2013 at 12:30 pm
Jun 26, 2013 at 11:40 am -
Hello guys... I?m a begginer in Python, I'm doing a Hangman game, but I'm having trouble with this blank space. I would be greatful if you help me. :) Here's my code ...
Arturo balbuena
Jun 19, 2013 at 9:14 pm
Jun 21, 2013 at 2:36 pm -
?? ???????, 10 ??????? 2013 1:42:25 ?.?. UTC+3, ? ??????? Andreas Perstinger ??????: 's' is a byte object, how can you treat it as a string asking to present you its first character? 's' is a byte ...
Νικόλαος Κούρας
Jun 10, 2013 at 11:13 am
Jun 12, 2013 at 8:32 am -
I was planning on making a small 2D game in Python. Are there any libraries for this? I know of: ??Pygame - As far as I know it's dead and has been for almost a year ? PyOgre - Linux and Windows ...
Letsplaysforu
Jun 7, 2013 at 3:53 pm
Jun 12, 2013 at 2:27 am -
Hi everyone, I am a beginner in python and trying to find my way through... :) I am writing a script to get numbers from the headers of a text file. If the header is something like: h01 = (' ...
Mstagliamonte
Jun 4, 2013 at 3:21 pm
Jun 5, 2013 at 4:53 am -
I am extending a parser and need to create many classes that are all subclassed from the same object (defined in an external library). When my module is loaded I need all the classes to be created ...
Tim
Jun 26, 2013 at 1:09 pm
Jun 27, 2013 at 4:40 pm -
I'm currently trying to make sense of Python's Timsort function. From the wikipedia page I was told the algorithm is located somewhere here ...
Alphonse23
Jun 15, 2013 at 7:44 pm
Jun 19, 2013 at 6:20 pm -
================= ================= THRINAXODON HAS RECENTLY RECEIVED THIS MESSAGE FROM THE PYTHON FOUNDER: Oh my God! It's hard to program with, it`s troubling for so many people! I call for the ...
Thrinaxodon
Jun 27, 2013 at 4:19 am
Jun 28, 2013 at 9:06 pm -
How do I bring users back to beginning of user/password question once they fail it? thx
Christhecomic
Jun 23, 2013 at 11:18 pm
Jun 25, 2013 at 1:40 pm -
Hello! This is my first post in this group and the reason why I came across here is that, despite my complete lack of knowledge in the programming area, I received an order from my teacher to develop ...
Augustofec
Jun 19, 2013 at 1:58 pm
Jun 21, 2013 at 11:31 am -
Hi there, Sorry for the complete beginner question but I thought the readers here might be able to provide me with some guidance. I've done some programming with Visual Basic and VBA plus a little ...
Andrewblundon
Jun 19, 2013 at 2:47 am
Jun 19, 2013 at 4:34 pm -
What if i wanted to sort it out if alphabetically and not by the values? Thsi worked: for item in sorted(months.items(),key=lambda num : num[1]): but this failed: for item in sorted(months.items()) ...
Νικόλαος Κούρας
Jun 10, 2013 at 8:16 am
Jun 11, 2013 at 9:16 am -
I get this error when I try to save .dxf files in Inkscape: Fatal Python error: Py_Initialize: can't initialize sys standard streams Then it seems to recover but it doesn't really recover. It saves ...
Lucabrasi154
Jun 15, 2013 at 9:29 pm
Jun 18, 2013 at 4:47 am -
Hi, I'm planning to buy a Macbook Air and I want to use it as a sort of alarm. I'd like to write a program that boots my computer at a specific time, loads iTunes, and starts playing a podcast. Is ...
C. N. Desrosiers
Jun 16, 2013 at 7:06 pm
Jun 17, 2013 at 5:52 pm -
Hello all, This is my dilemma, I'm trying to get the generated JSON file using the bing api search. This is the code that I'm executing from inside the shell: http://bin.cakephp.org/view/460660617 ...
Yves S. Garret
Jun 13, 2013 at 8:57 pm
Jun 14, 2013 at 7:14 pm -
Hi, I'm new to Python. Would someone be able to write me and/or to show me how to write a simple program that: 1-follows a hyperlink from MS Excel to the internet (one of many links like this, ...
Buford Lumbar
Jun 13, 2013 at 7:28 pm
Jun 14, 2013 at 3:02 pm -
Im required to import ha certain dll called 'NHunspell.dll' which is used for Spell Checking purposes. I am using Python for the software. Although I checked out several websites to properly use ...
Akshay Ksth
Jun 25, 2013 at 6:23 am
Jun 25, 2013 at 2:52 pm
Group Overview
group | python-list |
categories | python |
discussions | 219 |
posts | 2,795 |
users | 316 |
website | python.org |
316 users for June 2013
Archives
- September 2015 (591)
- August 2015 (1,058)
- July 2015 (1,440)
- June 2015 (1,704)
- May 2015 (1,841)
- April 2015 (1,231)
- March 2015 (1,717)
- February 2015 (1,612)
- January 2015 (889)
- December 2014 (1,283)
- November 2014 (1,600)
- October 2014 (1,447)
- September 2014 (1,031)
- August 2014 (1,867)
- July 2014 (1,618)
- June 2014 (1,357)
- May 2014 (1,431)
- April 2014 (1,285)
- March 2014 (2,093)
- February 2014 (1,999)
- January 2014 (2,089)
- December 2013 (2,060)
- November 2013 (2,507)
- October 2013 (1,932)
- September 2013 (1,634)
- August 2013 (1,532)
- July 2013 (2,062)
- June 2013 (2,795)
- May 2013 (1,935)
- April 2013 (1,980)
- March 2013 (1,953)
- February 2013 (1,789)
- January 2013 (1,924)
- December 2012 (1,569)
- November 2012 (1,579)
- October 2012 (1,961)
- September 2012 (2,311)
- August 2012 (1,808)
- July 2012 (1,577)
- June 2012 (1,199)
- May 2012 (1,197)
- April 2012 (1,416)
- March 2012 (1,373)
- February 2012 (1,442)
- January 2012 (1,446)
- December 2011 (1,895)
- November 2011 (1,291)
- October 2011 (1,188)
- September 2011 (1,587)
- August 2011 (2,069)
- July 2011 (2,140)
- June 2011 (1,908)
- May 2011 (2,475)
- April 2011 (2,098)
- March 2011 (1,761)
- February 2011 (1,746)
- January 2011 (2,123)
- December 2010 (1,671)
- November 2010 (2,355)
- October 2010 (2,518)
- September 2010 (2,187)
- August 2010 (3,098)
- July 2010 (2,579)
- June 2010 (3,238)
- May 2010 (2,458)
- April 2010 (2,356)
- March 2010 (2,759)
- February 2010 (3,486)
- January 2010 (3,294)
- December 2009 (2,899)
- November 2009 (3,396)
- October 2009 (3,346)
- September 2009 (3,087)
- August 2009 (3,903)
- July 2009 (3,761)
- June 2009 (3,321)
- May 2009 (3,370)
- April 2009 (4,272)
- March 2009 (4,228)
- February 2009 (3,965)
- January 2009 (4,732)
- December 2008 (4,335)
- November 2008 (3,799)
- October 2008 (4,123)
- September 2008 (3,816)
- August 2008 (4,056)
- July 2008 (4,238)
- June 2008 (3,737)
- May 2008 (4,976)
- April 2008 (4,708)
- March 2008 (4,122)
- February 2008 (4,132)
- January 2008 (4,145)
- December 2007 (3,686)
- November 2007 (3,419)
- October 2007 (4,234)
- September 2007 (4,332)
- August 2007 (4,189)
- July 2007 (3,771)
- June 2007 (4,142)
- May 2007 (5,018)
- April 2007 (4,912)
- March 2007 (4,365)
- February 2007 (3,951)
- January 2007 (3,864)
- December 2006 (4,449)
- November 2006 (4,229)
- October 2006 (5,506)
- September 2006 (5,244)
- August 2006 (4,829)
- July 2006 (4,720)
- June 2006 (5,054)
- May 2006 (5,302)
- April 2006 (4,845)
- March 2006 (5,729)
- February 2006 (4,839)
- January 2006 (5,249)
- December 2005 (5,011)
- November 2005 (5,677)
- October 2005 (5,387)
- September 2005 (4,458)
- August 2005 (4,428)
- July 2005 (4,472)
- June 2005 (4,562)
- May 2005 (4,269)
- April 2005 (5,019)
- March 2005 (5,070)
- February 2005 (5,159)
- January 2005 (5,194)
- December 2004 (5,211)
- November 2004 (4,048)
- October 2004 (5,191)
- September 2004 (5,534)
- August 2004 (6,168)
- July 2004 (4,217)
- June 2004 (4,202)
- May 2004 (3,890)
- April 2004 (4,285)
- March 2004 (5,077)
- February 2004 (4,213)
- January 2004 (3,988)
- December 2003 (3,818)
- November 2003 (4,940)
- October 2003 (6,297)
- September 2003 (4,299)
- August 2003 (5,654)
- July 2003 (4,912)
- June 2003 (4,933)
- May 2003 (4,938)
- April 2003 (5,017)
- March 2003 (5,031)
- February 2003 (7,701)
- January 2003 (6,229)
- December 2002 (4,102)
- November 2002 (4,346)
- October 2002 (3,307)
- September 2002 (4,206)
- August 2002 (4,919)
- July 2002 (4,826)
- June 2002 (4,215)
- May 2002 (5,295)
- April 2002 (5,967)
- March 2002 (5,323)
- February 2002 (5,245)
- January 2002 (5,617)
- December 2001 (4,443)
- November 2001 (4,565)
- October 2001 (3,669)
- September 2001 (3,719)
- August 2001 (5,208)
- July 2001 (6,528)
- June 2001 (4,905)
- May 2001 (5,492)
- April 2001 (4,713)
- March 2001 (4,478)
- February 2001 (3,871)
- January 2001 (4,187)
- December 2000 (3,099)
- November 2000 (2,336)
- October 2000 (3,820)
- September 2000 (3,933)
- August 2000 (4,253)
- July 2000 (4,199)
- June 2000 (4,089)
- May 2000 (4,269)
- April 2000 (3,217)
- March 2000 (3,719)
- February 2000 (4,000)
- January 2000 (2,682)
- December 1999 (2,283)
- November 1999 (1,896)
- October 1999 (2,048)
- September 1999 (2,001)
- August 1999 (2,151)
- July 1999 (2,351)
- June 1999 (2,386)
- May 1999 (2,201)
- April 1999 (1,706)
- March 1999 (6)
- February 1999 (1)