Re: Python for philosophers

2013-05-11 Thread rusi
On May 12, 3:16 am, alex23 wrote: > On 12 May, 06:10, Mark Janssen wrote: > > > Wow.  You must be from another planet.  Find Socrates if you wish to > > know these things.  He's from there also. > > Now now, there's no need for a turf war, there's plenty of room on > this list for crazies. I'm r

Re: Unicode humor

2013-05-10 Thread rusi
On May 10, 8:32 pm, Chris Angelico wrote: > On Sat, May 11, 2013 at 1:24 AM, Ned Batchelder > wrote: > > On 5/10/2013 11:06 AM, jmfauth wrote: > > >> On 8 mai, 15:19, Roy Smith wrote: > > >>> Apropos to any of the myriad unicode threads that have been going on > >>> recently: > > >>>http://xkcd

Alternate computational models can be harmonious (was Message passing syntax for objects | OOPv2)

2013-05-09 Thread rusi
On May 9, 10:39 am, Steven D'Aprano wrote: > On Wed, 08 May 2013 19:35:58 -0700, Mark Janssen wrote: > > Long story short: the lambda > > calculus folks have to split from the Turing machine folks. > >  These models of computation should not use the same language.  Their > > computation models are

Re: Message passing syntax for objects | OOPv2

2013-05-08 Thread rusi
On May 9, 7:35 am, Mark Janssen wrote: > On Fri, Apr 12, 2013 at 11:28 PM, Mark Janssen > > wrote: > >> Mark, this proposal is out of place on a Python list, because it proposes > >> an > >> object methodology radically different from any that is implemented in > >> Python now, or is even remote

Re: Why do Perl programmers make more money than Python programmers

2013-05-08 Thread rusi
On May 8, 6:11 am, Benjamin Kaplan wrote: > On May 7, 2013 5:42 PM, "Neil Hodgson" wrote: > > jmfauth: > > >> 2) More critical, Py 3.3, just becomes non unicode compliant, > >> (eg European languages or "ascii" typographers !) > >> ... > > >    This is not demonstrating non-compliance. It is com

Re: First python program, syntax error in while loop

2013-05-06 Thread rusi
On May 6, 6:08 pm, Roy Smith wrote: > BTW, in C, I used to write: > > return (foo) > > for years until somebody pointed out to me that > > return foo > > works.  I just assumed that if I had to write: > > if (foo) > while (foo) > for (foo; bar; baz) > > then > > return (foo) > > made sense too.

Re: Why do Perl programmers make more money than Python programmers

2013-05-05 Thread rusi
On May 5, 10:11 pm, Ignoramus16992 wrote: > According to CIO.com, Python programmers make only $83,000 per year, > while Perl programmers make $93,000 per year. > > http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide11

Re: Weird python behavior

2013-04-26 Thread rusi
On Apr 26, 11:25 am, rusi wrote: > To present these kind of errors, Erlang has a concept of sticky > modules -- those that come from the system… ??present?? should have been 'prevent' -- http://mail.python.org/mailman/listinfo/python-list

Re: Weird python behavior

2013-04-25 Thread rusi
On Apr 26, 11:04 am, Tim Roberts wrote: > Forafo San wrote: > > >OK, lesson learned: Take care not to have module names that conflict with > >python's built ins. Sorry for being so obtuse. > > You don't have to apologize.  We've all been bitten by this at least once. Yes… When it comes to keywo

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread rusi
On Apr 26, 3:11 am, yuyaxu...@gmail.com wrote: > OK... > > 1."Memory is not enough..." is giving from the exe program. > 2. If I run the exe program directly using cmd console, it's working good. > 3. I am using Windows 7, 4GB memory python 2.7 the program is a image > processing program. It may

Re: IPython in Emacs

2013-04-25 Thread rusi
On Apr 26, 3:18 am, Seb wrote: > > I don't understand what you're asking. I evaluate the script buffer > with `python-shell-send-buffer' and start IPython with `run-python'. There are two emacs python modes -- one which comes builtin with emacs -- python.el, one which (used to?) come with pytho

Re: How to return list of lists

2013-04-25 Thread rusi
On Apr 25, 8:29 pm, Wolfgang Maier wrote: >   gmail.com> writes: > > > > > Hi guys, I'm having a lot of trouble with this. > > > My understanding of python is very basic and I was wondering how I can > > return this table as a list of lists. > > > > > 1  2       3       4       5 > > 3  4       5

Re: IPython in Emacs

2013-04-25 Thread rusi
On Apr 25, 6:01 pm, Seb wrote: > On Wed, 24 Apr 2013 21:38:04 -0700 (PDT), > > rusi wrote: > > There were some ipython+emacs+windows bugs: > >https://bugs.launchpad.net/ipython/+bug/290228 > > Last I tried nearly 2 years, they were still there > >http://groups.

Re: IPython in Emacs

2013-04-24 Thread rusi
On Apr 25, 8:35 am, Seb wrote: > Hi, > > Please excuse the slightly off-topic query.  I'm learning Python, using > the IPython (0.13) shell, and wanted to run it from Emacs 24.  AFAICT, > python.el is the most actively developed library, and is included in > Emacs.  How do experienced Python progr

Re: pip does not find packages

2013-04-23 Thread rusi
On Apr 22, 2:03 pm, Olive wrote: > I am using virtualenv and pip (from archlinux). What I have done: > virtualenv was installed by my distribution. I have made a virtual > environment and activate it, it has installed pip, so far so good. > > Now I am trying to install package in the virtualenvir

Re: Ubuntu package "python3" does not include tkinter

2013-04-23 Thread rusi
On Apr 23, 11:44 am, Rui Maciel wrote: > Steven D'Aprano wrote: > > Nobody forces you to do anything. Python is open source, and the source > > code is freely available. > > That goes both ways, with the added benefit that python-tkinter is already > available in distro's official repositories.  I

Re: Ubuntu package "python3" does not include tkinter

2013-04-22 Thread rusi
On Apr 23, 5:22 am, Steven D'Aprano wrote: > We're also glossing over what it means to be a dependency. This is not > obvious, and in fact I would argue that X is NOT a dependency for > tkinter, even though tkinter will not "work" without it, for some > definition of work. I can quite happily impo

Re: Ubuntu package "python3" does not include tkinter

2013-04-22 Thread rusi
On Apr 22, 4:18 pm, lcrocker wrote: > On Apr 21, 11:36 pm, Rui Maciel wrote: > > > Steven D'Aprano wrote: > > > It's only easy to install a package on Ubuntu if you know that you have > > > to, and can somehow work out the name of the package. > > > No one actually has to install tkinter.  That's

Re: Ubuntu package "python3" does not include tkinter

2013-04-22 Thread rusi
On Apr 22, 11:35 am, Rui Maciel wrote: > lcrocker wrote: > > > > I recently recommended > > Python to a friend who wants to start learning programming. Hurdles > > like this don't help someone like him. > > If your friend believes that having to do an extra pair of clicks or typing > sudo apt-get

Re: Ubuntu package "python3" does not include tkinter

2013-04-21 Thread rusi
On Apr 22, 9:24 am, Andrew Berg wrote: > On 2013.04.21 22:57, Steven D'Aprano wrote:> It's only easy to install a > package on Ubuntu if you know that you have > > to, and can somehow work out the name of the package. > > I haven't worked with Ubuntu or apt-based packaging in ages, but isn't this

Re: Ubuntu package "python3" does not include tkinter

2013-04-21 Thread rusi
On Apr 22, 8:57 am, Steven D'Aprano wrote: > On Sat, 20 Apr 2013 18:10:58 +0200, Sibylle Koczian wrote: > > Am 19.04.2013 19:42, schrieb lcrocker: > >> I understand that for something like a server distribution, but Ubuntu > >> is a user-focused desktop distribution. It has a GUI, always. The > >>

Re: The type/object distinction and possible synthesis of OOP and imperative programming languages

2013-04-21 Thread rusi
On Apr 15, 8:48 am, Mark Janssen wrote: > That all being said, the thrust of this whole effort is to possibly > advance Computer Science and language design, because in-between the > purely concrete "object" architecture of the imperative programming > languages and the purely abstract object arch

Re: django vs zope vs web2py

2013-04-21 Thread rusi
On Apr 21, 11:18 am, Alok Singh Mahor wrote: > I am sorry by mistake I sent incomplete mail here is my mail. > > Hi everyone, > few months back I decided to adopt python for my all sort of work including > web programming. and I have wasted long time deciding which to adopt out of > django, zope

Re: Is Unicode support so hard...

2013-04-20 Thread rusi
On Apr 21, 4:03 am, Neil Hodgson wrote: >     Hi jmf, > > > This gives me plenty of ideas to test the "flexible string > > representation" (FSR). I should recognize this FSR is failing > > particulary very well... > >     This is too vague for me. > >     Which string representation should Python

Re: Ubuntu package "python3" does not include tkinter

2013-04-19 Thread rusi
On Apr 19, 10:42 pm, lcrocker wrote: > On Apr 19, 10:35 am, Andrew Berg wrote: > > > On 2013.04.19 12:17, lcrocker wrote:> Am I mistaken in my belief that > > tkinter is a non-optional part of the > > > Python language? I installed the "python3" package on Ubuntu, and > > > tkinter is not includ

Re: The type/object distinction and possible synthesis of OOP and imperative programming languages

2013-04-18 Thread rusi
On Apr 19, 3:53 am, Mark Janssen wrote: > On Mon, Apr 15, 2013 at 2:53 AM, Moez AbdelGawad wrote: > >> I'm not quite sure I understand your question, but I'll give it a shot. > >> :-) > > > I'm in this same camp too :) > > I am very thankful for the references given by everyone. > Unfortunately m

Re: Atoms, Identifiers, and Primaries

2013-04-18 Thread rusi
On Apr 17, 11:43 pm, Steven D'Aprano wrote: > > You won't gain that from the *grammar* of the language. Grammar is only part > of the story, and in some ways, the least important part. If I tell you > that the grammar of English includes: > > ADJECTIVE NOUN > > that alone is not going to help you

Re: Atoms, Identifiers, and Primaries

2013-04-18 Thread rusi
On Apr 18, 4:40 am, Mark Janssen wrote: > On Tue, Apr 16, 2013 at 8:55 PM, rusi wrote: > > Circular just means recursive and recursion is the bedrock for > > language-design. > > Rercursion the "bedrock" of language-design.  I don't think so. Imperative

Re: The node.js Community is Quietly Changing the Face of Open Source

2013-04-16 Thread rusi
On Apr 16, 10:42 pm, Terry Jan Reedy wrote: > > "The “Batteries included” philosophy of Python was definitely the right > > approach during the mid 90’s and one of the reasons that I loved Python > > so much; this was a time before modern package management, and before it > > was easy to find and

Re: Atoms, Identifiers, and Primaries

2013-04-16 Thread rusi
On Apr 17, 7:57 am, Bruce McGoveran wrote: > These are terms that appear in section 5 (Expressions) of the Python online > documentation.  I'm having some trouble understanding what, precisely, these > terms mean.  I'd appreciate the forum's thoughts on these questions: > > 1.  Section 5.2.1 ind

Re: The node.js Community is Quietly Changing the Face of Open Source

2013-04-16 Thread rusi
On Apr 16, 10:36 pm, Andrew Berg wrote: > On 2013.04.16 12:14, rusi wrote:> However combine it with your other statement > > >> Python's package  management is suboptimal (though it is being worked on), > > > and a different picture emerges, viz that *the ecosystem

Re: The node.js Community is Quietly Changing the Face of Open Source

2013-04-16 Thread rusi
For javascript *the language* this is a good watch: http://www.youtube.com/watch?v=kXEgk1Hdze0 However I believe that the language view is a bit dated. On Apr 16, 9:50 pm, Andrew Berg wrote: > Perhaps having a minimal core works well for node.js, but Python is much, > much better off having it

Re: The type/object distinction and possible synthesis of OOP and imperative programming languages

2013-04-15 Thread rusi
On Apr 16, 7:32 am, Steven D'Aprano wrote: > > If I had a say in this, I would vote for the first case, with the > possible exception of documented singleton types like NoneType and bool. How is bool a singleton type? -- http://mail.python.org/mailman/listinfo/python-list

Re: Making ETL from Access 97 to Access 2003

2013-04-15 Thread rusi
Its hard to distinguish what you are saying from what I said because you've lost the quotes. On Apr 15, 9:01 pm, "Paul Simon" wrote: > "rusi" wrote in message > > news:ff550c58-58b0-4bf2-bf12-08986ab2b...@ka6g2000pbb.googlegroups.com... > On Apr 15, 5:27

Re: Making ETL from Access 97 to Access 2003

2013-04-15 Thread rusi
On Apr 15, 5:27 pm, Steeve wrote: > Hi, > > I need to take data from 5 differents (but similar) database in MS Access 97 > and merge them into one MS Access 2003 database. Not sure what this had to do with python. However… You could write out the five as csvs and then read in those csvs. This is

Re: python-noob - which container is appropriate for later exporting into mySql + matplotlib ?

2013-04-15 Thread rusi
I am trying to understand your points Chris. On the one hand you say: On Apr 14, 6:22 pm, Chris Angelico wrote: > No, no, a thousand times no! If I am doing financial transactions, > even if I'm alone on my machine, I will demand full ACID compliance. On the other you describe a bookmark stora

Re: python-noob - which container is appropriate for later exporting into mySql + matplotlib ?

2013-04-14 Thread rusi
On Apr 14, 12:56 pm, Steven D'Aprano wrote: > On Sat, 13 Apr 2013 10:02:18 -0700, rusi wrote: > > To the OP: > > Steven is welcome to his views about use of databases. > > I haven't given any views about databases. You are twisting "use of databases" to j

Re: python-noob - which container is appropriate for later exporting into mySql + matplotlib ?

2013-04-13 Thread rusi
On Apr 13, 9:15 pm, Chris Angelico wrote: > On Sun, Apr 14, 2013 at 12:39 AM, someone wrote: > > On 04/13/2013 04:03 PM, Chris Angelico wrote: > >> Failure at any level means the overall system is not ACID compliant. > > > Roger... But google says sqlite is supposed to be ACID compliant (although

Re: CSV to matrix array

2013-04-12 Thread rusi
On Apr 12, 10:12 pm, Ana Dionísio wrote: > Hi, thanks for yor answer! ;) > > Anyone has more suggestions? My suggestions: 1. Tell us what was lacking in Mark's suggestion (to use loadtxt) 2. Read his postscript (for googlegroup posters). [In case you did not notice your posts are arriving in dou

Re: Unicode issue with Python v3.3

2013-04-12 Thread rusi
On Apr 12, 6:18 pm, nagia.rets...@gmail.com wrote: > Τη Παρασκευή, 12 Απριλίου 2013 4:14:39 μ.μ. UTC+3, ο χρήστης Chris Angelico > έγραψε: > > > On Fri, Apr 12, 2013 at 10:50 PM,   wrote: > > > > Someone HEELP ME!! > > >http://youtu.be/VxMYwjp8t0o > > > ChrisA > > Well, instead of

Re: While loop help

2013-04-10 Thread rusi
On Apr 9, 8:47 pm, thomasancill...@gmail.com wrote: > ... and if you have any ideas for me to improve my coding that will prevent > me from learning > python in a sloppy way. I'd like to learn it correctly the first time! Not perhaps a direct answer... Anyways there is style in which python is b

Re: use a loop to create lists

2013-04-10 Thread rusi
On Apr 10, 1:40 pm, martaamu...@gmail.com wrote: > Hi! > > I would like to create a list containing lists. I need each list to have a > differente name and i would like to use a loop to name the list. But as the > name, is a string, i cannot asign it to a value... how can I do that?? > > global_l

Re: Unicode issue with Python v3.3

2013-04-09 Thread rusi
On Apr 10, 10:06 am, rusi wrote: > An interesting case of two threads: > > On Apr 10, 9:46 am, Chris Angelico wrote: > > > On Wed, Apr 10, 2013 at 2:25 PM, Steven D'Aprano > > > Obviously you know what the problem is much better than the Python > > > i

Re: Unicode issue with Python v3.3

2013-04-09 Thread rusi
An interesting case of two threads: On Apr 10, 9:46 am, Chris Angelico wrote: > On Wed, Apr 10, 2013 at 2:25 PM, Steven D'Aprano > > Obviously you know what the problem is much better than the Python > > interpreter. > > I just went to the page and it started playing sound. Between that and > th

Re: standalone vs embedded interpreter

2013-04-09 Thread rusi
On Apr 9, 8:33 pm, Nick Gnedin wrote: > Folks, > > When simply I embed the interpreter: > >         #include "Python.h" > >         int main() >         { >           Py_Initialize(); >           PyRun_InteractiveLoop(stdin,"test"); >           Py_Finalize(); > >           return 0; >         } >

Re: Python module vs library

2013-04-09 Thread rusi
On Apr 9, 7:18 pm, Michael Torrie wrote: > On 04/09/2013 03:58 AM, k.lykour...@gmail.com wrote: > > > Hi, what is the difference between python module and library ? > > "library" doesn't really mean anything specifically to Python's > interpreter.  It's not a valid keyword and is only used by huma

Re: I hate you all

2013-04-08 Thread rusi
On Apr 9, 9:06 am, rusi wrote: > Dunno what you mean by 'out-of-band' > If I set tabstops for a para to say 4-13-25-36 in a wordprocessor, > save the file and look inside, I will find the tuple (4,13,25,36) in > some encoded form. To make this conform to current practi

Re: I hate you all

2013-04-08 Thread rusi
On Apr 9, 7:51 am, Steven D'Aprano wrote: > On Mon, 08 Apr 2013 19:43:51 +0100, Nobody wrote: > > On Sun, 07 Apr 2013 01:30:45 +, Steven D'Aprano wrote: > > >> Am I the only one here who has used a typewriter? > > >> Tab stops were set manually, to a physical distance into the page, > >> using

Re: help needed

2013-04-08 Thread rusi
On Apr 8, 4:41 pm, Dave Angel wrote: > Go back to the previous message and you'll see Adam tells you exactly > what to type at the terminal.  But to be more literal: > > python ex13.py  first 2nd 3rd followed by RET (also called ENTER) key -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie to python. Very newbie question

2013-04-07 Thread rusi
On Apr 7, 4:16 pm, ReviewBoard User wrote: > Hi > I am a newbie to python and am trying to write a program that does a > sum of squares of numbers whose squares are odd. > For example, for x from 1 to 100, it generates 165 as an output (sum > of 1,9,25,49,81) > > Here is the code I have > print re

Re: I hate you all

2013-04-06 Thread rusi
On Apr 6, 8:41 pm, Grant Edwards wrote: > On 2013-04-06, Neil Cerutti wrote: > > > On 2013-04-06, Roy Smith wrote: > >> (*) There was a fad about 10 or 15 years ago to print code > >> samples in books in proportional fonts.  Prentice-Hall seemed > >> to be particularly guilty of this.  Fortunate

Re: JIT compilers for Python, what is the latest news?

2013-04-06 Thread rusi
On Apr 5, 7:29 am, John Ladasky wrote: > I guess I can live with the 20% slower execution, but sometimes my code would > run for three solid days... Oooff! Do you know where your goal-posts are? ie if your code were redone in (top-class) C or Fortran would it go from 3 days to 2 days or 2 hours

Re: I hate you all

2013-04-06 Thread rusi
On Apr 6, 8:01 pm, Roy Smith wrote: > What makes sense for a word processor and what makes sense for a > programming language are two very different things. > > Word processors are almost always working with blocks of running text, > set in proportional fonts, often with multiple font sizes and st

Re: In defence of 80-char lines

2013-04-03 Thread rusi
On Apr 4, 6:36 am, Steven D'Aprano wrote: > Although PEP 8 is only compulsory for the Python standard library, many > users like to stick to PEP 8 for external projects. > > http://www.python.org/dev/peps/pep-0008/ > > http://blog.languager.org/2012/10/layout-imperative-in-functional.htmlith > pe

Re: Performance of int/long in Python 3

2013-04-03 Thread rusi
On Apr 3, 6:43 pm, Roy Smith wrote: > This has to inspect the entire string, no?  I posted (essentially) this > a few days ago: > >        if all(ord(c) <= 0x for c in s): >             return "it's all bmp" >         else: >             return "it's got astral crap in it" Astral crap? CRAP?

Re: Performance of int/long in Python 3

2013-04-03 Thread rusi
On Apr 3, 12:37 pm, Neil Hodgson wrote: >     Reran the programs taking a bit more care with the encoding of the > file. This had no effect on the speeds. There are only a small amount of > paths that don't fit into ASCII: > > ASCII 1076101 > Latin1 218 > BMP 113 > Astral 0 > > # encoding:utf-8 >

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 3, 9:03 am, Neil Hodgson wrote: > rusi wrote: > > ... > >> a 'micro-benchmark' - I'd just like to avoid adding email access to get > >> this over the threshold. > > > What does that last statement mean? > >     Its a reference to a

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 3, 8:31 am, Neil Hodgson wrote: >     Sorting a million string list (all the file paths on a particular > computer) went from 0.4 seconds with Python 3.2 to 0.78 with 3.3 so > we're out of the 'not noticeable by humans' range. Perhaps this is still > a 'micro-benchmark' - I'd just like to

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 2, 11:22 pm, jmfauth wrote: > On 2 avr, 18:57, rusi wrote: > > > > > > > > > > > On Apr 2, 8:17 pm, Ethan Furman wrote: > > > > Simmons (too many Steves!), I know you're new so don't have all the > > > history with jm

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 2, 8:12 pm, jmfauth wrote: > > Sorrry I never claimed this, I'm just seeing on how Python is becoming > less Unicode friendly. jmf: I suggest you try to use less emotionally loaded and more precise language if you want people to pay heed to your technical observations/ contributions. In pa

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 2, 8:17 pm, Ethan Furman wrote: > Simmons (too many Steves!), I know you're new so don't have all the history > with jmf that many > of us do, but consider that the original post was about numbers, had nothing > to do with > characters or unicode *in any way*, and yet jmf still felt the

Re: Performance of int/long in Python 3

2013-04-02 Thread rusi
On Apr 2, 3:58 pm, Steve Simmons wrote: > On 02/04/2013 10:43, Mark Lawrence wrote: > > > > > > > > > On 02/04/2013 10:24, jmfauth wrote: > >> On 2 avr, 10:35, Steven D'Aprano >> +comp.lang.pyt...@pearwood.info> wrote: > >>> On Tue, 02 Apr 2013 19:03:17 +1100, Chris Angelico wrote: > > >>> So wha

Re: Python install Win 7 Problem

2013-04-01 Thread rusi
On Apr 2, 6:02 am, Joe Hill wrote: > Python install Win 7 Problem > > This is some of what others have experienced attempting to install Python > in Win 7  - I'm attempting to do the same with hopefully fewer detours. > > http://www.andrewsturges.com/2012/05/installing-numpy-for-python-3-in... > I

Re: Performance of int/long in Python 3

2013-04-01 Thread rusi
On Apr 1, 5:15 pm, Roy Smith wrote: > In article <515941d8$0$29967$c3e8da3$54964...@news.astraweb.com>, >  Steven D'Aprano wrote: > > > [...] > > >> OK, that leads to the next question.  Is there anyway I can (in Python > > >> 2.7) detect when a string is not entirely in the BMP?  If I could find

Re: Performance of int/long in Python 3

2013-03-31 Thread rusi
On Mar 31, 5:55 pm, Mark Lawrence wrote: > I'm feeling very sorry for this horse, it's been flogged so often it's > down to bare bones. While I am now joining the camp of those fed up with jmf's whining, I do wonder if we are shooting the messenger… >From a recent Roy mysqldb-unicode thread:

Re: dir() vs print(dir()) in the embedded mode

2013-03-29 Thread rusi
On Mar 30, 2:04 am, Nick Gnedin wrote: > Folks, > > I have a newbie question: I am trying to embed Python into my > application. While playing around, I noticed that the behavior of the > interpreter in the embedded mode differs from the standalone one. > > Namely, in the standalone mode if I type

Re: I wanna make wordlist cutter

2013-03-29 Thread rusi
On Mar 30, 10:28 am, TheDigitalroot wrote: > nope , my bro i mean count number . > > In notepad ++ , when we insert words like the follwoing , > book > cook > meet > beat > > we know 4 words because Notepad ++ show me 4 counts of words . > > I mean that , bro > thanks Still cant make out what you

Re: I wanna make wordlist cutter

2013-03-29 Thread rusi
On Mar 30, 10:09 am, TheDigitalroot wrote: > I imagine to make a wordlist cutter program with python pgrogramming . but I > don't know too much with it . > > I think , first , I will make a user input as a wordlist with command > > eg , C:\john\Desktop\wordlist.txt > > and than I will use a strin

Re: How to find bad row with db api executemany()?

2013-03-29 Thread rusi
On Mar 30, 8:13 am, rusi wrote: > It took of the order of weeks to send out the smses. 'Week' I think is more accurate. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find bad row with db api executemany()?

2013-03-29 Thread rusi
On Mar 30, 7:49 am, Chris Angelico wrote: > On Sat, Mar 30, 2013 at 1:44 PM, Roy Smith wrote: > > The slow way (i.e. "VALUES"), I'm inserting 1000 rows about every 2.4 > > seconds.  When I switch to "values", I'm getting more like 1000 rows in > > 100 ms! > > > A truly breathtaking bug. > > *face

Re: Export data from python to a txt file

2013-03-29 Thread rusi
On Mar 29, 10:33 pm, Ana Dionísio wrote: > Hello!!! > > I have this lists a=[1,3,5,6,10], b=[a,t,q,r,s] and I need to export it to a > txt file and I can't use csv. > > And I want the next format: > > a 1 3 5 6 10 > b a t q r s > > I already have this code: > > "f = open("test.txt", 'w') >  f.wri

Re: From Perl to Python: restructuring a HPC workflow

2013-03-29 Thread rusi
On Mar 27, 5:58 pm, Chris Angelico wrote: > On Wed, Mar 27, 2013 at 10:29 PM, neurino wrote: > > We are a small group of people (approx. 10), working separetely on their own > > projects (each employee manages approx. 2-3 projects). We deal with high > > loads of data everyday. > > > This workflo

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-27 Thread rusi
On Mar 28, 10:20 am, Steven D'Aprano wrote: > On Wed, 27 Mar 2013 20:49:20 -0700, rusi wrote: > > On Mar 28, 8:18 am, Ethan Furman wrote: > > >> So long as Mark doesn't start cussing and swearing I'm not going to get > >> worked up about it.  I f

Re: flaming vs accuracy [was Re: Performance of int/long in Python 3]

2013-03-27 Thread rusi
On Mar 28, 8:18 am, Ethan Furman wrote: > > So long as Mark doesn't start cussing and swearing I'm not going to get > worked up about it.  I > find jmf's posts for more aggravating. I support Ned's original gentle reminder -- Please be civil irrespective of surrounding nonsensical behavior. In

Re: Separate Rows in reader

2013-03-27 Thread rusi
On Mar 28, 3:26 am, Jiewei Huang wrote: > On Wednesday, March 27, 2013 9:18:28 PM UTC+10, rusi wrote: > > On Mar 27, 2:35 pm, Jiewei Huang wrote: > > > > On Tuesday, March 26, 2013 1:48:10 PM UTC+10, MRAB wrote: > > > > > On 26/03/2013 03:33, Jiewei Huang wro

Re: From Perl to Python: restructuring a HPC workflow

2013-03-27 Thread rusi
On Mar 27, 4:29 pm, neurino wrote: > In the need for restructuring our daily workflow, i think it might be a > good idea to ask the Python community and hopefully initiate a thread > about pros and cons. > > We are a small group of people (approx. 10), working separetely on > their own projects (e

Re: Separate Rows in reader

2013-03-27 Thread rusi
ng wrote: > > > >>> On Monday, March 25, 2013 11:51:51 PM UTC+10, rusi wrote: > > > >> If you insist on using GoogleGroups, then make sure you keep your quotes > > > >> small.  I'm about to stop reading messages that are double-spaced by >

Re: Separate Rows in reader

2013-03-25 Thread rusi
On Mar 25, 11:52 am, Jiewei Huang wrote: > On Sunday, March 24, 2013 9:10:45 PM UTC+10, ypsun wrote: > > Jiewei Huang於 2013年3月24日星期日UTC+1上午6時20分29秒寫道: > > > > Hi all, > > > > Currently create a simple text-based database of information about people > > > > I have a csv file which consist of 3 rows

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 11:28 pm, Tim Chase wrote: > > Sorry if my print-statements were misinterpreted--I meant them as a > "do what you want with the data here" stand-in (thus the ellipsis). Heh! I assumed the OP was a noob to whom this was directed (and whose original had the print statements in loops). >

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 6:49 pm, Tim Chase wrote: > On 2013-03-24 09:03, Dave Angel wrote: > > > >> > > [THANK YOU!] > > > > Sorry my typo in the output here is the correct output that i > > > need : > > > > [('John Konon', 'Ministry of moon Walks', '4567882', '27-Feb'), > > > ( 'Stacy Kisha', 'Ministry of Ma

Re: Vowels [was Re: "monty" < "python"]

2013-03-24 Thread rusi
On Mar 24, 7:25 pm, Stefan Behnel wrote: > > I assume you know "The Chaos" ? > > http://ncf.idallen.com/english.html Ha! Sweet! (Or should I say suet?) -- http://mail.python.org/mailman/listinfo/python-list

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 10:46 am, Dave Angel wrote: > On 03/24/2013 01:20 AM, Jiewei Huang wrote: > > > > > > > > > > > Hi all, > > > Currently create a simple text-based database of information about people > > > I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: > > Name        Address    

Re: addressof object with id()

2013-03-23 Thread rusi
On Mar 24, 8:33 am, Chris Angelico wrote: > On Sun, Mar 24, 2013 at 1:19 PM, Roy Smith wrote: > > In article <514e5f1f$0$30001$c3e8da3$54964...@news.astraweb.com>, > >  Steven D'Aprano wrote: > > >> Those who don't do serious floating point work hate NANs > > > This kind of thing doesn't just co

Re: LiClipse

2013-03-23 Thread rusi
On Mar 23, 4:11 pm, Fabio Zadrozny wrote: > On Sat, Mar 23, 2013 at 12:38 AM, rusi wrote: > > > > ie Eclipse-4 claims to have made plugin development (for new custom > > languages) easier. > > What is the relation of liclipse to eclipse 3<->4 plugin architectur

Re: LiClipse

2013-03-22 Thread rusi
On Mar 23, 7:58 am, Fabio Zadrozny wrote: > Hello there, > > As I've proposed it, let me try to explain it a bit better (if you have > doubts, I should probably rephrase the proposal). > > There are 2 main targets there: keeping PyDev properly supported (which > hopefully doesn't need more explana

Re: "monty" < "python"

2013-03-20 Thread rusi
On Mar 21, 12:40 am, jmfauth wrote: > > > Courageous people can try to do something with the unicode > collation algorithm (see unicode.org). Some time ago, for the fun, > I wrote something (not perfect) with a reduced keys table (see > unicode.org), only a keys subset for some scripts hold i

Re: CSV, lists, and functions

2013-03-20 Thread rusi
On Mar 20, 6:37 am, Roy Smith wrote: > > Another possibility is to use pandas (http://pandas.pydata.org/). Thanks for the link -- looks interesting! -- http://mail.python.org/mailman/listinfo/python-list

Re: Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread rusi
On Mar 19, 8:36 pm, Cathy James wrote: > Dear All, > I need some assistance with Python so that values in the "Name" field e.g. > Murray - James - Leo can be labeled as: > > Murray > James > Leo > > with a new line replacing every dash. > > Basically I need the equivalent of this VB in Python: > r

Re: Writing Python framework for declarative checks?

2013-03-19 Thread rusi
On Mar 19, 1:38 am, Victor Hooi wrote: > We currently use a collection of custom Python scripts to validate various > things in our production environment/configuration. > > Many of these are simple XML checks (i.e. validate that the value of this XML > tag here equals the value in that file ove

Re: How to add the current dir to sys.path when calling a python file?

2013-03-18 Thread rusi
On Mar 18, 8:56 am, Peng Yu wrote: > Hi, > > man python says "If a script  argument  is  given,  the directory > containing the script is inserted in the path in front of $PYTHONPATH. > The search path can be manipulated from  within a Python program as > the variable sys.path." Instead I want to

Re: pynguin-0.13 python turtle graphics application now uses python 3

2013-03-17 Thread rusi
On Mar 18, 3:28 am, Lee Harr wrote: > If you are a fan of turtle.py please give pynguin a try and let me > know what you think! Not a 'fan' per se -- just a teacher who has occasionally tried turtle to introduce programming. (which was not completely smooth; Ive forgotten all the hiccups) http:

Re: What's the easiest Python datagrid GUI (preferably with easy database hooks as well)?

2013-03-17 Thread rusi
On Mar 17, 4:06 pm, Sibylle Koczian wrote: > Am 16.03.2013 21:30, schrieb Wolfgang Keller:>> Will look at Pypapi and > SQLkit. > > Did look: SQLkit needs Python 2. Pypapi, from the link you gave: "The > new release of PyPaPi is written in Java. You can find more info in the > official site." On t

Re: pynguin-0.13 python turtle graphics application now uses python 3

2013-03-17 Thread rusi
On Mar 17, 5:12 am, Lee Harr wrote: > Pynguin is a python-based turtle graphics application. >     It combines an editor, interactive interpreter, and >     graphics display area. What does pynguin have that the builting python turtle does not? http://docs.python.org/2/library/turtle.html -- ht

Re: String performance regression from python 3.2 to 3.3

2013-03-16 Thread rusi
On Mar 16, 6:29 pm, Roy Smith wrote: > In article <51440235$0$29965$c3e8da3$54964...@news.astraweb.com>, >  Steven D'Aprano wrote: > > > UTF-32 is a *fixed width* storage mechanism where every code point takes > > exactly four bytes. Since the entire Unicode range will fit in four > > bytes, that

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 9:12 am, Thomas 'PointedEars' Lahn wrote: > You have still no clue what you are talking about.  Get yourself informed at > least about the (deprecated/obsolete) “language” and the (standards- > compliant) “type” attribute of SCRIPT/“script” elements before you post on > this again. > >

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 9:09 am, Chris Angelico wrote: > On Sat, Mar 16, 2013 at 2:56 PM, Mark Lawrence > wrote: > > On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: > > >> Chris Angelico wrote: > > > Thomas and Chris, would the two of you be kind enough to explain to morons > > such as myself how all t

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
On Mar 16, 8:56 am, Mark Lawrence wrote: > On 16/03/2013 02:44, Thomas 'PointedEars' Lahn wrote: > > > Chris Angelico wrote: > > Thomas and Chris, would the two of you be kind enough to explain to > morons such as myself how all the ECMAScript stuff relates to Python's > unicode as implemented vi

Re: String performance regression from python 3.2 to 3.3

2013-03-15 Thread rusi
3.2 and 2.7 results on my desktop using Chris examples (Hope I cut-pasted them correctly) - Welcome to the Emacs shell ~ $ python3 Python 3.2.3 (default, Feb 20 2013, 17:02:41) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.

Re: About Starting PYTHON

2013-03-15 Thread rusi
On Mar 15, 7:10 pm, SHIVDHWAJ PANDEY wrote: > Hi, > I am new to this and wanted to know how to start python? > Which book,website, blog, etc. http://docs.python.org/2/tutorial/ -- http://mail.python.org/mailman/listinfo/python-list

Re: how to couper contenier of a canvas in an outer canvas???

2013-03-15 Thread rusi
I dont usually bother about spelling/grammar etc. And I think it silly to do so on a python list. However with this question: On Mar 14, 5:16 pm, olsr.ka...@gmail.com wrote: > how to couper all the obejcts in a canvas in an auther canvas? "obejcts" is clearly "objects" and "auther" is probably

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