On 10/27/2016 11:05 PM, Michael Torrie wrote:
> On 10/27/2016 04:07 AM, Terry Reedy wrote:
>> As I and others have said, those keyboard functions are not available on
>> text terminals. I predict that keyboard functions that so not work on
>> all systems will never become built-ins. But some ar
David wrote:
> Seriously, 10 hours of testing for code developed in 10 hours? What
> kind of environment do you write code for? This may be practical for
> large companies with hordes of full-time testing & QA staff, but not
> for small companies with just a handful of developers (and where you
> n
Michael Torrie wrote:
> The second example, x = Integer.fromString('5') demonstrates a huge
> weakness in Java.
Ahem. Javascript. Sorry.
--
Michael Torrie
Assistant CSR, System Administrator
Chemistry and Biochemistry Department
Brigham Young University
Provo, UT 84602
+1.801.422.5771
A: Be
[EMAIL PROTECTED] wrote:
> Hello
>
> can u plz tell how to send and read msg from device(telit-863-GPS) and
> the coding is in python.
>
> if this can happen then plz send the source code to my mail account
Sounds like a new development model. You should patent this. Just
e-mail lists with cry
Anthony Jones wrote:
> The Grant Institute's Grants 101: Professional Grant Proposal Writing
> Workshop
> will be held in Vancouver, British Columbia, April 14 - 16, 2008. Interested
> development professionals, researchers, faculty, and graduate students should
> register as soon as possible,
Robert Rawlins - Think Blue wrote:
> Hello Guys,
>
>
>
> I'm looking for a function which will give me the last 4 characters of a
> given string. I'm sure it's a very simple task but I couldn't find anything
> of it.
Use the same technique as you'd use slicing a list.
http://www.diveintopytho
USCode wrote:
> Michael L Torrie wrote:
>> But it is served up in the firefox web browser. A good example is:
>>
>> http://www.faser.net/mab/chrome/content/mab.xul
>>
> That's pretty slick, but unfortunately then you're locked into only the
> Fire
USCode wrote:
> [EMAIL PROTECTED] wrote:
>> You just described what XUL aims to be
>> http://developer.mozilla.org/en/docs/The_Joy_of_XUL
>> http://developer.mozilla.org/en/docs/XULRunner
>>
>> At present it lacks for sure documentation (or maybe it isn't
>> organized really well)
>
> Just took a
pythonewbie wrote:
> Hi all,
>
> I am newbie in Python, my wish would be to create python applications
> for both Linux/Win32.
>
> I am stucked on creating a function to get the Python install
> directory (and site-packages directory) with a 100% reliable method...
>
> My goal is to verify if an
Horacius ReX wrote:
> Hi,
>
> I have a C program split into different source files. I am trying a
> new compiler and for some reason it only accepts a single source file.
> So I need to "mix" all my different C source files into a single one.
>
> Do you know about some type of python script able
sturlamolden wrote:
> Python has a GIL that impairs scalability on computers with more than
> one processor. The problem seems to be that there is only one GIL per
> process. Solutions to removing the GIL has always stranded on the need
> for 'fine grained locking' on reference counts. I believe th
brad wrote:
> Not complaining. len is simple and understandable and IMO fits nicely
> with split(), strip(), etc... that's why I used it as an example, but
> list(), etc. could be used as examples as well:
>
> a_string.list() instead of list(a_string)
This is a great example of why list() needs
Anton Mellit wrote:
> And I think (correct me if I am wrong) that the ^ operator (xor) is
> used very very infrequently. And it is not difficult to replace all ^
> with say ^^. The division is probably used more often, but python has
> this trend anyway - to replace division with 'true' division, s
[EMAIL PROTECTED] wrote:
> On 26 Ott, 19:23, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> > > (A,B,C,D)
>>> that could be
>>> ('tagA', None, [('tagB', None, ['bobloblaw], None)], None)
>> "C" isn't a tuple in your example either. It is a one-element list
>> (the single element INSIDE the
Robert Dailey wrote:
> On 10/21/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>> No, I literally meant that the Python C API is object-oriented.
>> You don't need an object-oriented language to write object-oriented
>> code.
>
> I disagree with this statement. C is not an object oriented langua
Alexandre Badez wrote:
> Personnaly, I use PyQt simply because I prefere Qt to Gtk, witch is
> much more integrated with all desktop than Gtk.
> In fact, your application in Qt on Mac, Win or Linux look like a
> native app.
Qt doesn't look very native on my desktop. In fact, Qt apps have always
l
Michael L Torrie wrote:
> Which is exactly what he said.
Haha. Nevermind. You're right. A subtle distinction, isn't it.
>He also said that what the poster
> probably wanted was
>
> if cal <= 0 or fat <=0
>
>
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
>
> that's the most incorrect thing i've heard all day!
>
> if cal or fat <= 0 is parsed as if (cal) or (fat <= 0)
Which is exactly what he said. He also said that what the poster
probably wanted was
if cal <= 0 or fat <=0
>
--
http://mail.python.org/mailman/listi
Alex Martelli wrote:
> is the "one obvious way to do it" (the set(...) is just a simple and
> powerful optimization -- checking membership in a set is roughly O(1),
> while checking membership in a list of N items is O(N)...).
Depending on a how a set is stored, I'd estimate any membership check
[EMAIL PROTECTED] wrote:
> In my case of have done os.listdir() on two directories. I want to see
> what files are in directory A that are not in directory B.
> I have used exceptions in other languages and only do so on logic that
> should never happen. In this case it is known that some of the fi
Ricardo Aráoz wrote:
> Hi,
> Do you know if for in-house development a GPL license applies? (Qt4
> and/or Eric4).
If your programs are used in-house and never released, then you don't
have to abide by the terms of the GPL. BUT (this is a big but) if you
ever release your code or distribute
kyo guan wrote:
> Hi all:
>
> When you import psyco in python2.5, you can see the memery grow up near
> 40MB in linux. but the same version python and
> psyco, is only grow up 1MB under windows.
I have a hunch it's because of how the OS's are reporting shared memory
usage. IE, the 1 MB i
Stefan Scholl wrote:
> Don't let the subject line fool you. I'm OK with cStringIO. The
> thread is now about xml.sax's parseString().
Giving you the benefit of the doubt here, despite the fact that Stefan
Behnel has state this over and over again and you just haven't listened.
xml.sax's use of pa
[EMAIL PROTECTED] wrote:
>
> .so maybe if you can help me with this?
If I understand you correctly, you're trying to make a "pretty-printer"
in python, right? Something that will take arbitrary python source
code, recognize the blocks and so forth, and then emit clean python code
(text) with
On Tue, 2007-05-22 at 09:34 -0700, Alexandre Gans wrote:
>
> You can use sudo on your user or the bit suid in your application...
Just know that you cannot setuid any shebang executable, of which python
scripts usually are.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2007-05-21 at 09:25 +0100, Robert Rawlins - Think Blue wrote:
> Hello Guys,
>
>
>
> I’m looking to restart a Linux system from my python application.
> What’s the best way to achieve this, is there something in the OS
> module?
Probably not. You need to just spawn the "reboot" command
On Tue, 2007-05-22 at 09:08 +0200, bryan rasmussen wrote:
> Well two things I would suppose:
>
> 1. relative popularity and volume of the group leads spammers to put
> more resources towards spamming the group.
>
> 2. I seem to remember that python-list is also a usenet group?
> non-moderated, me
On Mon, 2007-05-21 at 18:23 +0200, Petr Muller wrote:
> There's PyQt thingy, imho very good and easy to learn/use, but still
> powerful. I've used it for a small gui-oriented project with almost no
> problems and it worked like a charm. However, sometimes I had troubles
> finding useful document
On Mon, 2007-05-21 at 16:00 +0200, Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>
> >> Python is a strongly typed but dynamic language ...
> >
> > In the "A few questions" thread, John Nagle's summary of Python begins
> > "Python is a byte-code interpreted
On Mon, 2007-05-21 at 14:24 +, Grant Edwards wrote:
>
> To quantify things for curiosity's sake, I just scanned through
> the last 1000 postings in c.l.p. There was exactly 1 spam
> message and two replies to spam messages complaining about
> them.
I'm seeing 2 messages a day, lately, to c.l
On Tue, 2007-03-27 at 16:49 +0200, Diez B. Roggisch wrote:
> > can two python script share a common object?
>
> What do you mean by that? They can both load a pickled object, yes. But they
> can't share it as a at-runtime object, where changes in one script are
> immediately are known to the o
On Mon, 2007-01-29 at 15:47 -0800, [EMAIL PROTECTED] wrote:
>
I know this is a useless gesture, but my normal tolerance for such
behavior has reached an end.
Please stop spamming this list with off-topic profanities. Your
ramblings have nothing to do with programming in Python (this is a
compute
On Wed, 2006-11-08 at 11:53 -0500, Gregory Piñero wrote:
> I want to be able to randomly change pixels in an image and view the
> results. I can use whatever format of image makes this easiest, e.g.,
> gray scale, bit tonal, etc.
>
> Ideally I'd like to keep the pixels in an intermediate format l
On Fri, 2006-10-27 at 14:53 -0700, [EMAIL PROTECTED] wrote:
> Hi,
>
> I am new to python and am currently writing my first application. One
> of the problems I quickly ran into, however, is that python's imports
> are very different from php/C++ includes in the sense that they
> completely wrap th
On Fri, 2006-10-13 at 11:39 -0400, JW wrote:
> I have a lousy little Python extension, generated with the generous help
> of Pyrex. In Linux, things are simple. I compile the extension, link it
> against some C stuff, and *poof*! everything works.
>
> My employer wants me to create a Windows ver
35 matches
Mail list logo