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
for if I want to come back to Python and
develop MVC web apps?
Mage
--
http://mail.python.org/mailman/listinfo/python-list
= + 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
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
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
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
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
. 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
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
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
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
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
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
))]:
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
).read()
Stores the output of ls into file_list.
These commands invoke shell indeed.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
in Python? - nope!
s = This is a sentence of words
print s.split(' ')
Mage
--
http://mail.python.org/mailman/listinfo/python-list
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
-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
is not accepted by postgresql.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
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
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
would like to log
everything, so I need stdin and stdout files.
Please help.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
[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
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
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
]
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
for type less a bit.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
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
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
-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
[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
that you can use sftpfs with gui editor.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
/ if you don't really want to do it /
Mage
--
http://mail.python.org/mailman/listinfo/python-list
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
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
, 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. 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
for more information?
Mage
--
http://mail.python.org/mailman/listinfo/python-list
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
syntax too.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
Cleese and Monty Python too.
So hi everyone.
Mage
--
http://mail.python.org/mailman/listinfo/python-list
41 matches
Mail list logo