On Wed, 22 Feb 2012 04:12:29 -0800 (PST), Plumo wrote:
> I have a python script using only the standard libraries.
> Currently I use a Windows VM to generate exe's, which is cumbersome.
And what exactly *is* this exe about?
> Has anyone had success generating exe's from within Linux?
That doesn'
On Wed, 22 Feb 2012 18:42:11 +0100, Jérôme wrote:
>>> Has anyone had success generating exe's from within Linux?
>>
>> That doesn't seem to have anything to do with Python,
>> but you might want to google for cross-compiling.
>
> I think his question is totally python related.
>
> As I understa
Dnia Wed, 22 Jun 2011 22:17:49 +0100, Noah Hall napisał(a):
> On Wed, Jun 22, 2011 at 7:54 PM, sidRo wrote:
>> How to declare a constant in python 3?
>
> There aren't true constants in Python, but instead we use a standard
> defined by PEP 8, which states constants are in all caps, for example,
Dnia Thu, 23 Jun 2011 17:22:37 +1000, Ben Finney napisał(a):
> If you mean creating a binding which can't be re-bound: −1.
Perhaps. Or perhaps that could be done in some other fashion;
I admit that I usually stick to more strict languages
and while Python's flexibility is great... I'm really missi
Dnia Fri, 24 Jun 2011 01:29:38 +1000, Chris Angelico napisał(a):
> You can have them in Python. Just run your code through cpp (the C
> preprocessor) first. Voila!
>
> It's handy for other things too. Don't like Python's lack of "then"
> and "end if"?
[...]
Yup, got the sarcasm, that's for sure.
B
Dnia Thu, 23 Jun 2011 23:04:37 +1000, Ben Finney napisał(a):
>>> The ability to re-bind any attribute, even ones which the author
>>> thought should be constant, makes writing unit tests much easier. I
>>> don't see that putative benefits of constant bindings would be
>>> anywhere near as valuable.
Dnia Thu, 23 Jun 2011 20:04:43 -0700 (PDT), alex23 napisał(a):
>> But your point was...?
>
> That it's easier for you to find ways to achieve what you want than it
> is require Python to change to accommodate your need.
And when exactly did I write that I require anyone to change anything?
I'd li
Dnia Fri, 24 Jun 2011 08:00:06 +1000, Chris Angelico napisał(a):
>> Yup, got the sarcasm, that's for sure.
>> But your point was...?
>
> That if you want something, there's usually a way to get it.
> Sometimes, giving someone what they want - or showing them how to get
> it - makes it obvious to t
Dnia Sat, 25 Jun 2011 20:59:17 +1000, Chris Angelico napisał(a):
> In all seriousness, sometimes adding features to one language is best
> done by dropping to another. This is probably not as useful in
> interpreted languages like Python, but I have on multiple occasions
> run code through the C pr
Dnia Thu, 30 Jun 2011 23:09:18 -0700 (PDT), Paul McGuire napisał(a):
> After about 10 months, there is a new release of pyparsing, version
> 1.5.6. This release contains some small enhancements, some bugfixes,
> and some new examples.
Thanks! That is great news.
I'm not using pyparsing right now
Dnia Tue, 5 Jul 2011 14:11:56 + (UTC), Grant Edwards napisał(a):
> Because those specially-formatted comments are wrong.
... because?
Not in sarcasm mode; just curious why you don't like them.
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
Dnia Wed, 06 Jul 2011 03:36:24 +1000, Steven D'Aprano napisał(a):
> Because unless you are extremely disciplined, code and the comments
> describing them get out of sync. [...]
True, but that gets far worse with external docs.
Do you have in mind any better replacement?
Br.
Waldek
--
http://mail.
Dnia Wed, 6 Jul 2011 08:10:27 -0700 (PDT), rantingrick napisał(a):
>> In the Unix/Linux world, there is a graphical application called xkill which
>> has no menus and no windows, all it has is a mouse cursor! No, it does not
>> run in the background: it is a foreground app.
>
> Wow nice corner cas
Dnia Sun, 10 Jul 2011 21:14:10 -0500, Anthony Papillion napisał(a):
>
> 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?
http://developer.gnome.org
Dnia Fri, 15 Jul 2011 23:09:02 +0200, Stefan Behnel napisał(a):
[...]
>> array[count++]=value;
>>
>> or the more direct pointer management:
>> *ptr++=value;
>
> More direct, sure. But readable? Well, only when you know what this
> specific pattern does. If you have to think about it, it may end u
Dnia Fri, 15 Jul 2011 22:15:15 -0700, Dennis Lee Bieber napisał(a):
> And (so far as I understand it) each process can claim its own CPU
> core, whereas threads share the active core.
I do not think so. AFAIK, threads may be distributed over differrent
CPUs (just like in any other programmin
>> I'm still looking for the perfect programming font. Suggestions
>> welcomed.
>
> When you find it Dotan, let me know, I've been looking since the later
> '70's.
For me, it's Terminus* (from sourceforge).
Br.
Waldek
[*] As long as you don't need anything but iso8859-1.
--
http://mail.python.
> I am out of the office until 27/07/2011.
>
> I will respond to your message when I return.
> If you require assitance in relation to the SPEAR Integration project
> please contact Terry Mandalios.
Why, thank you Craig. I will definitely contact Terry ;-)
Br.
Waldek
PS. Sorry, couldn't stop mys
Dnia Fri, 29 Jul 2011 14:41:22 -0500, harrismh777 napisał(a):
> The backslash sep is an asinine CPM/80 | DOS disk based carry-over which
> does not fit well with the modern forward direction. The disk based file
> system carry-over is bad enough; but, propagating multiple ways of doing
> simple
On Mon, 29 Aug 2011 23:05:23 +0200, Thomas Jollans wrote:
> A name that is often thrown around on this list for this kind of
> question is pyparsing. Now, I don't know anything about it myself, but
> it may be worth looking into.
Definitely. I did use it and even though it's not perfect - it's ver
On Fri, 09 Sep 2011 23:03:10 +1000, Steven D'Aprano wrote:
> But think carefully before doing this. Some functions may be confused if you
> change directories while they are running. You may be better off staying in
> the same directory, and adjusting the path names to the files as you work
> with
On Sat, 10 Sep 2011 21:11:32 +1000, Steven D'Aprano wrote:
> The main one that comes to mind is os.walk, which has this to say:
>
> Caution: if you pass a relative pathname for top, don't change the
> current working directory between resumptions of walk. walk never
> changes the cur
On Thu, 15 Sep 2011 16:55:13 +0100, Fulvio Valente wrote:
> Hi, I am a research intern at the University of Strathclyde
> who has been doing a summer research internship.
I don't want to be rude, but please: could you rather first research
how to use a newsreader before you use it?
These long lin
On Thu, 15 Sep 2011 16:11:13 -0400, Prasad, Ramit wrote:
> I don't want to be rude but...
> Not rude:
> Rude:
You're right. I must have gotten a few bad habits I didn't
even realize. Thanks.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
> (First to everyone not into Django: sorry for the shameless job
> advertisement!)
>
> We are searching for a Freelance Django developer to help us out!
Well, if you're sorry then why do you go on?
There's a much better place to post the job offer:
http://www.python.org/community/jobs/
There,
On Sun, 23 Oct 2011 17:50:54 +0200, webcrowd.net wrote:
> hope it is okay to post job offers here. If not sorry for the spam and
> please let me know!
Not really. It's a newsgroup on Python *language*, not
on Python-everything.
You might want to post here instead, though:
http://www.python.org/c
On Wed, 7 Dec 2011 09:09:16 -0800 (PST), Massi wrote:
> def Sum(D) :
> return D['a']+D['b']+D['c']
>
> Is there a way to create three variables dynamically inside Sum in
> order to re write the function like this?
>
> def Sum(D) :
> # Here some magic to create a,b,c from D
> return a+
On Sat, 31 Dec 2011 17:40:15 -0800 (PST), Niklas Rosencrantz wrote:
> Thanks for the replies here. I will have patience but this bug
> is blocking my integration efforts. I tried logging the TCP
> packets with tcpdump and nothing special appeared.
Well, it's free software, isn't it?
You may either
28 matches
Mail list logo