| |
thread by: TheSaint |
last post Jun 27 '08 by: TheSaint
hi there,
I've started to build a GUI for my Mailsweeper by the help of QT4 Designer.
I came across the problem that there isn't any prebuild file browser like
Kdialog.
I know some other sample, but PyGTK builded. I'm not happy to use a different
widget set or to have to design my own file browser with QT4 widgets.
It's almost thousand...
|
thread by: Aldarion |
last post Jun 27 '08 by: Fossil Pan
for the little script
#egg.py
import sys
for k,v in enumerate(sys.argv):
print k,v
it ignores the part after # on linux
below is the running output on windows and linux. no clue here.
D:\python\note>egg.py #test
0 D:\python\note\egg.py
|
thread by: Calvin Spealman |
last post Jun 27 '08 by: Calvin Spealman
On Jun 16, 2008, at 12:58 PM, Ethan Furman wrote:
'.exaple.'
|
thread by: Edwin.Madari |
last post Aug 14 '08 by: Edwin.Madari
here is a working code snippet to read from MySQL db.
python tutorial has examples of reading from files.
put them together to do your task.
===================================================
import MySQLdb
con = MySQLdb.connect(host='127.0.0.1',
port=4321, user='joe', passwd='shmoe', db='tst')
cursor = con.cursor()
sql = 'select *...
|
thread by: Fredrik Lundh |
last post Sep 10 '08 by: Fredrik Lundh
Kenneth McDonald wrote:
the pipe provided by the operating system has a limited buffer size
(usually just a few kilobytes). when the buffer fills up, the operating
system will halt the external process.
</F>
|
thread by: Terry Reedy |
last post Sep 23 '08 by: Terry Reedy
Will LINQ be ported to Python ?
I have three suggestions:
1. When starting a new thread, start a *new* thread. Don't tack a new,
unrelated subject onto an existing thread. Your post will not be seen
by people with readers that collapse thread and who do not happen to
read the 'Python is slow?' thread.
2. Also, give enough informaton...
|
thread by: Steve Holden |
last post Oct 8 '08 by: Steve Holden
sa6113 wrote:
http://www.openssh.org/ would be my first port of call.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
|
| |
thread by: asit |
last post Oct 26 '08 by: Stefan Behnel
what is XML-RPC System ????
|
thread by: David |
last post Jun 27 '08 by: David
On Thu, May 8, 2008 at 2:11 PM, Michael Mabin <d3vvnull@gmail.comwrote:
I misread your question.
No, Python eschews magic characters and symbols. They make code ugly
and harder to read and maintain.
The first 3 lines of the Zen of Python:
Beautiful is better than ugly.
|
thread by: Gary Herron |
last post Jun 27 '08 by: Gary Herron
Marlin Rowley wrote:
You don't need the newsgroup to answer this kind of question. Just try it!
abcdefghi abcd
Notice that the index does not change the original array.
Gary Herron
|
thread by: Martin Manns |
last post Jun 27 '08 by: Martin Manns
pyspread 0.0.7 has been released.
--
New features:
+ CSV import dialog with preview grid
Bug fixes:
+ setup.py now installs correctly into a sub-folder (tested for Linux
and WinXP).
|
thread by: =?ISO-8859-1?Q?Gerhard_H=E4ring?= |
last post Jun 27 '08 by: =?ISO-8859-1?Q?Gerhard_H=E4ring?=
Alexnb wrote:
Try os.startfile() instead. It should work better.
-- Gerhard
|
thread by: Ivan Ven Osdel |
last post Jul 3 '08 by: =?ISO-8859-1?Q?Ali_Servet_D=F6nmez?=
Not really, I have just worked with them more.
----- Original Message -----
From: "Ali Servet Dönmez" <asd@pittle.org>
To: python-list@python.org
Sent: Wednesday, July 2, 2008 1:15:04 PM GMT -06:00 US/Canada Central
Subject: Re: Freesoftware for auto/intelligent code completing in Python
On Jul 2, 7:55Â*pm, Ivan Ven Osdel...
|
thread by: |e0 |
last post Jul 9 '08 by: Mike Driscoll
So, i can't use wmi module on linux?
On Wed, Jul 9, 2008 at 9:14 AM, Lamonte Harris <pyth0nc0d3r@gmail.comwrote:
|
thread by: Michiel Overtoom |
last post Jul 23 '08 by: Michiel Overtoom
Maurizio wrote...
Give us an example of how your file looks, and what you want to
extract from it, so that we don't have to guess.
Greetings,
--
"The ability of the OSS process to collect and harness
|
| |
thread by: Terry Reedy |
last post Jul 29 '08 by: Terry Reedy
Tim Golden wrote:
I have to right-click on the title bar (or left-click on the icon on the
title bar), select edit and then select paste -- but it does work.
I just found the QuickEdit option. While in an administrator account
(if Python is installed for all users), bring up the menu as specified
above, select Properties instead, then...
|
thread by: Jean-Paul Calderone |
last post Sep 8 '08 by: Jean-Paul Calderone
On Mon, 08 Sep 2008 21:03:48 +0200, Christian Heimes <lists@cheimes.dewrote:
It works. Why shouldn't it be used?
Jean-Paul
|
thread by: Tim Golden |
last post Sep 18 '08 by: Tim Golden
Robert Rawlins wrote:
Some is going to kick themselves when they realise
that ElementTree *is* built in to Python 2.5
http://docs.python.org/whatsnew/modules.html#SECTION0001420000000000000000
TJG
|
thread by: kalin m |
last post Sep 18 '08 by: kalin m
yea... sorry... i just have all python stuff in the same folder and
messed up...
skip@pobox.com wrote:
|
thread by: Duncan Booth |
last post Sep 20 '08 by: Steven D'Aprano
candide <candide@free.invalidwrote:
General comments about the page:
Section 2: Poor demonstration of 'global'. The declaration of 'a' as global
is unnecessary and misleading.
Section 4: "Maths: Requires import math"
The supplied examples won't work if you just "import math", they need a
|
thread by: James Mills |
last post Oct 6 '08 by: James Mills
On Tue, Oct 7, 2008 at 9:25 AM, Blubaugh, David A. <dblubaugh@belcan.comwrote:
Most event-driven frameworks should be capable
of this kind of "real-time" performance. Indeed my own
event/component framework (pymills) is capable of
much more than 70Hz in terms of performance.
$ python examples/event/bench.py -e 100000
Setting up Sender......
|
thread by: Terry Reedy |
last post Oct 21 '08 by: Terry Reedy
Stef Mientki wrote:
Then it is not clear to me which locals your are getting.
2.5 manual says
"6.14 The exec statement
exec_stmt ::= "exec" or_expr ]
|
thread by: Boris Borcic |
last post Oct 23 '08 by: Boris Borcic
Chris Rebert wrote:
or a two-liner :
from operator import add
summed = map(add,listA,listB)
or a hybrid :
summed = map(sum,zip(listA,listB))
|
| |
thread by: andreas.eisele |
last post Jun 27 '08 by: Dieter Maurer
I should have been more specific about possible fixes.
In a related thread on http://bugs.python.org/issue2607
Amaury Forgeot d'Arc suggested a setting of the GC
thresholds that actually solves the problem for me:
10 loops, best of 3: 658 msec per loop
|
thread by: Stephen Moore |
last post Jun 27 '08 by: Stephen Moore
On Fri, Jun 6, 2008 at 8:20 PM, Kirill Simonov <xi@gamma.dn.uawrote:
yes, that's exactly what I wanted :)
however it still caused problems...
but I've managed to make it so it doesn't use tuples and now it all
seems to work.
thankyou for your help anyways, it's greatly appreciated :)
|