a windows installation.
Ah, that's the part I was missing :-)
Thanks.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
within Linux?
That doesn't seem to have anything to do with Python,
but you might want to google for cross-compiling.
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
't it?
You may either wait a little, fix it yourself or pay someone
to fix it for you, if you're in a hurry. Or stay with 2.5 / try upgrading
to 3.x.
The Python community is usually very helpful and friendly, but
by *demanding& a fix ASAP you may accidentily step on people's toes :
ound like a good idea,
though...
>>> def foo():
global a
a = 5
>>> foo()
>>> print("The variable is: ", a)
The variable is: 5
>>>
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
.python.org/community/jobs/
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
community/jobs/
There, you'd probably even earn credit for your posting :-)
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
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
These long lines (a few times the limit of 78 characters per line)
make your post unreadable.
Thanks,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
ructure is not a good idea,
or at least something to be done carefully.
I just wouldn't think to give it some special credit.
Thanks
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
ou work
> with them.
Curious.
Do you mean multi-threaded environment or even in single thread?
If the latter is the case, I'd say those functions make
very nasty assumptions. Who are they, anyways? ;)
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
not perfect - it's very
useful indeed. Due to it's nature it is not a demon of speed when parsing
complex and big structures, so you might want to keep it in mind.
But I whole-heartedly recommend it.
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
> simple things like specifying file-system paths is not helpful in any
> context.
Please, do tell it to Microsoft. And once you've convinced them,
and they've implemented it, do report :-)
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
> 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
>> 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 y
other programming language), only because of GIL,
you might not notice any performance improvement with that.
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
tion, eg. a==1, a+=1
may be completely senseless to mathematicians.
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
ython code?
http://developer.gnome.org/pygtk/stable/
http://www.learningpython.com/2006/05/07/creating-a-gui-using-pygtk-and-glade/
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
but not X
One could argue that the second and the third case are - in one
way or another - using windows. But not the first case, and I don't think
you'd call them GUI-less.
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.
Wald
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
yparsing right now, but I used to and surely
will. I just wish it was included in the standard Python distribution
some day...
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
Yeah, might be useful, even if sometimes complexity of the process
is a bit overwhelming to me :-)
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
ure and can't
really think of a sensible reason why it so wrong.
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
change anything?
I'd like that, sure. IMHO it'd be useful. But I don't *require*.
Can you see the slight difference? :-)
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
od idea
to change 'this' and 'that'. Do they still want to change it? It's their
responsibility, I'd let them hack themselves silly...
To summarize: I do miss constants in Python and I think Python could really
benefit from them. I haven't seen so far any convincing argument to not
have them. That said, I'm not that kind of person who says "hey, you Python
people, give me my constants or I won't use it". No, I like the language,
I will still learn it and use it... and I'll still miss the constants ;-)
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
quot;?
[...]
Yup, got the sarcasm, that's for sure.
But your point was...?
Br.
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
other languages, like C/C++/Java/Perl/ (bash even) have them,
I can't see the reason not to have them in Python.
Best regards,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
n all caps, for example,
> PI = 3.14, as opposed to pi = 3.14 which could change (according to
> PEP 8, that is)
That said, there are some workarounds for that:
http://code.activestate.com/recipes/65207-constants-in-python/?in=user-97991
Still, I'd reallly like to have constants as a
On Jul 28, 4:03 pm, Thomas Heller <[EMAIL PROTECTED]> wrote:
> waldek schrieb:
>
>
>
> > Hi,
>
> > I'm trying to handle data passed to Py Callback which is called from
> > C dll. Callback passes data to another thread using Queue module and
> >
Hi,
I'm trying to handle data passed to Py Callback which is called from
C dll. Callback passes data to another thread using Queue module and
there the data are printed out.
If data is printed out in a callback itself it's ok. If I put on
queue and next get from queue in another thread script p
On Jul 24, 5:01 pm, Thomas Heller <[EMAIL PROTECTED]> wrote:
> waldekschrieb:
>
> > Hi,
>
> > I'm using C dll with py module and wanna read value (buffer of bytes)
> > returned in py callback as parameter passed to dll function.
>
> The callback receives a pointer instance. You can dereference the
", data[0]) and nothing. I tried different ctypes
passed to callback and nothing.
Any sugestions ?
Thanks,
Waldek
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 23, 4:39 pm, Thomas Heller <[EMAIL PROTECTED]> wrote:
> waldek schrieb:
>
>
>
> > Hi,
>
> > I have module A.py and B.dll which exports C functions by cdecl_
>
> > In A.py I pass callback (py callable) to dll. Next, thread inside dll
> > simp
Hi,
I have module A.py and B.dll which exports C functions by cdecl_
In A.py I pass callback (py callable) to dll. Next, thread inside dll
simply calls my callback (in a loop). After few secs I got crash of
python.exe.
How to debug it?
I'm using winxp and py 2.5.2
===
34 matches
Mail list logo