Bluebird added the comment:
Ok, I'll close my request if you do not think of any value in it.
Py is such an elegant solution, I wish something as simple would also address
this problem.
Virtual environement do have the downside of not coming directly with Python.
In my work environment
Bluebird added the comment:
Thanks for the quick feedback.
I agree that it makes sense for python modules to support -m. However, PyQt
comes with many executables originally written in C++ for Qt (designer,
assistant). It feels a bit strange to add a module with that name, just
New submission from Bluebird :
The py Python launcher is a great improvement over a few years ago when
managing multiple Python installation was tedious.
However, it does not solve one annoying problem: the Scripts directory. If you
install tools like mypy, pyqt-tools or pyinstaller
Hi,
The question is not totally related to Python but there is a strong
connection. Everytime that I try to debug some python programs under
Windows, I encounter the issue that things printed on the console
simply break the program because :
1. My windows console does not support UTF8
2. Things
I love named tuples, they rock for this kind of task: storing
complicated structure in a python compatible way, without too much
hassle.
And as far as load/save on disk is concerned, I simply use regular
python structure with safe eval [1]. I get all the flexibility that I
need for the file
On 5 mar, 13:19, lbolla lbo...@gmail.com wrote:
On Mar 5, 10:01 am, BlueBird p...@freehackers.org wrote:
On 3 mar, 20:35, Stefan Behnel stefan...@behnel.de wrote:
BlueBird, 03.03.2010 17:32:
I am looking for aSOAP1.2 python client. To my surprise, it seems
that this does
On 3 mar, 20:35, Stefan Behnel stefan...@behnel.de wrote:
BlueBird, 03.03.2010 17:32:
I am looking for a SOAP 1.2 python client. To my surprise, it seems
that this does not exist. Does anybody know about this ?
SOAP may be an overly bloated protocol, but it's certainly not black magic
On Feb 24, 9:23 pm, Andreas Waldenburger use...@geekmail.invalid
wrote:
Hi all,
a company that works with my company writes a lot of of their code in
Python (lucky jerks). I've seen their code and it basically looks like
this:
Function that does stuff
def doStuff():
while not
Hi,
I am looking for a SOAP 1.2 python client. To my surprise, it seems
that this does not exist. Does anybody know about this ?
The following clients seem to be both unmaintained and still
supporting only SOAP 1.1 :
- SUDS
- zsi
- SOAPy
cheers,
Philippe
--
Hi,
I have a program that manages several thousands instances of one
object. To reduce memory
consumption, I want of course that specific object to have the
smallest memory footpring possible.
I have a few ideas that I want to experiment with, like using
__slots__, using a tuple or using a
On 22 avr, 11:56, Steven D'Aprano
ste...@remove.this.cybersource.com.au wrote:
On Wed, 22 Apr 2009 02:30:32 -0700, Chris Rebert wrote:
On Wed, Apr 22, 2009 at 2:24 AM, BlueBird p...@freehackers.org wrote:
Hi,
I have a program that manages several thousands instances of one
object
New submission from Bluebird p...@freehackers.org:
The documentation of optparse mentions make_option() as the standard way
to create an option list:
For example, in the doc of python 2.5:
14.3.3.2 Populating the parser
[...]
pass it an Option instance (as returned by make_option
On Jan 19, 4:10 am, Steven Woody narkewo...@gmail.com wrote:
Hi,
Python has Signal-Slot mechanism,
Python does not have signal/slot mechanism. You are talking about the
Qt toolkit, which is initially a (nice) C++ toolkit, available also in
python via the PyQt wrapper.
Signal/slots were
On Dec 28 2008, 6:33 pm, Giampaolo Rodola' gne...@gmail.com wrote:
Hi,
I know that it's not possible to kill threads but I'm wondering if
does exist some workaround for my problem.
I have a test suite which does a massive usage of threads.
Sometimes happens that one test fails, the test suite
Alessio Pace wrote:
Hi,
I have to distribute a Python application which relies on an external
library, and I'm not very fluent in this kind of stuff with Python (I
come from the Java world where I would have used the Maven build tool
to create an assembly with dependencies of all it is
On Aug 24, 8:35 pm, Dennis Lee Bieber [EMAIL PROTECTED] wrote:
On Sun, 24 Aug 2008 01:48:46 -0700 (PDT), BlueBird
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
Whenever an exception occurs, in the master thread or in one of the
slave threads, I would like to interrupt all
Hi,
I have a program with a master thread and several slave threads.
Whenever an exception occurs, in the master thread or in one of the
slave threads, I would like to interrupt all the threads and the main
program. Threading API does not seem to provide a way to stop a
thread, is there anyway
On Jul 29, 4:56 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Hussein B wrote:
Hi.
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support
Bluebird [EMAIL PROTECTED] added the comment:
I confirm that the problem is present on python2.5 on windows, and that
the attached patch fixes it.
--
nosy: +bluebird
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue839496
On May 6, 11:19 am, [EMAIL PROTECTED] wrote:
In cmd, I can use find like this.
C:\netstat -an | find 445
TCP0.0.0.0:4450.0.0.0:0 LISTENING
UDP0.0.0.0:445*:*
C:\
And os.system is OK. import os
os.system('netstat -an | find 445')
TCP
On May 6, 6:29 am, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Mon, 05 May 2008 19:43:24 -0300, David Anderson [EMAIL PROTECTED]
escribió:
Hi, i'm comingo from Java and I'm wanting to know what in Python is the
equivalent to the file.class in java, I am producing some apps that ar
not
On Mar 31, 7:24 pm, Amit Gupta [EMAIL PROTECTED] wrote:
Hi
I am looking for a some tool that can convert python scripts to
executable on Linux.
I found freeeze.py as the only option so far. Couple of queries on
freeze:
1. Have anyone used the freeze utility and any experiences to share
On Apr 1, 6:00 am, Alex Teiche [EMAIL PROTECTED] wrote:
On Mar 31, 7:53 pm, Benjamin [EMAIL PROTECTED] wrote:
On Mar 31, 8:41 pm, Alex Teiche [EMAIL PROTECTED] wrote:
On Mar 31, 6:40 pm, Alex Teiche [EMAIL PROTECTED] wrote:
On Mar 31, 11:49 am, Alex Teiche [EMAIL PROTECTED] wrote:
On Feb 16, 7:53 pm, [EMAIL PROTECTED] (Edward A. Falk) wrote:
IOW, is there a linker for python? I've written a program comprised of
about
five .py files. I'd like to find a way to combine them into a single
executable.
I wrote a small wiki page to sum-up my findings about such typical
On Dec 19, 1:26 pm, Markus Dahlbokum [EMAIL PROTECTED] wrote:
I just want the qt libs linked to the interpreter without accessing them
by a module. I tried the configure option '--with-libs='lib ...''. The
make did fine but the executable is too small and the qt symbols are not
known
On Dec 10, 8:15 am, farsheed [EMAIL PROTECTED] wrote:
I wrote a software and I want to protect it so can not be cracked
easily. I wrote it in python and compile it using py2exe. what is the
best way in your opinion?
I used SoftwarePassport ( http://www.siliconrealms.com/ ) for exactly
this.
I
On Dec 2, 4:27 pm, BlueBird [EMAIL PROTECTED] wrote:
On Nov 26, 5:07 pm, Sergio Correia [EMAIL PROTECTED] wrote:
Bluebird:
If you are using python 2.5, relative imports are no longer an
issue:http://docs.python.org/whatsnew/pep-328.html
It does not solve my problem, or I missed something
On Dec 4, 4:08 pm, [EMAIL PROTECTED] wrote:
This is *not* an attempt to start yet another Python-versus-
AnyOtherProgrammingLanguage flame war, but I thought people might be
interested in this:
http://www.tiobe.com/tpci.htm
Marc
I find Ohloh comparisons also useful:
On Nov 26, 5:07 pm, Sergio Correia [EMAIL PROTECTED] wrote:
Bluebird:
If you are using python 2.5, relative imports are no longer an
issue:http://docs.python.org/whatsnew/pep-328.html
It does not solve my problem, or I missed something:
[EMAIL PROTECTED] /cygdrive/d/work/work/vy-dev/foo
On Nov 21, 7:05 am, Sergio Correia [EMAIL PROTECTED] wrote:
As a side note, I find much easier to drop a PTH file than messing
with pythonpath. If you are not familiar with PTH files, what I do is
this
1) Go to C:\Program Files\Python25\Lib\site-packages or whatever is
appropiate in your
On Nov 20, 9:36 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
FWIW it's trivial to run pyflakes on your code (automatically behind
the scenes) to get syntax checking; in vim, my syntax errors get
underlined immediately for python code.
Can you describe your setup a bit more precisely ?
On Nov 2, 8:03 am, Bart. [EMAIL PROTECTED] wrote:
Friday 02 of November 2007 01:06:58 Diez B. Roggisch napisa (a):
So how to pass this object into embeded python interpreter (executed
script)? Anyone know any example?
You don't pass it, you _retrieve_ it in the embedded interpreter by
Hi,
Some time ago, I compiled a small list of tools to perform the some
python executable bundling tasks.
It might be useful for you. Here is the list:
http://www.freehackers.org/Packaging_a_python_program
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 18, 11:56 pm, Metalone [EMAIL PROTECTED] wrote:
In particular I want to know how to tell if reading and writing to the
console can occur.
Something like
sys.isConsolePresent()
For a different problem, I have the following code. It might help:
def isrealfile(file):
On Oct 11, 4:26 pm, Simon Brunning [EMAIL PROTECTED] wrote:
On 10/10/07, BlueBird [EMAIL PROTECTED] wrote:
Does anybody know where to find a library like EasyMock for python ? I
searched quickly but could not find anything.
I found python-mocks on sourceforge but form quickly reading
On Oct 12, 12:30 pm, Nick Craig-Wood [EMAIL PROTECTED] wrote:
My question is if Tix is old hat, what is the GUI toolkit I *should*
be using for quick-n-dirty cross platform GUI development? I guess
this is tangentially related to:
Hi,
Does anybody know where to find a library like EasyMock for python ? I
searched quickly but could not find anything.
I found python-mocks on sourceforge but form quickly reading the docs,
it is not an EasyMock style mock. Actually, according to
New submission from Bluebird:
Something very nice about unittest is that it can find automatically the
TestCase that you declare, and the test methods of every test case. This
makes the operation of adding or removing tests very simple.
For test modules however, there is nothing
Hi,
It looks like you have several things wrong:
On Sep 17, 9:29 am, luca72 [EMAIL PROTECTED] wrote:
class Form(QWidget, Ui_Form):
[...]
@pyqtSignature()
def on_pushButton_clicked(self):
Slot documentation goes here.
# TODO: not implemented
I tried and failed to read text files where the last line does not
contain proper EOL. For my tests, I use a file that I create with the
equivalent of :
open('toto', 'w').write( '1234\n4567\n89AB' )
My reading code looks like this :
l = f.readline()
while len(l):
On 17 sep, 13:24, Steve Holden [EMAIL PROTECTED] wrote:
BlueBird wrote:
I tried and failed to read text files where the last line does not
contain proper EOL. For my tests, I use a file that I create with the
equivalent of :
open('toto', 'w').write( '1234\n4567\n89AB' )
My reading
41 matches
Mail list logo