On Jan 17, 3:08 pm, "Octavian Rasnita" wrote:
>> From: "Adam Skutt"
>> And we're not discussing those languages, we're discussing Python,
>> which has an explicit policy of "batteries included". As such,
>> criticism of the st
On Jan 18, 3:49 am, "Octavian Rasnita" wrote:
> From: "Adam Skutt"
> Subject: Re: Tkinter: The good, the bad, and the ugly!
>
> On Jan 17, 3:08 pm, "Octavian Rasnita" wrote:
> > "Batteries included"?
>
> > Python doesn't
ipal, practice is
pretty heavily divorced from principal here. Principal doesn't help
me write GUI applications today.
> wxWidgets is not suitable for a modern type
> GUI ad thus clearly not the toolkit/framework
> of the 21st century.
None of the toolkits accessible from CPython
On Jan 18, 2:11 pm, rantingrick wrote:
> Adam now you are making sense. Everything you said here is true.
> This
> is why we must push for the OpenGUI standard.
Funny, I write considerable detail about why such a thing is a
pipedream and useless even if it came to fruition, and yo
yout capabilities are both simultaneously far
advanced and far worse. Yet, it is likely the way of the future for a
large portion of us, like it or not.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 18, 4:45 pm, Arndt Roger Schneider
wrote:
> Adam Skutt schrieb:
> > Until we have pixel-perfect touch sensors, toolkits for devices with
> > pointer interfaces (e.g., PCs) and toolkits for devices with touch
> > interfaces (e.g., phones and tablets) will necessarily be
On Jan 18, 6:36 pm, rantingrick wrote:
On Jan 18, 4:57 pm, Adam Skutt wrote:
> On Jan 18, 4:45 pm, Arndt Roger Schneider
> > > E.g. a button is:
> > > A function gets asychnronously performed in response to
> > > a finger/mouse click and release inside a certain sc
imized version of wxWidgets in
the standard library by now as opposed to the whole damn thing. He
dodges technical questions because he lacks even the most elementary
understanding. He'll do the same to you and only offer absurd
platitudes and insults in return, as opposed to actual working
n distribution does not change
the size of the dependency set one bit, and that dwarfs the python
code in any case. That is what you want to avoid in my opinion.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
; on those platforms (screen readers).
Or we have cross-platform support as a requirement and no desire to
develop the GUI interface three times over. Hence the continued
popularity of Java GUIs.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
nd I don't see how
changing toolkits gets away from this.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
apps by
> default, without even knowing this.
Have you written an accessible application in any toolkit whatsoever?
It is not magic, and it does not happen by default, even when solely
using the standard widgets.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
do it without altering the meaning of the samples; it is a completely
non-nonsensical operation.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
esire to
> > develop the GUI interface three times over. Hence the continued
> > popularity of Java GUIs.
>
> Java GUIS are accessible. Maybe that's the reason.
No, the reason is as I stated, no more, no less. Accessibility
doesn't enter into most designs.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 19, 11:09 am, "Octavian Rasnita" wrote:
> From: "Adam Skutt"
> > Accessibility always requires special effort, and I don't see how
> > changing toolkits gets away from this.
>
> This is the most false thing I ever heard and the most dan
d software are built correctly, so again, your argument is
really for Qt, not for wxWidgets.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
gt;
I just did, NVDA was able to read my button text and its accessibility
description just fine, both in C++ and Python versions of my Qt
application. I didn't bother testing Linux or OS X, but I'm sure it
would work there too.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
custom building Qt
yourself. On Linux, you have to set QT_ACCESSIBILITY = 1, but Linux
is the exception.
> And most important, have you tested it with JAWS screen reader? (Or
> WindowEyes at least) because these are the most used screen readers.
> NVDA is pretty poor and it can't b
On Jan 20, 10:44 am, "Octavian Rasnita" wrote:
> From: "Adam Skutt"
> Actually, JAWS uses MSAA dead last, as I understand it, because the
> API is truly that awful. But MSAA is necessary whenever you're not
> using a Win32 common control or most of the other
entire discussion. I didn't think it worth mentioning because I
didn't think it all that relevant to any of the discussions that end
ed up occurring here.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 20, 3:02 pm, "Octavian Rasnita" wrote:
> From: "Adam Skutt" > Yet, for some unfathomable reason, you
> keep promoting
> I would be glad if you could tell me about a portable solution which is
> accessible with JAWS and Window Eyes, the most used screen
u land in.
>
> So pardon me, but not even looking at code you might learn from
> is pretty hysteric.
Not at all. Separating ideas from implementation can be difficult,
and convincing a judge of that vastly more so. It's a legitimate
concern, and people who intend to ship proprietary s
#x27;t tell Mr. "rantingrick" Johnson about them. It
can be our little secret ;)
Adam
[1] I think there might even be more, but I got lazy.
--
http://mail.python.org/mailman/listinfo/python-list
ou didn't
even test the functionality you provided in your own code, or that if
you did, you're entirely clueless about GUI design fundamentals.
> The main point is to create a
> ListCtrl that has two view modes, icons, and editable items. You lack
> simple reading and com
the grand scheme of things. Qt, Swing,
Gtk, and Win32 common controls[1] don't provide the same exact control
either, should we view it as deficient?
But regardless of the challenge, I don't think you're capable of
posting a worthwhile example, which is why you dismiss all the
p
prints tracebacks, much less
tracebacks that assist you in debugging.
Put plainly, you have no clue whatsoever what your code actually does
or how it accomplishes it, which is exactly what we'd expect.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
none of the three are implemented
with perfect consistency across Unicies.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
loading stuff into RAM. It's
not different from using memcached, or sqlite, or any other database
for that matter.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
o return duplicate entries; this is what I
expect is happening to you.
The right thing to do is actually check to see if all the files you
want exist, if you can. If not, you'll have to keep waiting until
you've opened all the files you expect to open.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
key off of that.
Those (or slight variants on them) are the common ways.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
at. :( Sadly, many
> application programmers tend to ignore the EINTR possibility.
This can be disabled by signal.siginterrupt(). Regardless, the signal
handling facilities provided by Python are rather poor.
Adam
[1] Ok, I lied, there's regular signals and realtime signals, which
have a few minor differences.
--
http://mail.python.org/mailman/listinfo/python-list
d to be root, of course, or make the
users members of that group anyway (in which case, just use the damn
ACL).
Adam
--
http://mail.python.org/mailman/listinfo/python-list
I'm not even remotely convinced that 'removing
skill' is a good idea.
It especially doesn't help you very much when the whole point of your
script is just a wrapper to elevate privileges (execute another
programs) or copy files about.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Feb 17, 2011 at 2:12 AM, Dan Stromberg wrote:
>
> On Wed, Feb 16, 2011 at 6:59 PM, Adam Skutt wrote:
>> On Feb 16, 9:00 pm, Dan Stromberg wrote:
>>> So yeah, whether you use perl or anything else invoked with #!, you're
>>> pretty much better off with
larger design
issues mandating the need for privilege when it's not really
necessary.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
needing privilege escalation, you
should go back and see if there is another way to achieve what you
want. There's a good chance the other way will be a better way.
It sounds to me like you need to better define all the operations that
your software needs to be able to accomplish and what pri
legal privileges to modify the program, then there
> *is* a security hole and the program is not really the problem.
sudo already does this to a limited degree. If you want more
granularity than sudo, you're looking at mandatory access controls.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
any advice/insght about how I can troubleshoot,
diagnose, and resolve this issue?
Thanks in advance,
-- Adam
0:pylibpcap-0.6.2$ python3
Python 3.2 (r32:88452, Feb 20 2011, 11:12:31)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credi
unicode and number.
Hopefully these details will be helpful to others in the future.
Thanks again for the nudge,
-- Adam.
On Wed, Feb 23, 2011 at 11:58 AM, casevh wrote:
> On Feb 23, 8:54 am, Adam Pridgen
> wrote:
>> Hello,
>>
>> I am trying to get a compiled module to wor
Link to pastebin: http://pastebin.com/102fhkgp
On Wed, Feb 23, 2011 at 6:18 PM, Adam Pridgen
wrote:
> Thanks for the help. That information got me started in the right
> direction. I put my notes up on paste bin for others to use in the
> future.
>
> For the future reference of
(args=('fruit'),name='charlie')
pants.start()
Traceback (most recent call last):
File "C:\Users\Adam\Desktop\PyTiVo\task_master.py", line 13, in
pants = nThread(args=('fruit'),name='charlie')
TypeError: __init__() got an unexpected keywor
On May 19, 12:04 am, Erik Max Francis wrote:
> Adam W. wrote:
> > I thought I knew how classes worked, but this code sample is making my
> > second guess myself:
>
> > import threading
>
> > class nThread(threading.Thread):
> > def __init__(self):
>
On May 19, 4:30 am, Gregory Ewing wrote:
> Or if you do need to override it for some reason, you
> need to accept the extra args and pass them on:
>
> class nThread(threading.Thread):
>
> def __init__(self, *args, **kwds):
> threading.Thread.__init__(self, *args, **kwds)
>
On Jul 8, 12:53 am, "Zooko O'Whielacronx" wrote:
> I don't understand. I described two different problems: problem one is
> that the inputs, outputs and literals of your program might be in a
> different encoding (in my experience they have most commonly been in
> decimal). Problem two is that you
On Jul 8, 7:23 am, Mark Dickinson wrote:
> On Jul 8, 11:58 am, Adam Skutt wrote:
>
> > accurately. Moreover, in general, it's impossible to even round
> > operations involving transcendental functions to an arbitrary fixed-
> > precision, you may need effectively i
On Jul 8, 9:22 am, Mark Dickinson wrote:
> On Jul 8, 2:00 pm, Adam Skutt wrote:
>
> > On Jul 8, 7:23 am, Mark Dickinson wrote:> On Jul 8,
> > 11:58 am, Adam Skutt wrote:
>
> > > > accurately. Moreover, in general, it's impossible to even round
&g
deal out of than is
appropriate. The fact that I may not be able to complete a given
calculation for an arbitrary precision is not something that can be
ignored. It's the same notional problem with arbitrary-precision
integers: is it better to run out of memory or overflow the
calculation? The answer, of course, is a trick question.
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 8, 12:38 pm, "Zooko O'Whielacronx" wrote:
> On Thu, Jul 8, 2010 at 4:58 AM, Adam Skutt wrote:
>
> > I can't think of any program I've ever written where the inputs are
> > actually intended to be decimal. Consider a simple video editing
>
mentary functions if you can tolerate intermediate
calculations that are more than twice as large as your double in the
corner cases. Certainly, for a single calculation, this is
acceptable, but at how many calculations is it no longer acceptable?
Adam
--
http://mail.python.org/mailman/listinfo/python-list
before ')' token
339 :info:build SWIG/_m2crypto_wrap.c:22582: error: expected
expression before ')' token
340 :info:build SWIG/_m2crypto_wrap.c:22615: warning: passing argument
4 of 'pkcs7_sign1' makes integer from pointer without a cast
341 :info:build SWIG/_m2crypto_wrap.c:22615: error: too many arguments
to function 'pkcs7_sign1'
342 :info:build SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_verify1':
343 :info:build SWIG/_m2crypto_wrap.c:22628: error: 'STACK' undeclared
(first use in this function)
344 :info:build SWIG/_m2crypto_wrap.c:22628: error: 'arg2' undeclared
(first use in this function)
345 :info:build SWIG/_m2crypto_wrap.c:22628: error: expected
expression before ')' token
346 :info:build SWIG/_m2crypto_wrap.c:22659: error: expected
expression before ')' token
347 :info:build SWIG/_m2crypto_wrap.c:22692: warning: passing argument
3 of 'pkcs7_verify1' from incompatible pointer type
348 :info:build SWIG/_m2crypto_wrap.c:22692: warning: passing argument
4 of 'pkcs7_verify1' makes integer from pointer without a cast
349 :info:build SWIG/_m2crypto_wrap.c:22692: error: too many arguments
to function 'pkcs7_verify1'
350 :info:build SWIG/_m2crypto_wrap.c: In function '_wrap_pkcs7_verify0':
351 :info:build SWIG/_m2crypto_wrap.c:22707: error: 'STACK' undeclared
(first use in this function)
352 :info:build SWIG/_m2crypto_wrap.c:22707: error: 'arg2' undeclared
(first use in this function)
353 :info:build SWIG/_m2crypto_wrap.c:22707: error: expected
expression before ')' token
354 :info:build SWIG/_m2crypto_wrap.c:22734: error: expected
expression before ')' token
355 :info:build SWIG/_m2crypto_wrap.c:22755: warning: passing argument
3 of 'pkcs7_verify0' makes integer from pointer without a cast
356 :info:build SWIG/_m2crypto_wrap.c:22755: error: too many arguments
to function 'pkcs7_verify0'
357 :info:build SWIG/_m2crypto_wrap.c: In function
'_wrap_pkcs7_get0_signers':
358 :info:build SWIG/_m2crypto_wrap.c:23188: error: 'STACK' undeclared
(first use in this function)
359 :info:build SWIG/_m2crypto_wrap.c:23188: error: 'arg2' undeclared
(first use in this function)
360 :info:build SWIG/_m2crypto_wrap.c:23188: error: expected
expression before ')' token
361 :info:build SWIG/_m2crypto_wrap.c:23199: error: 'result'
undeclared (first use in this function)
362 :info:build SWIG/_m2crypto_wrap.c:23211: error: expected
expression before ')' token
363 :info:build SWIG/_m2crypto_wrap.c:23227: error: expected
expression before ')' token
364 :info:build error: command '/usr/bin/gcc-4.2' failed with exit status 1
Anyone know a way to resolve this?
Cheers
Adam
--
http://mail.python.org/mailman/listinfo/python-list
Anyone have any ideas about this?
Cheers
Adam
On Tue, Jul 13, 2010 at 16:18, Adam Mercer wrote:
> Hi
>
> I'm trying to build M2Crypto on Mac OS X 10.6.4 against python2.5
> (python2.6 fails in the same way), with SWIG 2.0.0 and OpenSSL 1.0.0a
> and it is failing with th
rchitecture, i.e.
everything is 64 bit. The last time I build M2Crypto on this box was
against SWIG-1.3.x and OpenSSL-0.9.8? So one of these (or both) has
broken something... Looks like I'll have to revert each one at a
time...
Cheers
Adam
--
http://mail.python.org/mailman/listinfo/python-list
ee
> http://chandlerproject.org/Projects/MeTooCrypto for details on how to get
> the sources.
Thanks any ETA on a new release supporting OpenSSL 1.0.x?
Cheers
Adam
--
http://mail.python.org/mailman/listinfo/python-list
icular fire has been put
out.
Cheers
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On May 27, 2:10 am, Ron Garret wrote:
> I'm trying to build PyObjC on an Intel Mac running OS X 10.5.7. The
> build is breaking because distutils seems to want to build extension
> modules as universal binaries, but some of the libraries it depends on
> are built for intel-only, i.e.:
>
> [...@mi
On May 13, 8:53 pm, Morad wrote:
> I recently got a new MacBook Pro with Leopard, and would like to
> develop using Python and PyQt. I installed the latest QtSDK, updated
> MacPython to V 2.5.4 and then proceeded to install SIP and PyQt as
> described in Mark Summerfield's book on PyQt Programming
On Apr 26, 2:14 pm, Jeroen Ruigrok van der Werven wrote:
> -On [20090425 19:17], Aahz (a...@pythoncraft.com) wrote:
>
> >In article
> >,
> > wrote:
> >>"Include/token.h", line 42.9: 1506-213 (S) Macro name TILDE cannot be
> >>redefined.
> >>"Include/token.h", line 42.9: 1506-358 (I) "TILDE" is d
On Jun 13, 1:11 pm, Mike Kazantsev wrote:
> On Sat, 13 Jun 2009 02:23:37 -0500
>
>
>
>
>
> Randall Smith wrote:
> > I've got a situation in which I'd like to hand one end of a pipe to
> > another process. First, in case you ask why, a spawner process is
> > created early before many modules are
On Jun 13, 10:44 am, Mike Kazantsev wrote:
> On Fri, 12 Jun 2009 22:02:53 -0700 (PDT)
>
>
>
>
>
> Andrew Savige wrote:
> > I'd like to convert the following Perl code to Python:
>
> > use strict;
> > {
> > my %private_hash = ( A=>42, B=>69 );
> > sub public_fn {
> > my $param = shift
On Jul 27, 7:53 pm, David Lyon wrote:
> On Mon, 27 Jul 2009 09:42:06 -0700 (PDT), ray
> wrote:
>
> > I am working on a Trac installation. I am new to Python. To install
> > packages, it is suggested to use setuptools. I have not understood
> > the directions.
>
> > I execute ez_install.py.
>
>
e fact "Foo" and "Bar" are immutable isn't enough to solve the
problem. The variables themselves, since they obey pointer semantics,
must also be forbidden from being reseated (i.e., they must be
references in the C++ sense or become 'T const * const' pointers).
Thanks,
Adam
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 5, 12:06 am, Steven D'Aprano wrote:
> On Fri, 04 Sep 2009 06:36:59 -0700, Adam Skutt wrote:
> > Nope, preventing mutation of the objects themselves is not enough. You
> > also have to forbid variables from being rebound (pointed at another
> > object). Co
On Sep 5, 11:29 am, Terry Reedy wrote:
>
> This is a pointless replacement for 'def b(x): return x+a'
And? That has nothing to do with anything I was saying whatsoever.
Point is: any mutable shared state is bad, and making objects
immutable isn't enough to remove all shared state, or even reduce
On Sep 5, 7:38 pm, Steven D'Aprano No. Lambdas are a *syntactical construct*, not an object. You wouldn't
> talk about "while objects" and "if objects" and "comment objects"
> *because they're not objects*.
This rhetoric precludes functions objects as well and is entirely non-
compelling.
> Funct
On Sep 5, 10:34 pm, Terry Reedy wrote:
> Adam Skutt wrote:
> > On Sep 5, 11:29 am, Terry Reedy wrote:
> >> This is a pointless replacement for 'def b(x): return x+a'
>
> > And? That has nothing to do with anything I was saying whatsoever.
>
> Agreed.
I'm trying to scrape some historical data from NOAA's website, but I
can't seem to feed it the right form values to get the data out of
it. Heres the code:
import urllib
import urllib2
## The source page http://www.erh.noaa.gov/bgm/climate/bgm.shtml
url = 'http://www.erh.noaa.gov/bgm/climate/pic
in days_off]):
>doSomething
>
> Is there a better pythonic idiom for this situation?
... hmmm, try this:
if set(['monday', 'tuesday'])&set(days_off):
dosomething
Regards
Adam Przybyla
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 29, 10:08 am, Adam Tauno Williams
wrote:
> No, I don't think so. You're asking the module to over generalize
> behavior. Reaping of the child is important, and that the child needs
> to be reaped may matter to the master child (why? did something go
> wrong?).
A
ource/> .
@prefix ns3: <http://dbpedia.org/resource/Category%3> .
@prefix ns5: <http://dbpedia.org/resource/2> .
and obviously the QName outputs are wrong. Is there any way to make
an RDFLib NamespaceManager *not* generate any namespaces
automatically?
Thanks,
Adam
--
https://mail.python.org/mailman/listinfo/python-list
,
> jave-Swing and/or GWT
>
> Much respect,
>
> Monica
> 941-212-9085
You can try these websites:
https://www.toptal.com/python/interview-questions
https://devskiller.com/screen-python-developers-skills-find-best-guide-recruitment/
Regards
Adam M.
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 2012-08-04 at 20:26 -0700, shearich...@gmail.com wrote:
> >
> > Just out of curiosity, why do you eschew ORMs?
> Good question !
> I'm not anti-ORM (in fact in many circs I'm quite pro-ORM) but for
> some time I've been working with a client who doesn't want ORMs used
> (they do have quit
On Thu, 2012-08-09 at 04:30 -0700, loial wrote:
> I am looking to monitor print jobs on linux via python.
> pycups looks a possibility, but I cannot find any useful tutorial, examples
> of how to use it.
> Can anyone help?
Modern CUPs can provide event notifications via RSS; perhaps that would
w
On Fri, 2012-08-31 at 21:04 +0200, Laszlo Nagy wrote:
> I have seen a stand alone cross platform IPC server before that could
> serve "channels", and send/receive messages using these channels. But I
> don't remember its name and now I cannot find it. Can somebody please help?
I strongly recomm
On Fri, 2012-10-12 at 19:27 +0200, Roel Schroeven wrote:
> moo...@yahoo.co.uk schreef:
> > Hi,
> > I need to define some configuration in a file that will be manually created.
> > Internally, the data will be stored as a dict, which contains various
> > properties related to a design
> > e.g. Desi
ns.
<http://www.whitemiceconsulting.com/2012/10/setting-course-for-utc.html>
[constructive] Feedback and other suggestions appreciated.
--
Adam Tauno Williams
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2012-10-29 at 16:13 -0700, noydb wrote:
> All,
> I need help with a date and time comparison.
> Say a user enters a date-n-time and a file on disk. I want to compare
> the date and time of the file to the entered date-n-time; if the file
> is newer than the entered date-n-time, add the fil
On Mon, 2012-11-19 at 10:39 +, andrea crotti wrote:
> I have very long processes to spawn which I want to lauch as separate
> processes (and communicate with ZeroMQ), but now the problem is that the
> forked process appears in "ps" with the same name as the launcher
> process.
> This is a simpl
really need a real IDE, as the windows guys around me say I do,
You don't need one.
You are crazy if you don't WANT one.
Check out geany <http://www.geany.org/>
--
Adam Tauno Williams
--
http://mail.python.org/mailman/listinfo/python-list
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam Tauno Williams
--
http://mail.python.org/mailman/listinfo/python-list
en(self, request)
File
"/usr/local/lib/python2.7/site-packages/suds-0.4-py2.7.egg/suds/transport/http.py",
line 64, in open
raise TransportError(str(e), e.code, e.fp)
suds.transport.TransportError: HTTP Error 401: Unauthorized
--
System & Network Administrator [ LPI & NCLA ]
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam Tauno Williams
--
http://mail.python.org/mailman/listinfo/python-list
t a more useful answer?
--
System & Network Administrator [ LPI & NCLA ]
<http://www.whitemiceconsulting.com>
OpenGroupware Developer <http://www.opengroupware.us>
Adam Tauno Williams
signature.asc
Description: This is a digitally signed message part
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 2012-03-09 at 00:03 +0100, Rafael Durán Castañeda wrote:
> El 08/03/12 16:44, Adam Tauno Williams escribió:
> > SUDS version 0.4 pn x86_64 Python 2.7
> > I'm having a bear of a time getting HTTP Basic Authentication to work
> > for a SOAP request via suds. Also
On Wed, 2012-03-14 at 07:43 -0700, xliiv wrote:
> Like the topic.. .
> I use Python a lot, both Windows and Linux, and it's little weird to
> have many python process without fast distinction which is what.
I'm not sure of my interpretation of your problem but if you want to set
the name of the ru
/hgweb/coils/coils/file/9d6c304dd405/src/coils/logic/workflow/actions/doc/watermark.py>
--
Adam Tauno Williams <http://www.whitemiceconsulting.com>
System Administrator, OpenGroupware Developer, LPI / CNA
Fingerprint 8C08 209A FBE3 C41A DD2F A270 2D17 8FA4 D95E D383
signature.asc
Descripti
On Sat, 2012-04-28 at 17:45 -0700, kenk wrote:
> I've got a server process written in C++ running on Unix machine.
> On the same box I'd like to run multiple Python scripts that will
> communicate with this server.
> Can you please suggest what would be best was to achieve this ?
Time to start us
On Mon, 2012-05-07 at 20:15 -0700, Charles Hixson wrote:
> class Node:
> def__init__(self, nodeId, key, value, downRight, downLeft, parent):
> dirty=True
> dlu=utcnow()
> self.node=[nodeId, downLeft, [key], [value],
> [downRight], parent
On Fri, 2012-05-18 at 09:53 -0700, Charles Hixson wrote:
> Does __slots__ make access to variables more efficient?
Absolutely, yes.
> If one uses property() to create a few read-only pseudo-variables, does
> that negate the efficiency advantages of using __slots__?
> (Somehow I feel the documen
On Thu, 2012-05-17 at 11:13 +1000, Chris Angelico wrote:
> On Thu, May 17, 2012 at 9:01 AM, Ethan Furman wrote:
> > A record is an interesting critter -- it is given life either from the user
> > or from the disk-bound data; its fields can then change, but those changes
> > are not reflected on
On Thu, 2012-04-26 at 12:16 -0700, anntzer@gmail.com wrote:
> On Sunday, March 18, 2012 10:12:24 PM UTC-7, anntz...@gmail.com wrote:
> > Dear all,
> > I would like to announce the first public release of cmd2, an extension of
> > the standard library's cmd with argument parsing, here:
> > ht
On Thu, 2012-05-31 at 15:21 -0400, Adam Tauno Williams wrote:
> On Thu, 2012-04-26 at 12:16 -0700, anntzer@gmail.com wrote:
> > On Sunday, March 18, 2012 10:12:24 PM UTC-7, anntz...@gmail.com wrote:
> > > Dear all,
> > > I would like to announce the first public re
On Wed, 2011-06-01 at 19:49 -0700, Uncle Ben wrote:
> Shelving is a wonderfully simple way to get keyed access to a store of
> items. I'd like to maintain this cache though.
+1
> Is there any way to remove a shelved key once it is hashed into the
> system? I could do it manually by removing the
import message_from_file
message = message_from_file(stream)
The best way to serialize a Message to a stream seems to be
from email.generator import Generator
tmp = BLOBManager.ScratchFile() # Create a stream
g = Generator(tmp, mangle_from_=False, maxheaderlen=60)
g.flatten(message)
On Sat, 2011-06-11 at 13:07 +, rzed wrote:
> Desktop apps don't seem to be the wave of the future, but they still
> serve a useful purpose today. They can be ideal for a quick database
> table management screen,
+1, they are perfect for that, and will be around for a *long* *long*
time. An
On Thu, 2011-06-16 at 15:43 -0700, gervaz wrote:
> Hi all, can someone tell me why the read() function in the following
> py3 code returns b''
> >>> h = http.client.HTTPConnection("www.twitter.com")
> >>> h.connect()
> >>> h.request("HEAD", "/", "HTTP 1.0")
> >>> r = h.getresponse()
> >>> r.read()
On Wed, 2011-06-22 at 06:34 -0700, Anurag wrote:
> Hi All,
>
> I am working on application which needs to do a authentication against
> LDAP, if LDAP not installed then local system account (administrator
> user in windows and root user in Linux). This should work on both
> Windows and Linux.
See
On Fri, 2011-06-24 at 15:55 +0530, saurabh verma wrote:
> Hi all ,
> May be I'm just asking a silly/old question .
> I have some open web APIs which i can use , on it I want to develop an
> desktop application , probably cross platform but mostly I'm aiming at
> *unix platforms .
> I've got no
On Tue, 2011-07-05 at 22:54 -0700, Phlip wrote:
> Pythonistas
> Consider this hashing code:
> import hashlib
> file = open(path)
> m = hashlib.md5()
> m.update(file.read())
> digest = m.hexdigest()
> file.close()
> If the file were huge, the file.read() would allocate a big string and
>
On Sun, 2011-07-10 at 15:50 -0700, Ivan Kljaic wrote:
> Ok Guys. I know that most of us have been expiriencing the need for a
> nice Gui builder tool for RAD and most of us have been googling for it
> a lot of times. But seriously. Why is the not even one single RAD tool
> for Python. I mean what h
>Because RAD tools are for GUI toolkits, not for languages. If you're
>using GTK, Glade works fine. Same with QT and QTDesigner. If you're
>using WPF with IronPython, t
These [Glade, etc...] are *NOT* RAD tools. They are GUI designers. A
RAD tool provides a GUI designer that can be bound to a b
On Mon, 2011-07-11 at 03:44 +, John Gordon wrote:
> In Anthony Papillion
> writes:
> > So I've built a UI with Glade and have loaded it using the standard
> > Python code. In my UI, I have a textfield called txtUsername. How do I
> > get and set the text in this field from my Python code?
f
1101 - 1200 of 1390 matches
Mail list logo