Re: Checking Common File Types

2013-12-01 Thread rusi
On Monday, December 2, 2013 5:11:15 AM UTC+5:30, jade wrote: To: pytho...@python.org From: wlf...@ix.netcom.com Subject: Re: Checking Common File Types Date: Sun, 1 Dec 2013 18:23:22 -0500 On Sun, 1 Dec 2013 18:27:16 +, jade jade...@msn.com declaimed the following: Hello,

Re: Change a file type in Python?

2013-11-30 Thread rusi
On Sunday, December 1, 2013 5:34:11 AM UTC+5:30, Eamonn Rea wrote: Thanks for the help! Ok, I'll look into the mailing list. [Assuming you are using GG with firefox on linux] All you need to do is 1. Install 'Its all text' FF addon 2. Point the 'editor' of 'Its all text' to the below python

Re: Change a file type in Python?

2013-11-30 Thread rusi
On Sunday, December 1, 2013 8:52:03 AM UTC+5:30, Chris Angelico wrote: On Sun, Dec 1, 2013 at 2:02 PM, rusi wrote: On Sunday, December 1, 2013 5:34:11 AM UTC+5:30, Eamonn Rea wrote: Thanks for the help! Ok, I'll look into the mailing list. [Assuming you are using GG with firefox

Curing google groups issues (was parsing nested unbounded XML…)

2013-11-28 Thread rusi
On Tuesday, November 26, 2013 4:55:55 AM UTC+5:30, larry@gmail.com wrote: Not sure what you mean by malformed. I don't really care for Google Groups, but I've been using it to post to this any other groups for years (since rn and deja news went away) and no one ever said my posts were

Managing Google Groups headaches

2013-11-28 Thread rusi
This silly google-groups does not reflect changed subject lines!! That means that GG users who may want to read this may not see it. So reposting as a new thread: -- Here's what I do to manage the GG-headaches: 1. Firefox needs to have the Its all text addon

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
On Thursday, November 28, 2013 7:28:14 PM UTC+5:30, Chris Angelico wrote: On Fri, Nov 29, 2013 at 12:52 AM, rusi wrote: Here's what I do to manage the GG-headaches: Useful tips, I am sure, but they solve the problem only for you. Everyone who reads python-list/c.l.p will have to implement

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
On Thursday, November 28, 2013 7:55:52 PM UTC+5:30, Chris Angelico wrote: On Fri, Nov 29, 2013 at 1:17 AM, rusi wrote: The problems with GG as I understand are 1. Double spacing 2. Long lines As far as I can see both are cured with the method outlined. If its not for others and only

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
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 the problems of GG are obviated. Which is easier, fiddling

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
Here's a 1-click pure python solution. As I said I dont know how to manage errors! 1. Put it in a file say cleangg.py and make it executable 2. Install it as the 'editor' for the Its all text firefox addon 3. Click the edit and you should get a cleaned out post --

Re: Getting the Appdata Directory with Python and PEP?

2013-11-28 Thread rusi
On Thursday, November 28, 2013 9:41:30 PM UTC+5:30, Eamonn Rea wrote: Oh, sorry, I'm new to how Google Groups works. I wonder why it lays it out like that. Can it not just show quotes like the way that PHPbb does? I never thought of reading the source code, thanks! :-) Oh, and the last

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
On Thursday, November 28, 2013 11:59:13 PM UTC+5:30, Michael Torrie wrote: On 11/28/2013 10:23 AM, Ned Batchelder wrote: Funny, I thought the sentiment of many here was, let's just keep this as a newsgroup, why do we need the mailing list also? but I'll admit to being confused about what

Re: Managing Google Groups headaches

2013-11-28 Thread rusi
On Friday, November 29, 2013 12:07:29 AM UTC+5:30, rusi wrote: On Thursday, November 28, 2013 11:59:13 PM UTC+5:30, Michael Torrie wrote: On 11/28/2013 10:23 AM, Ned Batchelder wrote: Funny, I thought the sentiment of many here was, let's just keep this as a newsgroup, why do we need

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

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 7:41:54 AM UTC+5:30, Ned Batchelder wrote: On 11/26/13 8:26 PM, Rick Johnson wrote: Classic Rick Rant And will you be here to explain to time-travelling Shakespeare why we are all of us speaking English completely wrong (to his ears)? And to my (Indian!!)

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

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 3:02:54 PM UTC+5:30, rusi wrote: [Last line cut-off by mistake!] It is my impression that the arguments that happen in/around programming languages are more-heat-less-light than in typical art/science because artistic questions masquerade

Re: Completely and utterly Off Topic [was Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !]

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 12:18:11 PM UTC+5:30, Steven D'Aprano wrote: On Tue, 26 Nov 2013 17:26:48 -0800, Rick Johnson wrote: [...] A new home-run record! What is this home-run of which you speak? Houses don't generally run. Surely you're not using a regional idiom outside of your

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

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 6:27:52 PM UTC+5:30, Robert Kern wrote: On 2013-11-27 08:16, Antoon Pardon wrote: Op 26-11-13 22:42, Tim Delaney schreef: On 27 November 2013 03:57, Antoon Pardon wrote: So I can now ask my questions in dutch and expect others to try and

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

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 7:39:37 PM UTC+5:30, Larry wrote: On Wed, Nov 27, 2013 at 5:31 AM, Paul Rudin wrote: rusi writes: Propositionally: All languages are equal -- Turing complete As an aside, not all languages are Turing complete. For example Charity is a language

Re: Wrapping around a list

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 4:16:50 PM UTC+5:30, Amjad Syed wrote: Hello, I am working on a problem (Bioinformatics domain) where all possible combinations of input string needs to be printed as sublist If we take the standard combinations (Pascal triangle) result nCr + nCr-1 = n+1Cr

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

2013-11-27 Thread rusi
On Wednesday, November 27, 2013 9:55:12 PM UTC+5:30, Tim Chase wrote: On 2013-11-27 01:32, rusi wrote: And will you be here to explain to time-travelling Shakespeare why we are all of us speaking English completely wrong (to his ears)? And to my (Indian!!) ears when Tim says 'plank

Re: Access database - GUI - Python - I need architectural advice

2013-11-27 Thread rusi
On Thursday, November 28, 2013 3:05:13 AM UTC+5:30, jm.almeras wrote: Hello ! I wish to develop a database application with a lot of specific functionnalities dealing with sound files. I have developped an Access prototype and run into a first problem : it is not so easy to find code

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

2013-11-22 Thread rusi
On Friday, November 22, 2013 6:22:29 PM UTC+5:30, Bharath Kummar wrote: Hello Sir/Mam,  Could you please help me with my current research ?  Am implementing the concept in python language.  My doubts are : 1)  Is it possible to Retrieve the address of a variable in python ? 2)  Is it

Re: Having trouble setting up an extremely simple server...

2013-11-21 Thread rusi
On Friday, November 22, 2013 11:02:43 AM UTC+5:30, Steven D'Aprano wrote: To a fluent Python programmer, that's what semi-colons are like, although to a lesser degree. An unnecessary distraction and annoyance, rather like people who talk like this: Er, I prefer, um, using the semicolons,

Re: PYTHON 3.4 LEFTOVERS

2013-11-17 Thread rusi
On Sunday, November 17, 2013 2:42:05 PM UTC+5:30, Ferrous Cranus wrote: Στις 16/11/2013 6:46 μμ, ο/η YBM έγραψε: You are utterly stupid: 1st: rm does not read its standard input so doing whatever | rm -fr is useless 2st: even if it had worked (i.e. removed the files) they would still

Re: New user's initial thoughts / criticisms of Python

2013-11-11 Thread rusi
On Monday, November 11, 2013 7:31:07 PM UTC+5:30, Roy Smith wrote: On Saturday, November 9, 2013 10:30:26 AM UTC-6, rusi wrote: print ( {mon:mondays suck, tue:at least it's not monday, wed:humpday }.get(day_of_week,its some other day) ) Rick

Re: New user's initial thoughts / criticisms of Python

2013-11-09 Thread rusi
On Saturday, November 9, 2013 6:38:25 PM UTC+5:30, John von Horn wrote: Another useful tool in the programmer's toolbox Select DayofWeek case mon ... end select You can typically write this in python as a dictionary cases = {mon: do_mon-action, tue, do_tue_action,

Re: New user's initial thoughts / criticisms of Python

2013-11-09 Thread rusi
On Saturday, November 9, 2013 9:26:02 PM UTC+5:30, Roy Smith wrote: In article rusi wrote: On Saturday, November 9, 2013 6:38:25 PM UTC+5:30, John von Horn wrote: Another useful tool in the programmer's toolbox Select DayofWeek case mon ... end select You can typically

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-08 Thread rusi
On Friday, November 8, 2013 9:18:05 PM UTC+5:30, jonas.t...@gmail.com wrote: Den fredagen den 8:e november 2013 kl. 03:43:17 UTC+1 skrev zipher: I am not sure if it is just stupidness or laziness that prevent you from seeing that 4^8=65536. I can see that 4^8 = 65536. Now how are you

Re: To whoever hacked into my Database

2013-11-08 Thread rusi
On Friday, November 8, 2013 11:38:37 PM UTC+5:30, Chris Angelico wrote: On Sat, Nov 9, 2013 at 4:11 AM, rurpy wrote: On 11/08/2013 03:05 AM, Νίκος Αλεξόπουλος wrote: I never ignore advices. I read all answers as carefully as i can. But nevertheless sometimes i feel things should have

Re: To whoever hacked into my Database

2013-11-08 Thread rusi
On Saturday, November 9, 2013 8:45:17 AM UTC+5:30, rusi wrote: I recollect Denis saying with a great deal of IRRITATION that he had installed something (dont remember exactly what) and tried it out on his machine JUST TO HELP NIKOS. By which I meant to say also that Nikos is not just getting

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-07 Thread rusi
On Friday, November 8, 2013 7:55:18 AM UTC+5:30, jonas wrote: Den fredagen den 8:e november 2013 kl. 03:17:36 UTC+1 skrev Chris Angelico: On Fri, Nov 8, 2013 at 1:05 PM, jonas.thornvall wrote: I guess what matter is how fast an algorithm can encode and decode a big number, at least if

Re: Adding 'download' column to existing 'visitors' table (as requested)

2013-11-06 Thread rusi
On Wednesday, November 6, 2013 11:29:11 PM UTC+5:30, Denis McMahon wrote: On Wed, 06 Nov 2013 09:30:03 +0200, Nick the Gr33k wrote: I have decided to take your advice. No you haven't. You only think you have, but really you either haven't… No, you think that he thinks that he has. Of

Re: Algorithm that makes maximum compression of completly diffused data.

2013-11-04 Thread rusi
On Monday, November 4, 2013 7:57:19 PM UTC+5:30, Dave Angel wrote: On Mon, 4 Nov 2013 05:53:28 -0800 (PST), Jonas wrote: Well let me try to explain why it is working and i have implemented one. I only need to refresh my memory it was almost 15 years ago. This is not the solution but this is

Re: [Python-ideas] os.path.join

2013-11-04 Thread rusi
On Monday, November 4, 2013 9:47:18 PM UTC+5:30, Chris Angelico wrote: Blargh, wrong list. It should have been private anyway. Kindly take no notice of the man behind the 3AM clock... ChrisA Ive got a little list Ive got a little list For Australians of all kinds Ive got a little list --

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Sunday, November 3, 2013 11:15:48 AM UTC+5:30, E.D.G. wrote: rusi wrote: Not sure what will… you may look at Julia: http://julialang.org/ That program language speed comparison table looks quite interesting. And I asked some of the other people that I work with to take a look

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Sunday, November 3, 2013 1:13:13 PM UTC+5:30, Steven D'Aprano wrote: On Sun, 03 Nov 2013 01:02:24 -0500, E.D.G. wrote: [...] Since Perl has a calculation speed limit that is probably not easy to get around, before too long another language will be selected for initially doing certain

Re: Basic Python Questions - Oct. 31, 2013

2013-11-03 Thread rusi
On Monday, November 4, 2013 12:28:24 AM UTC+5:30, Mark Lawrence wrote: On 03/11/2013 18:28, rusi wrote: Which means take something like the pairwise function and code it up in python and julia -- its hardly 10 lines of code. And see what comparative performance you get. Solely

Re: Automation

2013-11-03 Thread rusi
On Sunday, November 3, 2013 9:49:48 PM UTC+5:30, Renato Barbosa Pim Pereira wrote: I have one .xls file with the values of PV MV and SP, I wanna to calculate Kp Ki Kd with python from this file, can anyone give me any suggestion about how can I do this? From now, thanks. You need something

Re: Python on a MacBook Pro (not my machine)

2013-11-02 Thread rusi
On Sunday, October 27, 2013 12:37:40 AM UTC+5:30, John Ladasky wrote: Hi folks, My side job as a Python tutor continues to grow. In two weeks, I will start working with a high-school student who owns a MacBook Pro. So, what other free and lightweight editing options do I have for a Mac?

Re: Python on a MacBook Pro (not my machine)

2013-11-02 Thread rusi
On Saturday, November 2, 2013 10:26:01 PM UTC+5:30, paul@rudin.co.uk wrote: nf7 writes: MacVim is the best text editor... fighting talk! :) No I am not muscular enough to return the fighting talk... Except to say that nf7 is top-posting --

Re: How to add a current string into an already existing list

2013-11-02 Thread rusi
On Saturday, November 2, 2013 10:13:06 PM UTC+5:30, Denis McMahon wrote: On Sat, 02 Nov 2013 18:25:31 +0200, Nick the Gr33k wrote: I just want a mysql column type that can be eligible to store an array of elements, a list that is, no need for having a seperate extra table for that if we

Re: First day beginner to python, add to counter after nested loop

2013-11-01 Thread rusi
On Friday, November 1, 2013 4:47:40 PM UTC+5:30, Alister wrote: On Thu, 31 Oct 2013 04:07:14 -0700, rusi wrote: Also others (Alister?) were double-space-reply-posting as well. When you mean to point out a behavior without getting personal, it helps to point out all instances

Re: XML python to database

2013-11-01 Thread rusi
On Saturday, November 2, 2013 6:01:12 AM UTC+5:30, flebber wrote: What I know and have learnt. - Use lxml to open view and find info from nodes of an XML file My main roadblock is the XML process, I am finding it unclear to understand what tools and how to manage this process. Most

Re: XML python to database

2013-11-01 Thread rusi
On Saturday, November 2, 2013 7:31:20 AM UTC+5:30, flebber wrote: Yes I have done the lxml search and learnt how to open view and query the file. But what is the next step in the process? To get it so that I can reliably push XML files to my database repeatedly. Looking for a basic

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 2:37:31 AM UTC+5:30, Antoon Pardon wrote: Op 30-10-13 21:52, Ned Batchelder schreef: On 10/30/13 3:59 PM, Antoon Pardon wrote: Op 30-10-13 20:13, Jonas schreef: No it isn't... The programmers of the tools on either of side will have to adapt. I wish it

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 3:41:41 PM UTC+5:30, Mark Lawrence wrote: On 31/10/2013 07:37, rusi wrote: If Mark had not been rude to Jonas and explained to him at a little more length, maybe he would not be assholing in full-blast. What rubbish. The OP was asked repeatedly, first by Dave

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 4:42:15 PM UTC+5:30, Antoon Pardon wrote: Op 31-10-13 08:37, rusi schreef: 2. Antoon: I was a bit surprised at your siding with the indentation business. As an old-geezer programmer I can think of a number of reasons why, indentation=structure is a problem

Re: Algorithm that makes maximum compression of completly diffused data.

2013-10-31 Thread rusi
On Thursday, October 31, 2013 3:00:24 AM UTC+5:30, Joshua Landau wrote: What I'm confounded about is this list's inability to recognise a troll when it slaps it vocally in the face. This isn't like Nikos. There's no troll vs. incompetent debate to be had. Its usually called entertainment.

Re: First day beginner to python, add to counter after nested loop

2013-10-31 Thread rusi
On Thursday, October 31, 2013 7:31:14 PM UTC+5:30, Mark Lawrence wrote: On 31/10/2013 11:40, rusi wrote: Please treat python as a given -- like the sun, moon and taxes. You missed the most obvious one, trolls :) :D Only that's not an element but a set -- trolls, nuts, dicks, philosophers

Re: Basic Python Questions - Oct. 31, 2013

2013-10-31 Thread rusi
On Thursday, October 31, 2013 4:08:48 PM UTC+5:30, E.D.G. wrote: Posted by E.D.G. October 31, 2013 Hi Chris, Thanks for the responses. Several of my questions were answered. The calculation speed question just involves relatively simple math such as multiplications and

Re: Error Testing

2013-10-31 Thread rusi
On Thursday, October 31, 2013 8:50:27 PM UTC+5:30, Neil Cerutti wrote: wrote: This suggests that Pascal went against established practice. This is false. FORTRAN used = and that was a mistake caused by the language being hacked together haphazardly. Respectfully, the designers of FORTRAN

Re: Error Testing

2013-10-31 Thread rusi
On Thursday, October 31, 2013 11:20:52 PM UTC+5:30, Denis McMahon wrote: On Thu, 31 Oct 2013 09:05:04 -0700, rusi wrote: If I say: My uncle knows more about flying planes than the Wright brothers am I disrespecting the Wright brothers?? No, but that's not what you said. What you said

Re: personal library

2013-10-31 Thread rusi
On Wednesday, October 30, 2013 10:18:20 AM UTC+5:30, Chris Angelico wrote: On Wed, Oct 30, 2013 at 3:33 PM, Ben Finney wrote: Chris Angelico writes: *Definitely* use source control. +1, but prefer to call it a “version control system” which is (a) more easily searched on the internet,

Re: Error Testing

2013-10-31 Thread rusi
On Friday, November 1, 2013 8:55:03 AM UTC+5:30, Mark Lawrence wrote: On 01/11/2013 02:27, William Ray Wing wrote: supper computers Somebody must have tough teeth, though thinking about it I recall people eating bicycles :) You just have to be sufficiently non-vegetarian

Re: Error Testing

2013-10-31 Thread rusi
distance between the strings Albert van der Horst and Rusi Mody. But you were objecting not to the state-er but to the statement... -- https://mail.python.org/mailman/listinfo/python-list

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 3:43:03 PM UTC+5:30, jonas.t...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 11:00:30 UTC+1 skrev Mark Lawrence: * * Please stop sending us double spaced crap. * * Mark Lawrence * I am not sure what you want. And then again * You want me to remove the

Re: Small emacs fix for Google group users

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 6:43:33 PM UTC+5:30, rusi wrote: For the double spacing rubbish produced by GG, I hacked up a bit of emacs lisp code snipped -- To try 1. Eval the following in emacs* Tsk! It should be eval the preceding elisp! -- https://mail.python.org/mailman

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 9:05:29 PM UTC+5:30, Jonas Thornval wrote: Den onsdagen den 30:e oktober 2013 kl. 16:09:25 UTC+1 skrev Mark Lawrence: On 30/10/2013 14:31, Jonas Thornval wrote: Would you please be kind enough to read, digest and action this

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
On Wednesday, October 30, 2013 9:27:08 PM UTC+5:30, jonas.t...@gmail.com wrote: Den onsdagen den 30:e oktober 2013 kl. 16:54:19 UTC+1 skrev Mark Lawrence: The simplest solution is that you stop posting, as you've been spewing this double spaced crap all day and show no inclination to do

Re: First day beginner to python, add to counter after nested loop

2013-10-30 Thread rusi
Super Kushal! Below is the result of that First the original Then emacs' cleaned up version! -Original -- On Wednesday, October 30, 2013 10:00:47 PM UTC+5:30, Kushal Kumaran wrote: rusi writes: On Wednesday, October 30, 2013 9:05:29 PM UTC+5

small regexp help

2013-10-30 Thread rusi
Well it seems that we are considerably closer to a solution to the GG double-spaced crap problem. Just wondering if someone can suggest a cleanup of the regexp part Currently I have (elisp) (defun clean-gg () (interactive) 1 (replace-regexp ^ *\n *\n *$ -=\=- nil 0 (point-max)) 2

Re: how to avoid checking the same condition repeatedly ?

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 7:14:51 PM UTC+5:30, Neil Cerutti wrote: On 2013-10-28, Nobody wrote: If you're sufficiently concerned about performance that you're willing to trade clarity for it, you shouldn't be using Python in the first place. When you detect a code small, as

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 8:10:20 PM UTC+5:30, Robert Gonda wrote: Unfortunately I'm not that sort of person, the way my brain learns is by experimenting, but first I need to know exactly what to write. Then I will play around with it and customize it to my needs, sorry to be such a

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 10:01:38 PM UTC+5:30, Robert Gonda wrote: I honestly don't get it? this any better? ;D In google groups you will see a small 'show quoted text' Click it you will see what a cascading avalanche of mess is produced. Yes GG is stupid, not you. But if you use it (as

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 10:35:52 PM UTC+5:30, Robert Gonda wrote: Is this better then? By a bit. For most here not enough Open the 'show quoted text' in your last post it shows like so [Ive replaced '' by '' so GG will show it On Tuesday, October 29, 2013 10:01:38 PM UTC+5:30, Robert

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 10:52:04 PM UTC+5:30, Neil Cerutti wrote: I just want to add that this programming exercise, while pretty common, stinks. A new programmer shouldn't be embroiled in the morass of interactive programming. Cheers to that! If the 'print' statement were called a

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 10:54:08 PM UTC+5:30, ru...@yahoo.com wrote: Also, what Mark and Rusi were trying to say (not very clearly) is that when you post from Google Groups, Google Groups insert a lot of empty lines in the the at the top of the message. So from the most recent post do

Re: Help with guessing game :D

2013-10-29 Thread rusi
On Tuesday, October 29, 2013 11:56:28 PM UTC+5:30, ru...@yahoo.com wrote: On Tuesday, October 29, 2013 11:52:15 AM UTC-6, rusi wrote: On Tuesday, October 29, 2013 10:54:08 PM UTC+5:30, ru...@yahoo.com wrote: Also, what Mark and Rusi were trying to say (not very clearly) is that when you

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-28 Thread rusi
On Monday, October 28, 2013 11:10:21 AM UTC+5:30, ru...@yahoo.com wrote: I updated the page, hopefully it's an improvement? Most people who top-post have no idea that they are top-posting and that there are alternatives and they are preferred (out here)

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-28 Thread rusi
On Monday, October 28, 2013 11:26:21 AM UTC+5:30, rusi wrote: On Monday, October 28, 2013 11:10:21 AM UTC+5:30, ru...@yahoo.com wrote: I updated the page, hopefully it's an improvement? Otherwise ok I think Just looked at the general netiquette link -- its long and not much use

Re: Cookie fucking problem

2013-10-28 Thread rusi
On Monday, October 28, 2013 1:14:50 PM UTC+5:30, Steven D'Aprano wrote: Here's an analogy: Person A: Clean my room for me! Person B: No. Clean it yourself. Here's the vacuum cleaner. Person A: CLEAN MY ROOM!!! Person B: No. You made the mess, you're old enough to clean it yourself.

Re: Cookie fucking problem

2013-10-28 Thread rusi
On Monday, October 28, 2013 10:38:45 PM UTC+5:30, Ned Batchelder wrote: We've already seen a few new people explicitly asking, is this what usually happens on this list? and they weren't referring to the Chris-style response, they were referring to the Mark-style response.

Re: Python on a MacBook Pro (not my machine)

2013-10-28 Thread rusi
On Sunday, October 27, 2013 12:37:40 AM UTC+5:30, John Ladasky wrote: So, what other free and lightweight editing options do I have for a Mac? I have found a few (fairly old) discussions on comp.lang.python which suggest Eric (http://eric-ide.python-projects.org/) and Editra

Re: Setting up for python django development with Debian Linux

2013-10-28 Thread rusi
On Tuesday, October 29, 2013 1:16:07 AM UTC+5:30, Gary Roach wrote: Hi all, I have been trying to set up a python, django, mysql, virtualenvwrapper and git development project and am really confused. All of the documentation seems to ignore the apt-get installation methods used by Debian

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rusi
On Sunday, October 27, 2013 10:34:11 AM UTC+5:30, ru...@yahoo.com wrote: On 10/26/2013 07:45 PM, rusi wrote: On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: Rusi said: Users of GG are requested to read and follow these instructions https://wiki.python.org/moin

Re: Using the nntplib module to count Google Groups users

2013-10-27 Thread rusi
On Sunday, October 27, 2013 12:07:29 PM UTC+5:30, Zero Piraeus wrote: The results: Senders: 1701 GG users: 879 ... so just over 50%. If anyone wants the complete output, just let me know and I'll email it privately. If you have a GG account just go to the 'aboutgroup' info here:

Re: array/list of sockets

2013-10-27 Thread rusi
On Sunday, October 27, 2013 4:47:16 AM UTC+5:30, theel...@gmail.com wrote: I apologize but I do not understand what you mean by lack of context. I have taken Chris' words into consideration, for my previous post was supposed to be my last (I just had to say thank you). This is my first

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-27 Thread rusi
On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: Rusi said: Users of GG are requested to read and follow these instructions https://wiki.python.org/moin/GoogleGroupsPython Yes, I read those instructions and found them fairly opaque. If you want to instruct

Re: Removing python django projects

2013-10-27 Thread rusi
On Sunday, October 27, 2013 6:44:35 AM UTC+5:30, Gary Roach wrote: Hi In the process of trying to learn python, django, mysql and virtualenvwrapper, I have created two projects and a mess. How can I strip everything from a Debian, Wheezy, linux system. The files are all over the place.

Re: Check if this basic Python script is coded right

2013-10-27 Thread rusi
On Saturday, October 26, 2013 11:50:33 PM UTC+5:30, MRAB wrote: On 26/10/2013 18:36, HC wrote: I'm doing my first year in university and I need help with this basic assignment. Assignment: Write Python script that prints sum of cubes of numbers between 0-200 that are multiples of 3.

Re: Cookie xxxxing problem

2013-10-27 Thread rusi
On Sunday, October 27, 2013 1:02:38 AM UTC+5:30, Stephan Vladimir Bugaj wrote: I rarely ever post here. But I wanted to say that people responding to this Nikos troll makes reading this list a nuisance. You've never ever been successful in convincing him to behave, and it's been going on

Re: Python Front-end to GCC

2013-10-27 Thread rusi
On Monday, October 28, 2013 3:44:14 AM UTC+5:30, zipher wrote: Otherwise, most of this, while sloppy, still stands. Yes All your quotes are unattributed So your discussion is both sloppy and meaningless -- https://mail.python.org/mailman/listinfo/python-list

Re: Cookie fucking problem

2013-10-27 Thread rusi
On Monday, October 28, 2013 4:56:38 AM UTC+5:30, Ben Finney wrote: I'm not in any special position of power here; I'm not beholden to address every instance of bad behaviour or none at all. Any member of this community can apply the same social pressure, and together we can cover as many of

Re: Don't use default Google Group client (was re:....)

2013-10-26 Thread rusi
On Saturday, October 26, 2013 8:10:16 AM UTC+5:30, Steven D'Aprano wrote: Your personal attacks are not appreciated. Why can you not accept that people who post using GG's defaults cause pain and difficulty to many -- probably the great majority -- of readers who use either the mailing list

Re: Cookie fucking problem

2013-10-26 Thread rusi
On Saturday, October 26, 2013 9:20:40 PM UTC+5:30, Mark Lawrence wrote: I could almost feel sorry for you. But the more of your time I waste the longer it'll take you to get your website working. Did you ever stop to think about that? Or are you too busy trolling hundreds of other

Re: Possibly better loop construct, also labels+goto important and on the fly compiler idea.

2013-10-26 Thread rusi
On Sunday, October 27, 2013 2:07:53 AM UTC+5:30, Peter Cacioppi wrote: Rusi said: Users of GG are requested to read and follow these instructions https://wiki.python.org/moin/GoogleGroupsPython Seriously, it's not exactly clear what protocol GG users are expected follow to make posts

Re: Python Front-end to GCC

2013-10-25 Thread rusi
On Saturday, October 26, 2013 12:15:43 AM UTC+5:30, zipher wrote: Clearly the python list has been taken over by TheKooks. Notice he did not respond to the request. Since we are talking about digital computers (with digital memory), I'm really curious what the hex value for NaN is to

Re: Python Front-end to GCC

2013-10-25 Thread rusi
On Saturday, October 26, 2013 12:39:09 AM UTC+5:30, zipher wrote: On Fri, Oct 25, 2013 at 11:59 AM, rusi wrote: I dont see how thats any more relevant than: Whats the hex value of the add instruction? You don't see. That is correct. Btw, I believe the hex value for the add

Re: Maintaining a backported module

2013-10-24 Thread rusi
On Thursday, October 24, 2013 5:16:58 PM UTC+5:30, Steven D'Aprano wrote: On Thu, 24 Oct 2013 06:36:04 -0400, Ned Batchelder wrote: coverage.py currently runs on 2.3 through 3.4 You support all the way back to 2.3??? I don't know whether to admire your dedication, or back away slowly

Re: Python Front-end to GCC

2013-10-22 Thread rusi
Mark Janssen said: Unattributed No its not like those 'compilers' i dont really agree with a compiler generating C/C++ and saying its producing native code. I dont really believe its truely within the statement. Compilers that do that tend to put in alot of type saftey code and

Re: Python Front-end to GCC

2013-10-22 Thread rusi
On Tuesday, October 22, 2013 11:53:22 PM UTC+5:30, Ned Batchelder wrote: A BNF doesn't provide enough information to compile a program to C. That's all I'm trying to help you understand. If you don't agree, then we have to talk about the meaning of the words BNF, compile, program, and C. I

Re: Python Front-end to GCC

2013-10-22 Thread rusi
On Wednesday, October 23, 2013 7:06:40 AM UTC+5:30, alex23 wrote: On 23/10/2013 4:40 AM, Ned Batchelder wrote: I've tried to be polite, and I've tried to be helpful, but I'm sorry: either you don't understand a lot of the terms you are throwing around, or you aren't disciplined enough to

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Monday, October 21, 2013 2:13:52 PM UTC+5:30, Peter Cacioppi wrote: Specifically the following seems so misguided as to be deliberate trolling. The same could be said for this below… but… One of the reasons multiple languages exist is because people find that useful programming idioms

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 8:25:58 AM UTC+5:30, Peter Cacioppi wrote: Guess-who said: but it's ugly, by which I mean it is hard to use, error prone, and not easily maintained. OK, I see the problem. What you call ugly is really just objectively bad. You continue to not attribute quotes.

Re: Python Front-end to GCC

2013-10-21 Thread rusi
On Tuesday, October 22, 2013 1:59:36 AM UTC+5:30, Ned Batchelder wrote: On 10/21/13 4:14 PM, Mark Janssen wrote: On Mon, Oct 21, 2013 at 12:46 AM, Steven D'Aprano wrote: An optimizing JIT compiler can often produce much more efficient, heavily optimized code than a static AOT compiler,

Re: converting letters to numbers

2013-10-20 Thread rusi
On Monday, October 14, 2013 10:32:36 AM UTC+5:30, Steven D'Aprano wrote: On Sun, 13 Oct 2013 20:13:32 -0700, Tim Roberts wrote: def add(c1, c2): % Decode c1 = ord(c1) - 65 c2 = ord(c2) - 65 % Process i1 = (c1 + c2) % 26 % Encode return

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-20 Thread rusi
On Monday, October 21, 2013 7:51:12 AM UTC+5:30, Roy Smith wrote: In article Steven D'Aprano wrote: According to some, Java, which has many low-level machine primitive types, is an object-oriented language, while Python, which has no machine primitives and where every value is an

Re: Looking for UNICODE to ASCII Conversioni Example Code

2013-10-19 Thread rusi
On Saturday, October 19, 2013 8:40:37 PM UTC+5:30, Roy Smith wrote: Zero Piraeus wrote: For example, a miscreant may create the username 'míguel' in order to pose as another user 'miguel', relying on other users inattentiveness. Asciifying is one way of reducing the risk of that.

Re: Error Testing

2013-10-19 Thread rusi
On Saturday, October 19, 2013 7:04:30 PM UTC+5:30, Scott Novinger wrote: My plan is to create several different programs that perform specific Algebraic operations. My boys are learning Algebra 2 and I thought it might be a fun way to help us all learn Algebra and programming together.

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-18 Thread rusi
On Saturday, October 19, 2013 2:02:24 AM UTC+5:30, Peter Cacioppi wrote: I still say that object-based is a distinct and meaningful subset of object-oriented programming. Yes that is what is asserted by http://www-public.int-evry.fr/~gibson/Teaching/CSC7322/ReadingMaterial/Wegner87.pdf -- a

Re: Python was designed (was Re: Multi-threading in Python vs Java)

2013-10-17 Thread rusi
On Thursday, October 17, 2013 12:19:02 PM UTC+5:30, Peter Cacioppi wrote: Object oriented programming takes things further, most significantly by introducing the idea that the object reference you are referencing might be a run time dependent sub-class. Even Python, which isn't strongly

<    1   2   3   4   5   6   7   8   9   10   >