issue w/ python 3.5.7

2016-03-13 Thread lucile . mage
Hello, We would like to get the procedure to launch the software "python.exe". The only options we have acsess are: modify, repair and uninstall. Thanks for your help, Rgds, Lucile -- https://mail.python.org/mailman/listinfo/python-list

is Pylons alive?

2008-04-09 Thread Mage
for if I want to come back to Python and develop MVC web apps? Mage -- http://mail.python.org/mailman/listinfo/python-list

pain

2005-08-03 Thread Mage
= + sum); } } It is print sum(range(11)) in python. I just had to tell this, sorry for the bandwith. I suggest you to feel lucky if you may use python at your work. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: pain

2005-08-03 Thread Mage
Mandus wrote: Wed, 03 Aug 2005 17:45:34 +0200 skrev Mage: Hello, I started to learn python some months ago. Mostly for fun, but I replaced php to python in many tools at my company in the last weeks. Because of our boss decision now I have to learn java. I can tell java

Re: pain

2005-08-03 Thread Mage
Terry Reedy wrote: Mage [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Thank you, I will check this out. My company will switch to a jsp site. Isn't jython slower (I mean performance) than java? As well as I understand jython code will be interpreted twice. I believe only

Re: question about deleting records from mysql

2005-07-27 Thread Mage
and begin as query. I did this in my pgsql layer. Using transactions every time is almost as bad as never using them. Mage -- http://mail.python.org/mailman/listinfo/python-list

is this pythonic?

2005-07-20 Thread Mage
Or is there better way? for (i, url) in [(i,links[i]) for i in range(len(links))]: ... links is a list. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Python IDE

2005-07-19 Thread Mage
. I set it to display tabs as two spaces and Eclipse tells if I type spaces instead of tabs by accident. I like it. I had no luck with the code completion, but do you really need that for writing python programs? Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: goto

2005-07-18 Thread Mage
Hayri ERDENER wrote: hi, what is the equivalent of C languages' goto statement in python? best regards You really shouldn't use goto. Fortunately you can't. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: goto

2005-07-18 Thread Mage
to it. Maybe easier would be to write a Python assembler (there's probably already one out there) and just write to Python's virtual machine... Even easier to buy a book about programming. Note that python.org is second in google if you search programming. So we need a little more work. Mage

Re: cursor positioning

2005-07-12 Thread Mage
Danny Milosavljevic wrote: Hi, Examples ESC[2JESC[H same as clear, clear screen, go home \rESC[Kprogress %dprobably what you want :) Well, like the good old Commodore times :) Thank you. Mage -- http://mail.python.org/mailman/listinfo/python-list

cursor positioning

2005-07-11 Thread Mage
on the screen? Curses starts with clearing the whole screen and it is overkill. Many modules are on the net but I would like to resolve this simply task with native python. I tried: for something: print chr(8)*20+mystring, but it is nasty and didn't work well. Mage -- http

Re: cursor positioning

2005-07-11 Thread Mage
the percentage. However it fails to display this: 100 files read 200 files read 300 files read of course all in the same line and not under the last line. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: cursor positioning

2005-07-11 Thread Mage
))]: content = file(s).read() sys.stdout.write(chr(8)*35 + str(i + 1) + ' of ' + str(len(list)) + ' files read') sys.stdout.flush() Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: without shell

2005-06-10 Thread Mage
).read() Stores the output of ls into file_list. These commands invoke shell indeed. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Strings for a newbie

2005-05-27 Thread Mage
in Python? - nope! s = This is a sentence of words print s.split(' ') Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: datetime

2005-05-19 Thread Mage
Nader Emami wrote: L.S., It is very simple question: Why doesn't work the next statments? import datetime today = datetime.date.today() Works on python 2.3.5 Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: postgresql plpython bug

2005-05-05 Thread Mage
-05-05 13:20:43.793551', 'id': 4},) ERROR: invalid input syntax for type timestamp: 2005-05-05 13:20:43.793551 --- Mage -- http://mail.python.org/mailman/listinfo/python-list

postgresql plpython bug

2005-05-04 Thread Mage
is not accepted by postgresql. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: popen2 psql

2005-05-03 Thread Mage
Klaus Alexander Seistrup wrote: Mage wrote: I tried to write a proxy script for psql command. I need some query log. I failed to read from the file object. The psql command is probably linked against readline; did you look in the ~/.psql_history file? Thank you. I will check

Re: So many things that need to be decided....

2005-05-03 Thread Mage
be able to show tabs with some different colors than spaces but it isn't. However other editors fail one or more of these above. Eclipse also supports subversion, but I use the command line svn client. Mage -- http://mail.python.org/mailman/listinfo/python-list

popen2 psql

2005-05-02 Thread Mage
would like to log everything, so I need stdin and stdout files. Please help. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: How to start python interactively from python script?

2005-04-26 Thread Mage
[EMAIL PROTECTED] wrote: Hi, I would like to have a python script which does some computations at the beginning and then changes to interactive mode (by displaying the prompt). How can I do this? popen() Mage -- http://mail.python.org/mailman/listinfo/python-list

postgresql modules and performance

2005-04-24 Thread Mage
13 secs and it gave the result in associative array. Maybe I did something bad. pyPgSQL / DB-API raised a futurewarning and didn't worked. pyPgSQL / libpg worked well. I can create php-like dictionary result in 14 secs. Here is the code. It's only a test... Mage -- test.py

Re: postgresql modules and performance

2005-04-24 Thread Mage
Reinhold Birkenfeld wrote: Have you tried psycopg? Thank you. It did the fetchall() in 11 secs and 13 secs with dictionary creating. It's the fastest so far. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting into Python, comming from Perl.

2005-04-24 Thread Mage
] list.append(17) for i in list: print i foo = dict() foo['bar'] = 7 foo['trooll'] = 'green' for k,v in foo.iteritems(): print k, v def test(**args): for key in args.keys(): print key, args[key] test(a='apple', c='orange') Mage -- http://mail.python.org/mailman

Re: a=[ lambda t: t**n for n in range(4) ]

2005-04-23 Thread Mage
for type less a bit. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Python or PHP?

2005-04-23 Thread Mage
doesn't have any smell - writing python programs you feel much better check this: http://wiki.w4py.org/pythonvsphp.html Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Python or PHP?

2005-04-23 Thread Mage
Tim Tyler wrote: Mage [EMAIL PROTECTED] wrote or quoted: check this: http://wiki.w4py.org/pythonvsphp.html Good - but it hardly mentions the issue of security - which seems like a bit of a problem for PHP at the moment. I don't think so. Bad programmers are able to write bad

Re: Python or PHP?

2005-04-23 Thread Mage
-copypasters. I don't know anyone IRL who uses python. So I started to learn it. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: Handling lists

2005-04-23 Thread Mage
[EMAIL PROTECTED] wrote: I have a question on python lists. Suppose I have a 2D list list = [[10,11,12,13,14,78,79,80,81,300,301,308]] how do I convert it so that I arrange them into bins . so If i hvae a set of consecutive numbers i would like to represent them as a range in the list with max

Re: goto statement

2005-04-21 Thread Mage
that you can use sftpfs with gui editor. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: goto statement

2005-04-21 Thread Mage
/ if you don't really want to do it / Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: goto statement

2005-04-20 Thread Mage
praba kar wrote: Dear All, In Python what is equivalent to goto statement You shouldn't use goto in high-level languages. Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: goto statement

2005-04-20 Thread Mage
Maxim Kasimov wrote: WOW, just greate! ... but i'd like to relax at some more interesting way than to comment each of rows There are editors that can comment and uncomment blocks. In worst case you can use to comment blocks (not elegant but works). Mage -- http://mail.python.org

exception handling

2005-04-20 Thread Mage
, but there might be many. Also I know I can write: except: if str(sys.exc_info()[0]) == 'exceptions.SystemExit': raise But honestly I would like simething like that: except (!SystemExit): Is this possible somehow? Mage -- http://mail.python.org/mailman/listinfo/python-list

modules and namespaces

2005-04-19 Thread Mage
modules. I found in the manual that imported modules will be searched in the container module first. Is it more efficient to import the string module into main and m1 and m2 than importing only into m1 and m2? Mage -- http://mail.python.org/mailman/listinfo/python-list

packages

2005-04-18 Thread Mage
for more information? Mage -- http://mail.python.org/mailman/listinfo/python-list

Re: database in python ?

2005-04-13 Thread Mage
benchmarks. MySQL 5 is slower than postgresql and it's also slower than firebird if you do some real work. Mage -- http://mail.python.org/mailman/listinfo/python-list

semicolons

2005-04-11 Thread Mage
syntax too. Mage -- http://mail.python.org/mailman/listinfo/python-list

hello

2005-04-10 Thread Mage
Cleese and Monty Python too. So hi everyone. Mage -- http://mail.python.org/mailman/listinfo/python-list