Re: IDE for python

2014-06-01 Thread Marko Rauhamaa
Rustom Mody : > On Friday, May 30, 2014 10:37:00 PM UTC+5:30, Rustom Mody wrote: >> Think for example of a German wanting to write "Gödel" >> According to some conventions (s)he can write Goedel > > [...] > > | if there is an german Umlaut in the section title like 'ä' this > | becomes just 'a' in

Re: IDE for python

2014-06-01 Thread Chris Angelico
On Sun, Jun 1, 2014 at 5:58 PM, Marko Rauhamaa wrote: > As a Finnish-speaker, I hope that patch doesn't become default behavior. > Too many times, we have been victimized by the German conventions. A > Finnish-speaker would much rather see > >Järvenpää => Jarvenpaa >Öllölä => Ollola >K

Re: IDE for python

2014-06-01 Thread Rustom Mody
On Sunday, June 1, 2014 2:01:09 PM UTC+5:30, Chris Angelico wrote: > On Sun, Jun 1, 2014 at 5:58 PM, Marko Rauhamaa wrote: > > As a Finnish-speaker, I hope that patch doesn't become default behavior. > > Too many times, we have been victimized by the German conventions. A > > Finnish-speaker would

Re: IDE for python

2014-06-01 Thread Steven D'Aprano
On Sun, 01 Jun 2014 18:31:09 +1000, Chris Angelico wrote: > the better solution is to permit the full Unicode alphabet in > identifiers... I'm not entirely sure about that. Full Unicode support in identifiers such as URLs doesn't create a brand new vulnerability, but it does increase it from a

Re: IDE for python

2014-06-01 Thread Chris Angelico
On Sun, Jun 1, 2014 at 7:06 PM, Steven D'Aprano wrote: > On Sun, 01 Jun 2014 18:31:09 +1000, Chris Angelico wrote: > >> the better solution is to permit the full Unicode alphabet in >> identifiers... > > I'm not entirely sure about that. Full Unicode support in identifiers > such as URLs doesn't c

Re: Suds and Python3

2014-06-01 Thread Burak Arslan
Hello, First, for such questions, there's always s...@python.org On 31/05/14 21:59, Paul McNett wrote: > On 5/31/14, 11:36 AM, tokib...@gmail.com wrote: >> Suds is defacto python SOAP client, but it does not mainte recent few >> years. Why? > The original authors don't seem to care anymore. If y

Re: Python 3 is killing Python

2014-06-01 Thread Steve Hayes
On Sun, 1 Jun 2014 13:35:11 +1000, Chris Angelico wrote: >boeing-l...@boeing.org people, any hour of the day or night. All >you're doing is picking your technology on the basis of *one* >dead-tree book that you happen to have found. Is that really the most >important deciding point? Yes. -- S

Re: Python 3 is killing Python

2014-06-01 Thread Steve Hayes
On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin wrote: >in 722929 20140601 035727 Steve Hayes wrote: > >>No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer >>may be later and more technically advanced and flew faster, but no one uses or >>

Re: Python 3 is killing Python

2014-06-01 Thread Mark Lawrence
On 01/06/2014 12:41, Steve Hayes wrote: On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin wrote: in 722929 20140601 035727 Steve Hayes wrote: No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer may be later and more technically advanced and flew faster, but no one

Drawing Sinus curve in Python

2014-06-01 Thread Farzad Torabi
Hi Experts I am trying to draw a sine curve in Python , well first I had a script that i could draw a function curve in this way : xMax = 25.0 points = [] for i in range(100): x = (float(i)/99)*xMax y = math.sqrt(x) points.append([x,y]) s.Spline(points=points) first i have questions t

Re: Drawing Sinus curve in Python

2014-06-01 Thread Steven D'Aprano
On Sun, 01 Jun 2014 05:17:07 -0700, Farzad Torabi wrote: > Hi Experts > > I am trying to draw a sine curve in Python , well first I had a script > that i could draw a function curve in this way : > > xMax = 25.0 > points = [] > for i in range(100): > x = (float(i)/99)*xMax > y = math.sqrt(

Re: Command prompt not shown when running Python script with subprocess on Windows

2014-06-01 Thread Tim Golden
29/05/2014 20:21, ps16thypresenceisfullnessof...@gmail.com wrote: That's interesting, now I learned something else too. As I said before, though, I want users to be able to enter paths in the XML file exactly the way they would be entered in a Windows shortcut. [...] Since in a Windows shortc

Re: Python 3 is killing Python

2014-06-01 Thread alister
On Sun, 01 Jun 2014 13:41:33 +0200, Steve Hayes wrote: > On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin > wrote: > >>in 722929 20140601 035727 Steve Hayes wrote: >> >>>No, it's a bit like flying in a Boeing 747 rather than a Concorde. The >>>latyer ma

Is MVC Design Pattern good enough?

2014-06-01 Thread Ernest Bonat, Ph.D.
Hi All, I had developed many database business applications using MVC design pattern with different programming languages like PHP, Java EE, VB.NET, C#, VB 6.0, VBA, etc. All of them defined the Model layer as the data management of the application domain and business logic implementation. I ready

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le dimanche 1 juin 2014 03:48:07 UTC+2, Rustom Mody a écrit : > On Friday, May 30, 2014 10:37:00 PM UTC+5:30, Rustom Mody wrote: > > > > > You are talking about the infrastructure needed for writing unicode apps. > > > The language need not have non-ASCII lexemes for that > > > > > I am talk

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le mercredi 28 mai 2014 14:55:35 UTC+2, Chris Angelico a écrit : > On Wed, May 28, 2014 at 9:46 PM, Greg Schroeder wrote: > > >> > Please suggest, if we have any free ide for python development. > > > > > > Anything that writes text is fine. > > > I recommend the standard text editor for your

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le vendredi 30 mai 2014 19:30:27 UTC+2, Rustom Mody a écrit : > On Friday, May 30, 2014 10:47:33 PM UTC+5:30, wxjm...@gmail.com wrote: > > > = > > > > > Ok, thanks for the answer. > > > > > "xetex does not quite work whereas pdflatex works smoothly" > > > > > ? > > > > Problem

Re: Yet another "simple" headscratcher

2014-06-01 Thread wxjmfauth
>>> # from my lib >>> def NewMat(nr, nc, val=0.0): ... val = float(val) ... return [[val] * nc for i in range(nr)] ... >>> import vmio6 >>> aa = NewMat(2, 3) >>> vmio6.pr(aa) ( 0.0e+000 0.0e+000 0.0e+000 ) ( 0.0e+000 0.0e+000 0.0e+000 ) >>> aa[0][0] = 3.

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le vendredi 30 mai 2014 18:15:09 UTC+2, Rustom Mody a écrit : > On Friday, May 30, 2014 8:36:54 PM UTC+5:30, wxjm...@gmail.com wrote: > > > > > Out of curiosity. > > > Are you the Rusi Mody attempting to dive in Xe(La)TeX? > > > > Yeah :-) > > > > As my blog posts labelled unicode will in

Re: Python 3 is killing Python

2014-06-01 Thread wxjmfauth
Le samedi 31 mai 2014 14:30:11 UTC+2, Steven D'Aprano a écrit : > On Sat, 31 May 2014 12:07:59 +0200, Steve Hayes wrote: > > > > > I'll leave Python 3.2 on my computer, but 2.7.5 will be the one I'm > > > installing now. Even if I could *find* a book that deals with Python > > > 3.x, couldn't

Re: Python 3 is killing Python

2014-06-01 Thread wxjmfauth
Le mercredi 28 mai 2014 22:24:15 UTC+2, Mark Lawrence a écrit : > On 28/05/2014 20:58, Larry Martell wrote: > > > On Wed, May 28, 2014 at 2:49 PM, Paul Rubin > > > wrote: > > > > > > Larry Martell > > > writes: > > >

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le vendredi 30 mai 2014 16:04:18 UTC+2, Rustom Mody a écrit : > On Friday, May 30, 2014 7:24:10 PM UTC+5:30, Marko Rauhamaa wrote: > > > Rustom Mody wrote: > > > > > > > > > >> > 3. Search unopened files (grep) for a string or re. > > > > > > > > How do you do this with emacs? > > > > I fi

Re: IDE for python

2014-06-01 Thread wxjmfauth
Le vendredi 30 mai 2014 18:38:04 UTC+2, Mark Lawrence a écrit : > On 30/05/2014 17:15, Rustom Mody wrote: > > > On Friday, May 30, 2014 8:36:54 PM UTC+5:30, wxjm...@gmail.com wrote: > > > > > > It is now about time that we stop taking ASCII seriously!! > > > > > > > This can't happen in the

[OT] Re: Is MVC Design Pattern good enough?

2014-06-01 Thread Dan Sommers
On Sun, 01 Jun 2014 10:37:24 -0700, Ernest Bonat, Ph.D. wrote: > ... MVC design pattern ... defined the Model layer as the data > management of the application domain and business logic implementation > ... Can we implement the application business logic in another layer? > Yes or no? Why? Explai

Segmentation fault (core dumped) while using Cplex Python API

2014-06-01 Thread varun7rs
Hello Everyone, I am trying to solve a mixed-integer problem using Cplex Python API and I get this error Segmentation fault (core dumped). i am not able to figure out the reason for this. Traceback srva@hades:~$ python RW10.py --output test --logPath log --xml topology.xml Start Time: 2014-6-

Re: Segmentation fault (core dumped) while using Cplex Python API

2014-06-01 Thread Gary Herron
On 06/01/2014 12:28 PM, varun...@gmail.com wrote: Hello Everyone, I am trying to solve a mixed-integer problem using Cplex Python API and I get this error Segmentation fault (core dumped). i am not able to figure out the reason for this. Traceback srva@hades:~$ python RW10.py --output test --

Re: Multi-line commands with 'python -c'

2014-06-01 Thread Duncan Booth
Peter Otten <__pete...@web.de> wrote: > Duncan Booth wrote: > >> Chris Angelico wrote: >> >>> On Sat, May 31, 2014 at 7:42 AM, Devin Jeanpierre >>> wrote: In unix shells you can literally use a new line. Or is that only >> bash? >>> >>> You can in bash, I know, but it's fiddly to type it;

Re: Segmentation fault (core dumped) while using Cplex Python API

2014-06-01 Thread Akira Li
varun...@gmail.com writes: > Hello Everyone, > > I am trying to solve a mixed-integer problem using Cplex Python API > and I get this error Segmentation fault (core dumped). i am not able > to figure out the reason for this. > Traceback > > srva@hades:~$ python RW10.py --output test --logPath log

ImportError: No module named _gdb

2014-06-01 Thread Marcelo Sardelich
So I'm trying to implement pretty printing information using gdb-python27 on Windows7 Hopefully, someone experienced the same issue. GDB is working fine, but when I run gdb-python27 I got the following error (related to a python import): C:\MinGW\bin>gdb-python27.exe Traceback (most recent cal

Re: Python 3.2 has some deadly infection

2014-06-01 Thread Tim Delaney
On 1 June 2014 12:26, Steven D'Aprano wrote: > > "with cross-platform behavior preferred over system-dependent one" -- > It's not clear how cross-platform behaviour has anything to do with the > Internet age. Python has preferred cross-platform behaviour forever, > except for those features and m

[RELEASE] Python 2.7.7

2014-06-01 Thread Benjamin Peterson
I'm happy to announce the immediate availability of Python 2.7.7. Python 2.7.7 is a regularly scheduled bugfix release for the Python 2.7 series. This release includes months of accumulated bugfixes. All the changes in Python 2.7.7 are described in detail in the Misc/NEWS file of the source tarball

Re: Python 3.2 has some deadly infection

2014-06-01 Thread Steven D'Aprano
On Mon, 02 Jun 2014 08:54:33 +1000, Tim Delaney wrote: > On 1 June 2014 12:26, Steven D'Aprano > wrote: > > >> "with cross-platform behavior preferred over system-dependent one" -- >> It's not clear how cross-platform behaviour has anything to do with the >> Internet age. Python has preferred c

Re: Python 3.2 has some deadly infection

2014-06-01 Thread Tim Delaney
On 2 June 2014 11:14, Steven D'Aprano wrote: > On Mon, 02 Jun 2014 08:54:33 +1000, Tim Delaney wrote: > > I'm currently working on a product that interacts with lots of other > > products. These other products can be using any encoding - but most of > > the functions that interact with I/O assume

Re: Python 3.2 has some deadly infection

2014-06-01 Thread Rustom Mody
On Monday, June 2, 2014 7:53:05 AM UTC+5:30, Tim Delaney wrote: > On 2 June 2014 11:14, Steven D'Aprano wrote: >>  Latin-1 is one of those legacy encodings which needs to die, not to be >> entrenched as the default. My terminal uses UTF-8 by default (as it >> should), and if I use the terminal to

Connect to VectorWise database usin Python

2014-06-01 Thread sukesh.bheemineni
Hi, Using python(2.7.2) I am not able to connect to Vector Wise database. Can you suggest me how I can connect to it. If you don't mind step by step :(. Regards, Sukesh. -- https://mail.python.org/mailman/listinfo/python-list

parsley parsing question

2014-06-01 Thread Eric S. Johansson
how do you parse multi line text with parsley? here is a work in progress and I'm trying to figure out why I need to split the text and process per line vrs all at one go. thanks for any help. --- eric Here's the whole body of code --- import parsley # # grammar to pa

Re: ImportError: No module named _gdb

2014-06-01 Thread dieter
Marcelo Sardelich writes: > So I'm trying to implement pretty printing information using gdb-python27 on > Windows7 > > Hopefully, someone experienced the same issue. > > GDB is working fine, but when I run gdb-python27 I got the following error > (related to a python import): > > C:\MinGW\bin>g

Re: Python 3 is killing Python

2014-06-01 Thread Bob Martin
in 722944 20140601 124133 Steve Hayes wrote: >On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin wrote: > >>in 722929 20140601 035727 Steve Hayes wrote: >> >>>No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer >>>may be later and