Re: Why isn't my re.sub replacing the contents of my MS Word file?

2014-05-14 Thread alister
On Tue, 13 May 2014 23:12:40 -0700, wxjmfauth wrote: Le mardi 13 mai 2014 22:26:51 UTC+2, MRAB a écrit : On 2014-05-13 20:01, scottca...@gmail.com wrote: On Tuesday, May 13, 2014 9:49:12 AM UTC-4, Steven D'Aprano wrote: You may have missed my follow up post, where I said I had not

Re: PEP 8 : Maximum line Length :

2014-05-13 Thread alister
On Tue, 13 May 2014 10:45:49 +0200, Peter Otten wrote: Ganesh Pal wrote: Hi Team , what would be the best way to intent the below line . I have few lines in my program exceeding the allowed maximum line Length of 79./80 characters Example 1 : p =

Re: Simple Function Decorator Sample Snippet

2014-05-13 Thread alister
On Tue, 13 May 2014 01:04:39 -0500, Mark H Harris wrote: Yes, because depending on your interface the code can get mangled (the indentation thing breaks). the quoted paste seems to avoid this mostly with the downside that the quote characters need to be striped from the py file. sorry by

Re: Everything you did not want to know about Unicode in Python 3

2014-05-13 Thread alister
On Tue, 13 May 2014 01:18:35 +, Steven D'Aprano wrote: On Mon, 12 May 2014 17:47:48 +, alister wrote: On Mon, 12 May 2014 16:19:17 +0100, Mark Lawrence wrote: This was *NOT* written by our resident unicode expert http://lucumr.pocoo.org/2014/5/12/everything-about-unicode

Re: Everything you did not want to know about Unicode in Python 3

2014-05-13 Thread alister
On Tue, 13 May 2014 13:51:20 +, Grant Edwards wrote: On 2014-05-13, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Tue, 13 May 2014 07:20:34 -0400, Roy Smith wrote: ASCII *is* all I need. You've never needed to copyright something? Copyright © Roy Smith 2014... Bah.

Re: Fortran

2014-05-12 Thread alister
On Sun, 11 May 2014 20:14:14 -0400, Roy Smith wrote: In article mailman.9900.1399852263.18130.python-l...@python.org, MRAB pyt...@mrabarnett.plus.com wrote: On 2014-05-12 00:15, Steven D'Aprano wrote: On Sun, 11 May 2014 14:43:19 -0400, Roy Smith wrote: In article

Re: Everything you did not want to know about Unicode in Python 3

2014-05-12 Thread alister
On Mon, 12 May 2014 16:19:17 +0100, Mark Lawrence wrote: This was *NOT* written by our resident unicode expert http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/ Posted as I thought it would make a rather pleasant change from interminable threads about names vs values vs variables

Re: Add Received: header to email msg in correct position?

2014-05-06 Thread alister
On Mon, 05 May 2014 19:51:15 +, Grant Edwards wrote: I'm working on a Python app that receives an e-mail message via SMTP, does some trivial processing on it, and forwards it to another SMTP server. I'd like to do the polite thing and add a Received: header, but I can't figure out how

Re: Add Received: header to email msg in correct position?

2014-05-06 Thread alister
On Tue, 06 May 2014 19:47:54 +1000, Chris Angelico wrote: On Tue, May 6, 2014 at 7:15 PM, alister alister.nospam.w...@ntlworld.com wrote: On Mon, 05 May 2014 19:51:15 +, Grant Edwards wrote: I'm working on a Python app that receives an e-mail message via SMTP, does some trivial

Re: (question) How to use python get access to google search without query quota limit

2014-05-06 Thread alister
On Tue, 06 May 2014 19:37:14 +0530, shrikant aher wrote: hey, will u please send me the code that you write. actually i'm trying to learn use of google search api but i'm not getting so please mail me the code. my mail id is shrikan...@gmail.com it does not work like that here you show us

Re: Add Received: header to email msg in correct position?

2014-05-06 Thread alister
On Tue, 06 May 2014 14:15:08 +, Grant Edwards wrote: I'd like to do it the right way whether it's required by the letter of the law or not. So do I , although i might have left a cosmetic issue until the rest of the app was functioning as desired. As wiser minds than mine have now

Re: Significant digits in a float?

2014-05-06 Thread alister
On Tue, 06 May 2014 09:51:25 -0500, Mark H Harris wrote: On 5/1/14 9:06 PM, Dennis Lee Bieber wrote: The N4-ES and the N4-T (mine) are essentially the same rule. The N4-ES on the site is yellow (mine is white) and the site rule indicates Picket Eckel Inc. (that's where the E comes from)

Re: Off-topic circumnavigating the earth in a mile or less

2014-05-02 Thread alister
On Thu, 01 May 2014 21:57:57 +0100, Adam Funk wrote: On 2014-05-01, Terry Reedy wrote: On 4/30/2014 7:46 PM, Ian Kelly wrote: It also works if your starting point is (precisely) the north pole. I believe that's the canonical answer to the riddle, since there are no bears in Antarctica.

Re: Cookie not retrieving as it should in some cases

2014-05-02 Thread alister
On Fri, 02 May 2014 01:11:05 -0700, Ferrous Cranus wrote: # retrieve cookie from client's browser otherwise set it try: cookie = cookies.SimpleCookie( os.environ.get('HTTP_COOKIE', '') ) cookieID = cookie['ID'].value except: cookieID = str( time.time() ) cookieID =

Re: Significant digits in a float?

2014-05-01 Thread alister
On Thu, 01 May 2014 09:34:35 -0700, emile wrote: On 04/30/2014 11:21 AM, Grant Edwards wrote: On 2014-04-29, emile em...@fenx.com wrote: On 04/29/2014 01:16 PM, Adam Funk wrote: A man pitches his tent, walks 1 km south, walks 1 km east, kills a bear, walks 1 km north, where he's back at

Re: Significant digits in a float?

2014-04-30 Thread alister
On Tue, 29 Apr 2014 15:42:25 -0700, emile wrote: On 04/29/2014 01:16 PM, Adam Funk wrote: A man pitches his tent, walks 1 km south, walks 1 km east, kills a bear, walks 1 km north, where he's back at his tent. What color is the bear? ;-) From how many locations on Earth can someone

Re: Best Website Design Services by Professional Web Designing Company

2014-04-22 Thread alister
On Tue, 22 Apr 2014 02:21:01 -0700, aveinfosys wrote: Ave Infosys is a leading professional in Web Designing Company in Hyderabad India for the E-Business Industry.Ave Infosys are providing Best Website Development and Design Services in Hyderabad.Our company offers the Best Web Design

Re: Best Website Design Services by Professional Web Designing Company

2014-04-22 Thread alister
On Wed, 23 Apr 2014 00:35:37 +1000, Chris Angelico wrote: On Tue, Apr 22, 2014 at 11:40 PM, alister alister.nospam.w...@ntlworld.com wrote: Considering the poor quality of your own site it is hardly surprising that you have to resorts to spamming a totally unrelated newsgroup/ mailing list

Re: Teaching python to non-programmers

2014-04-11 Thread alister
On Fri, 11 Apr 2014 06:34:46 +0100, Paul Rudin wrote: It's not necessarily a bad idea to retain context in corporate emails. Messages tend to get forwarded to people other than the original recipient(s), and the context can be very helpful. Right up to the point when someone forwards on an

Re: Teaching python to non-programmers

2014-04-11 Thread alister
On Fri, 11 Apr 2014 21:01:46 +1000, Chris Angelico wrote: On Fri, Apr 11, 2014 at 8:46 PM, alister alister.nospam.w...@ntlworld.com wrote: Right up to the point when someone forwards on an internal email chain to an external customer without bothering to prune out the bit where someone

Re: python obfuscate

2014-04-11 Thread alister
On Thu, 10 Apr 2014 18:29:21 -0700, Wesley wrote: Hi all, Does python has any good obfuscate? Currently our company wanna release one product developed by python to our customer. But dont's wanna others see the py code. I googled for a while but mostly just say using pyc. Any better

Re: Latching variables in function

2014-04-09 Thread alister
On Wed, 09 Apr 2014 08:53:19 -0500, Mark H Harris wrote: On 4/8/14 3:09 PM, Grawburg wrote: I have a N/O pushbutton that I want to latch a value to a variable when it's been pressed. I need button_value to become '1' when the button is pressed and to remain '1' until ... What do I use

Re: threading

2014-04-08 Thread alister
My personal feeling is that asynchronous i/o is mostly useful on 32-bit systems, and the problem it actually solves is the limited virtual address space. On a 64 bit system we can just throw more RAM at it and threads be fine. As my only professional coding experience has been with embedded

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing?

2014-04-08 Thread alister
On Tue, 08 Apr 2014 13:47:12 +, Grant Edwards wrote: On 2014-04-08, Chris Angelico ros...@gmail.com wrote: On Tue, Apr 8, 2014 at 5:07 PM, James Brewer ja...@brwr.org wrote: Basically, I want to be a better engineer. Where can I find someone willing to point me in the right direction and

Re: threading

2014-04-08 Thread alister
On Tue, 08 Apr 2014 23:23:05 +1000, Chris Angelico wrote: On Tue, Apr 8, 2014 at 11:13 PM, Roy Smith r...@panix.com wrote: And the cost of hardware keeps going down, while the cost of good programmers keeps going up. Like everything, it's a matter of trade-offs. Spending a moment thinking

Re: [OFF-TOPIC] How do I find a mentor when no one I work with knows what they are doing?

2014-04-08 Thread alister
On Wed, 09 Apr 2014 01:48:52 +1000, Chris Angelico wrote: I managed to convince him to let me use Pike for a lot of the work, though I suspect that - now that we're no longer working together - he's ripping a lot of it out in favour of either PHP or JavaScript. And that's a job I wouldn't

Re: converting strings to hex

2014-04-04 Thread alister
On Thu, 03 Apr 2014 21:38:38 -0500, Mark H Harris wrote: On 4/3/14 9:10 PM, dave em wrote: I am taking a cryptography class and am having a tough time with an assignment similar to this. hi Dave, if your instructor wanted you to work on this with other people she would have made it a

Re: Unicode Chars in Windows Path

2014-04-03 Thread alister
On Wed, 02 Apr 2014 16:27:04 -0700, Steve wrote: Hi All, I'm in need of some encoding/decoding help for a situation for a Windows Path that contains Unicode characters in it. CODE import os.path import codecs import sys All_Tests =

Re: meta language to define forms

2014-03-28 Thread alister
On Fri, 28 Mar 2014 14:57:11 +1100, Chris Angelico wrote: On Fri, Mar 28, 2014 at 2:44 PM, Rustom Mody rustompm...@gmail.com wrote: [BTW I consider the windows registry cleaner than the linux /etc for the same reason] And if I felt like trolling, I'd point out that there are a lot more

Re: running python 2 vs 3

2014-03-21 Thread alister
On Fri, 21 Mar 2014 09:40:40 +, Mark Lawrence wrote: On 21/03/2014 02:18, Chris Angelico wrote: On Fri, Mar 21, 2014 at 12:06 PM, Roy Smith r...@panix.com wrote: In article 532b8f0d$0$29994$c3e8da3$54964...@news.astraweb.com, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:

Re: Balanced trees

2014-03-11 Thread Alister
On Mon, 10 Mar 2014 19:24:07 -0400, Roy Smith wrote: In article 8761nmrnfk@elektro.pacujo.net, Marko Rauhamaa ma...@pacujo.net wrote: Anyway, this whole debate is rather unnecessary since every developer is supposed to have both weapons in their arsenal. The problem with having a

Re: Tuples and immutability

2014-03-07 Thread Alister
On Fri, 07 Mar 2014 09:33:49 +, Duncan Booth wrote: Chris Angelico ros...@gmail.com wrote: On Sat, Mar 1, 2014 at 1:41 AM, Joshua Landau jos...@landau.ws wrote: Would it be better to add a check here, such that if this gets raised to the top-level it includes a warning (Addition was

Re: How to create an instance of a python class from C++

2014-03-05 Thread Alister
On Wed, 05 Mar 2014 16:08:00 +, Grant Edwards wrote: On 2014-03-05, Ian Kelly ian.g.ke...@gmail.com wrote: On Tue, Mar 4, 2014 at 5:14 PM, Bill galaxyblu...@gmail.com wrote: Hello: I can't figure out how to create an instance of a python class from 'C++': ( I am relatively new to

Re: Reference

2014-03-04 Thread Alister
On Tue, 04 Mar 2014 09:18:57 +1100, Ben Finney wrote: Marko Rauhamaa ma...@pacujo.net writes: Mark Lawrence breamore...@yahoo.co.uk: I'd just like to know why people are so obsessed with identities, I've never thought to use them in 10+ years of writing Python. Do I use the KISS

Re: Functional programming

2014-03-03 Thread Alister
On Mon, 03 Mar 2014 06:14:09 +0700, musicdenotation wrote: If Python is not a fnctional language, then which programming paradigmis dominant? Python follows the Pythonic paradigm :-) -- Hope this helps some, sorry for not being able to do a brain dump. - Mike Stump helping a

Re: posting code snippets

2014-03-02 Thread Alister
On Sun, 02 Mar 2014 09:16:35 +1100, Chris Angelico wrote: On Sat, Mar 1, 2014 at 1:31 AM, Grant Edwards invalid@invalid.invalid wrote: You drag out the lab scope, logic analyzer, spectrum analyzer, sweep generator, strip plotter, and the machine that goes ping. You start to get everything

Re: Output JSON-schema from bottle application?

2014-02-28 Thread Alister
On Fri, 28 Feb 2014 14:49:07 +1100, Alec Taylor wrote: Are there libraries for doing this? I would like to autogenerate JSON-schema for use inside an API explorer. However whenever there is a schema change; I would only like to change the schema in one place (where possible). E.g.: For

Re: exec and locals

2014-02-27 Thread Alister
On Thu, 27 Feb 2014 00:31:56 +, Steven D'Aprano wrote: On Wed, 26 Feb 2014 14:00:59 +, Alister wrote: On Wed, 26 Feb 2014 13:15:25 +, Steven D'Aprano wrote: I have to dynamically generate some code inside a function using exec, but I'm not sure if it is working by accident

Re: exec and locals

2014-02-26 Thread Alister
On Wed, 26 Feb 2014 13:15:25 +, Steven D'Aprano wrote: I have to dynamically generate some code inside a function using exec, but I'm not sure if it is working by accident or if I can rely on it. Here is a trivial example: py def spam(): ... exec( x = 23 ) ... return x ...

Re: Remove comma from tuples in python.

2014-02-21 Thread Alister
On Fri, 21 Feb 2014 11:13:30 +0200, Jussi Piitulainen wrote: Gary Herron writes: On 02/20/2014 10:49 PM, Jaydeep Patil wrote: I am getting below tuple from excel. How should i remove extra commas in each tuple to make it easy for operations. tuples is: seriesxlist1 = ((0.0),

Re: Puzzling PDF

2014-02-16 Thread Alister
On Sun, 16 Feb 2014 10:33:39 -0500, Roy Smith wrote: In article mailman.7056.1392559276.18130.python-l...@python.org, F.R. anthra.nor...@bluewin.ch wrote: Hi all, Struggling to parse bank statements unavailable in sensible data-transfer formats, I use pdftotext, which solves part of the

Re: Explanation of list reference

2014-02-16 Thread Alister
On Sat, 15 Feb 2014 10:44:39 +0100, Christian Gollwitzer wrote: Am 15.02.14 01:57, schrieb Chris Angelico: Can you give an example of an ambiguous case? Fundamentally, the 'is' operator tells you whether its two operands are exactly the same object, nothing more and nothing less, so I assume

Re: Calculator Problem

2014-02-02 Thread Alister
On Sun, 02 Feb 2014 13:16:44 -0800, Charlie Winn wrote: Hey Guys i Need Help , When i run this program i get the 'None' Under the program, see what i mean by just running it , can someone help me fix this def Addition(): print('Addition: What are two your numbers?') 1 =

Re: buggy python interpretter or am I missing something here?

2014-01-27 Thread Alister
O My python stuff is all rapid application development for personal projects. If I need to do anything serious I take the time to do it in C+ +. Many people Prototype in python then re-factor into a compiled language later if needed (often it turns out there is not really any need :-) )

Re: [newbie] advice and comment wanted on first tkinter program

2014-01-22 Thread Alister
On Wed, 22 Jan 2014 06:45:53 -0800, Jean Dupont wrote: Op maandag 20 januari 2014 10:17:15 UTC+1 schreef Alister: On Sun, 19 Jan 2014 20:04:05 -0800, Jean Dupont wrote: Op zaterdag 18 januari 2014 16:12:41 UTC+1 schreef Oscar Benjamin: On 18 January 2014 14:52, Jean Dupont jeandupont

Re: [newbie] advice and comment wanted on first tkinter program

2014-01-20 Thread Alister
On Sun, 19 Jan 2014 20:04:05 -0800, Jean Dupont wrote: Op zaterdag 18 januari 2014 16:12:41 UTC+1 schreef Oscar Benjamin: On 18 January 2014 14:52, Jean Dupont jeandupont...@gmail.com wrote: Thanks Peter and Terry Jan for the useful suggestions. One thing which I find a bit weird: when

Re: Can post a code but afraid of plagiarism

2014-01-20 Thread Alister
On Sun, 19 Jan 2014 23:55:59 -0800, indar kumar wrote: Thanks all for help and positive comments. Actually, I tried to ask some questions but I was discouraged to do so saying that I was working on a project or some assignment. Truth be told I am stuck at one point and since I don't have

Re: Compiling main script into .pyc

2014-01-17 Thread Alister
On Thu, 16 Jan 2014 17:01:51 -0800, Sam wrote: One thing I observe about python byte-code compiling is that the main script does not gets compiled into .pyc. Only imported modules are compiled into .pyc. May I know how can I compile the main script into .pyc? It is to inconvenience

Re: What's correct Python syntax?

2014-01-14 Thread Alister
On Tue, 14 Jan 2014 00:46:56 -0800, Igor Korot wrote: Hi, ALL, I'm trying to process a file which has following lines: 192.168.1.6 192.168.1.7: ICMP echo request, id 100, seq 200, length 30 (this is the text file out of tcpdump) Now I can esily split the line twice: once by ':' symbol

Re: Time zones and why they change so damned often

2014-01-11 Thread Alister
On Sat, 11 Jan 2014 07:52:36 +, Bob Martin wrote: we dont have Daylight saving time we switch between GMT (Greenwich Mean Time) and BST (British Summer Time) at some point in the past we have also used DST (Double Summer Time). British Summer Time *is* Daylight Saving Time. My point is in

Re: Time zones and why they change so damned often

2014-01-11 Thread Alister
On Sat, 11 Jan 2014 11:10:41 +, Alister wrote: On Sat, 11 Jan 2014 07:52:36 +, Bob Martin wrote: we dont have Daylight saving time we switch between GMT (Greenwich Mean Time) and BST (British Summer Time) at some point in the past we have also used DST (Double Summer Time). British

Re: Time zones and why they change so damned often

2014-01-11 Thread Alister
On Sat, 11 Jan 2014 11:10:41 +, Alister wrote: On Sat, 11 Jan 2014 07:52:36 +, Bob Martin wrote: we dont have Daylight saving time we switch between GMT (Greenwich Mean Time) and BST (British Summer Time) at some point in the past we have also used DST (Double Summer Time). British

Re: Constructive Criticism

2014-01-10 Thread Alister
On Thu, 09 Jan 2014 13:05:23 -0800, jeremiah valerio wrote: On Thursday, January 9, 2014 2:54:44 PM UTC-6, Christopher Welborn wrote: On 01/08/2014 11:56 PM, jeremiahvalerio...@gmail.com wrote: Hi, hows it going I've been self teaching myself python, and i typed up this small script now

Re: Time zones and why they change so damned often

2014-01-10 Thread Alister
On Fri, 10 Jan 2014 07:31:11 +, Bob Martin wrote: in 714232 20140109 120741 Alister alister.w...@ntlworld.com wrote: On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: On 09/01/2014 04:14, Chris Angelico wrote: On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney ben+pyt...@benfinney.id.au

Re: Learning python networking

2014-01-09 Thread Alister
On Wed, 08 Jan 2014 19:49:40 -0800, Dan Stromberg wrote: The third quote, from Brian Kernighan, seems to underestimate the complexity of asynchronous programming in the large - it's probably not just twice as hard. Perhaps it should be rephrased as at least twice as hard It really does pay

Re: Time zones and why they change so damned often

2014-01-09 Thread Alister
On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: On 09/01/2014 04:14, Chris Angelico wrote: On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney ben+pyt...@benfinney.id.au wrote: I'm approaching it with the goal of knowing better what I'm talking about when I advocate scrapping the whole DST

Re: Editor for Python

2014-01-08 Thread Alister
On Wed, 08 Jan 2014 16:13:09 +0100, Jean-Michel Pichavant wrote: - Original Message - I've been pleased with Komodo, and certainly prefer it over Notepad++. Komodo: http://www.activestate.com/komodo-ide?gclid=COHE4eLj7rsCFQISMwodOUQAiw Komodo is an IDE and costs 385$. I

Re: [newbie] trying socket as a replacement for nc

2013-12-12 Thread Alister
On Thu, 12 Dec 2013 01:21:27 -0800, Jean Dubois wrote: On Thursday, December 12, 2013 9:21:32 AM UTC+1, Chris Angelico wrote: On Thu, Dec 12, 2013 at 7:08 PM, Jean Dubois jeandubois...@gmail.com wrote: Thanks for the reply, I changed the line you mentioned to s.send('*IDN?\n')

Re: [newbie] trying socket as a replacement for nc

2013-12-12 Thread Alister
On Thu, 12 Dec 2013 01:21:27 -0800, Jean Dubois wrote: On Thursday, December 12, 2013 9:21:32 AM UTC+1, Chris Angelico wrote: On Thu, Dec 12, 2013 at 7:08 PM, Jean Dubois jeandubois...@gmail.com wrote: Thanks for the reply, I changed the line you mentioned to s.send('*IDN?\n')

Re: Managing Google Groups headaches

2013-11-28 Thread Alister
On Fri, 29 Nov 2013 02:08:17 +1100, Chris Angelico wrote: On Fri, Nov 29, 2013 at 2:04 AM, rusi rustompm...@gmail.com wrote: Its really quite unclear to me why GG is a problem if all the problems of GG are obviated. Which is easier, fiddling around with your setup so you can post

Re: Managing Google Groups headaches

2013-11-28 Thread Alister
On Fri, 29 Nov 2013 02:08:17 +1100, Chris Angelico wrote: On Fri, Nov 29, 2013 at 2:04 AM, rusi rustompm...@gmail.com wrote: Its really quite unclear to me why GG is a problem if all the problems of GG are obviated. Which is easier, fiddling around with your setup so you can post

Re: Managing Google Groups headaches

2013-11-28 Thread Alister
On Fri, 29 Nov 2013 02:08:17 +1100, Chris Angelico wrote: On Fri, Nov 29, 2013 at 2:04 AM, rusi rustompm...@gmail.com wrote: Its really quite unclear to me why GG is a problem if all the problems of GG are obviated. Which is easier, fiddling around with your setup so you can post

Re: Managing Google Groups headaches

2013-11-28 Thread Alister
On Fri, 29 Nov 2013 02:08:17 +1100, Chris Angelico wrote: On Fri, Nov 29, 2013 at 2:04 AM, rusi rustompm...@gmail.com wrote: Its really quite unclear to me why GG is a problem if all the problems of GG are obviated. Which is easier, fiddling around with your setup so you can post

Re: Managing Google Groups headaches

2013-11-28 Thread Alister
On Thu, 28 Nov 2013 08:22:27 -0800, rusi wrote: On Thursday, November 28, 2013 9:20:39 PM UTC+5:30, Alister wrote: On Fri, 29 Nov 2013 02:08:17 +1100, Chris Angelico wrote: On Fri, Nov 29, 2013 at 2:04 AM, rusi wrote: Its really quite unclear to me why GG is a problem if all

Re: parsing nested unbounded XML fields with ElementTree

2013-11-26 Thread Alister
On Mon, 25 Nov 2013 18:25:55 -0500, Larry Martell wrote: On Mon, Nov 25, 2013 at 6:19 PM, Chris Angelico ros...@gmail.com wrote: On Tue, Nov 26, 2013 at 9:45 AM, Larry Martell larry.mart...@gmail.com wrote: On Monday, November 25, 2013 5:30:44 PM UTC-5, Chris Angelico wrote: First

Re: parsing nested unbounded XML fields with ElementTree

2013-11-26 Thread alister
On 26/11/13 11:59, Larry Martell wrote: On Tue, Nov 26, 2013 at 5:41 AM, Alister alister.w...@ntlworld.com wrote: On Mon, 25 Nov 2013 18:25:55 -0500, Larry Martell wrote: On Mon, Nov 25, 2013 at 6:19 PM, Chris Angelico ros...@gmail.com wrote: On Tue, Nov 26, 2013 at 9:45 AM, Larry Martell

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-26 Thread Alister
On Wed, 27 Nov 2013 01:52:11 +1100, Chris Angelico wrote: On Wed, Nov 27, 2013 at 1:37 AM, Roy Smith r...@panix.com wrote: We live in an international world (otherwise we wouldn't need that annoying unicode stuff). When you say, effort to be understandable, what you're really saying is,

Re: Python application for rpm creation

2013-11-25 Thread Alister
On Mon, 25 Nov 2013 19:47:44 +0530, Unix SA wrote: Hello guys, Probably not right forum but I thought I should get some suggestions. I am looking for some tool written in python which can help users to create rpm spec files and later help to build rpms, this will be for users who are not

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states, [count] how many positive integers less than N are not divisible by 2,3 or 5. Two is not divisible

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states, [count] how many positive integers less than N are not divisible by 2,3 or 5. Two is not divisible

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count because it isn't divisible by 3. The question states

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 14:49:59 +, Alister wrote: On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 15:06:44 +, Alister wrote: On Wed, 20 Nov 2013 14:49:59 +, Alister wrote: On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 14:49:59 +, Alister wrote: On Wed, 20 Nov 2013 13:57:30 +, Mark Lawrence wrote: On 20/11/2013 09:29, Alister wrote: On Wed, 20 Nov 2013 00:54:28 -0500, Dave Angel wrote: On 20 Nov 2013 03:52:10 GMT, Steven D'Aprano st...@pearwood.info wrote: 2 does count

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Thu, 21 Nov 2013 02:14:12 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 2:09 AM, Alister alister.w...@ntlworld.com wrote: must be a strange quirk of pan turned off hide to system tray allow multiple instances. Hmm. Hard to know, but I can imagine that having multiple instances

Multiple postings

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 15:35:14 +, Alister wrote: On Thu, 21 Nov 2013 02:14:12 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 2:09 AM, Alister alister.w...@ntlworld.com wrote: must be a strange quirk of pan turned off hide to system tray allow multiple instances. Hmm. Hard

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Thu, 21 Nov 2013 02:14:12 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 2:09 AM, Alister alister.w...@ntlworld.com wrote: must be a strange quirk of pan turned off hide to system tray allow multiple instances. Hmm. Hard to know, but I can imagine that having multiple instances

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Thu, 21 Nov 2013 02:14:12 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 2:09 AM, Alister alister.w...@ntlworld.com wrote: must be a strange quirk of pan turned off hide to system tray allow multiple instances. Hmm. Hard to know, but I can imagine that having multiple instances

Re: Total Python Newbie needs geting started info.

2013-11-20 Thread Alister
On Thu, 21 Nov 2013 03:14:44 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 3:03 AM, Ev J shorepoin...@gmail.com wrote: Before I go too far down this road, I need to know if I can/should use this environment to develop GUI applications. Is there graphical support for this - for example

Re: Newbie - Trying to Help a Friend

2013-11-20 Thread Alister
On Wed, 20 Nov 2013 16:29:54 +, Mark Lawrence wrote: On 20/11/2013 15:34, Alister wrote: On Thu, 21 Nov 2013 02:14:12 +1100, Chris Angelico wrote: On Thu, Nov 21, 2013 at 2:09 AM, Alister alister.w...@ntlworld.com wrote: must be a strange quirk of pan turned off hide to system tray

Re: Automation

2013-11-19 Thread Alister
On Tue, 19 Nov 2013 22:58:35 +1100, Chris Angelico wrote: On Tue, Nov 19, 2013 at 10:53 PM, Walter Hurry walterhu...@lavabit.com wrote: On Tue, 19 Nov 2013 21:48:10 +1100, Chris Angelico wrote: I guessed Scots for the second one because it didn't look Welsh and it seemed plausible to get a

Re: Automation

2013-11-19 Thread Alister
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote: On Tue, Nov 19, 2013 at 11:36 PM, Alister alister.w...@ntlworld.com wrote: the language nationality is Scottish, the people are Scots Scotch is a type of whisky. Hmm, I don't know that it's that clear-cut (other than the drink

Re: Automation

2013-11-19 Thread Alister
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote: On Tue, Nov 19, 2013 at 11:36 PM, Alister alister.w...@ntlworld.com wrote: the language nationality is Scottish, the people are Scots Scotch is a type of whisky. Hmm, I don't know that it's that clear-cut (other than the drink

Re: Automation

2013-11-19 Thread Alister
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote: On Tue, Nov 19, 2013 at 11:36 PM, Alister alister.w...@ntlworld.com wrote: the language nationality is Scottish, the people are Scots Scotch is a type of whisky. Hmm, I don't know that it's that clear-cut (other than the drink

Re: Automation

2013-11-19 Thread Alister
On Tue, 19 Nov 2013 23:52:09 +1100, Chris Angelico wrote: On Tue, Nov 19, 2013 at 11:36 PM, Alister alister.w...@ntlworld.com wrote: the language nationality is Scottish, the people are Scots Scotch is a type of whisky. Hmm, I don't know that it's that clear-cut (other than the drink

Re: Automation

2013-11-15 Thread Alister
On Sat, 16 Nov 2013 02:12:16 +1100, Chris Angelico wrote: On Sat, Nov 16, 2013 at 2:02 AM, Grant Edwards invalid@invalid.invalid wrote: And yes, people can _easily_ tell the difference between errors caused by being lazy/sloppy and errors caused by writing in a second language. Yes, and

Re: Automation

2013-11-15 Thread Alister
On Fri, 15 Nov 2013 16:53:58 +, Neil Cerutti wrote: On 2013-11-15, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 14 Nov 2013 20:03:44 +, Alister wrote: As a native of England I have to agree it is far to arrogant to expect everyone else to be able to speak good

Re: Automation

2013-11-15 Thread Alister
On Fri, 15 Nov 2013 20:12:27 +, Alister wrote: On Fri, 15 Nov 2013 16:53:58 +, Neil Cerutti wrote: On 2013-11-15, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Thu, 14 Nov 2013 20:03:44 +, Alister wrote: As a native of England I have to agree it is far

Re: To whoever hacked into my Database

2013-11-14 Thread Alister
On Thu, 14 Nov 2013 12:46:29 +0200, Ferrous Cranus wrote: This must have happened when i was handling my root passwords out in the open. Served me well. At least you seem to be learning this lesson Can somebody explain to me why there is so many failed attempts to login into my linux

Re: To whoever hacked into my Database

2013-11-14 Thread Alister
On Thu, 14 Nov 2013 15:24:32 +0200, Ferrous Cranus wrote: Στις 14/11/2013 2:32 μμ, ο/η Alister έγραψε: On Thu, 14 Nov 2013 12:46:29 +0200, Ferrous Cranus wrote: This must have happened when i was handling my root passwords out in the open. Served me well. At least you seem to be learning

Re: Automation

2013-11-14 Thread Alister
On Thu, 14 Nov 2013 17:10:02 +, Mark Lawrence wrote: On 14/11/2013 03:56, renato.barbosa.pim.pere...@gmail.com wrote: I apologize again for my bad english and any inconvenience that I have generated. I do wish that people would stop apologising for poor English, it's an extremely

Re: PyMyth: Global variables are evil... WRONG!

2013-11-14 Thread Alister
On Thu, 14 Nov 2013 09:56:04 -0800, Ethan Furman wrote: On 11/14/2013 09:37 AM, Joel Goldstick wrote: So, beyond that, what is the point of the thread? You haven't met Ranting Rick yet? He's a troll's troll, outdone only by one other whose name I don't remember. His posts are,

Re: PyMyth: Global variables are evil... WRONG!

2013-11-12 Thread Alister
On Mon, 11 Nov 2013 18:06:09 -0800, Rick Johnson wrote: In this thread, i want to get to the bottom of this whole global-phobia thing once and for all, and hopefully help you folks understand that globals are not all that bad -- when DESIGNED and USED correctly that is! it is the final

Re: datetime question

2013-11-12 Thread Alister
On Tue, 12 Nov 2013 09:54:44 -0600, Tim Chase wrote: On 2013-11-12 17:24, Ferrous Cranus wrote: But what of the server was in California and i live in Greece? How would datetime.now() work then? Best practices say to move the value from local time to UTC as soon as possible, then

Re: To whoever hacked into my Database

2013-11-10 Thread Alister
On Sun, 10 Nov 2013 01:44:17 +, ishish wrote: Am 09.11.2013 15:07, schrieb Steven D'Aprano: ... Nikos, you have annoyed and alienated enough people here... Sorry, I DO NOT AGREE! These threads keep my entire office entertained. I would even go so far to suggest, that we should set up

Re: To whoever hacked into my Database

2013-11-07 Thread Alister
On Thu, 07 Nov 2013 01:31:17 -0800, Ferrous Cranus wrote: Τη Πέμπτη, 7 Νοεμβρίου 2013 11:15:02 π.μ. UTC+2, ο χρήστης Steve Simmons έγραψε: Please tell me you aren't storing details of customers and payments on your Web server. Oh but i do! I need this information to be accessible

Re: Help with my programming homework (python, and raptor)

2013-11-07 Thread Alister
On Thu, 07 Nov 2013 12:07:06 +1100, Chris Angelico wrote: On Thu, Nov 7, 2013 at 11:56 AM, jonny seelye casiobo...@gmail.com wrote: Employee Salaries Use the following test data to test your program. Employee Name Salary John$45,600 Average Salary: $63, 862.50 Sue $55,400

<    1   2   3   4   5   6   7   8   >