James Stroud wrote:
> I have spent a lot of time making a "Table"
> class over about the last year and a half, but I'm not sure what might
> be an intuitive interface for most people. First, I think it should work
> like a "sorted" dictionary of lists, but, at the same time, a list of
> sorted dic
so it still unfinished :) around 1GB for 1033268 words :) (comes from a
top unix command)
Paul > i was also thinking on doing it like that by pip-ing to 'sort |
uniq -c | sort -nr' , but i'm pleased if Python can handle it. (well
but maybe Python is slower? will check later...)
Klaas > i do not
erikcw wrote:
> To make it write over the data, I ended up adding, which seems to work
> fine.
>
> f = open('_i_defines.php', 'w+')
that doesn't work; you need to use "r+" if you want to keep the original
contents.
"w+" means truncate first, update then:
>>> f = open("foo.txt", "r")
>>> f.r
Steve Holden wrote:
> Wouldn't that be
>
> with f() as x, g() as y:
> blah(x, y)
or
with f(), g() as x, y:
pass
see guido's comment at the bottom of this page:
http://effbot.org/pyref/with.htm
--
http://mail.python.org/mailman/listinfo/python-list
Steve Holden <[EMAIL PROTECTED]> writes:
> Wouldn't that be
>
> with f() as x, g() as y:
> blah(x, y)
Probably. I haven't started using 2.5 yet.
--
http://mail.python.org/mailman/listinfo/python-list
Chris Smith wrote:
> Howdy,
>
> I'm a college student and for one of we are writing programs to
> numerically compute the parameters of antenna arrays. I decided to use
> Python to code up my programs. Up to now I haven't had a problem,
> however we have a problem set where we are creating a large
Thomas Nelson wrote:
> How hard would it be to have numpy/ scipy part of the python standard
> library?
scipy will never, ever be part of the standard library. Some subset of numpy may
eventually make it into the standard library, but not any time soon.
--
Robert Kern
"I have come to believe th
"erikcw" <[EMAIL PROTECTED]> wrote:
8<
> #loop through patterns list and find/replace data
> for o, r in patterns:
> data = data.replace(o, r)
> print "Replaced %s with %s" % (o, r)
> f.write(data)
> f.close()
>
> This results in an empty file. All of the
Omar wrote:
> I'm looking for a programming language or module that sorta looks and
> feels like MS Excel (I love and think in tables), yet has the power and
> open-endedness of python or javascript. I'm still pretty new to
> python.
>
> any ideas? i've been having some fun with VBA in excel, bu
WSDL is a way to describe a webservice (using a XML dialect) in terms
of: operations (that have input and output messages) and endpoints (the
actual URL to access the webservice).
When you accessed your other guy's URL, the "XML API description" you
got back was the actual WSDL. So it wasnt' that
Hi!
Look Candygram (http://candygram.sourceforge.net/)
Candygram has features who will fun for you (like
inter-threads-comunication).
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Apologies for breaking threading, but my ISP seems to have eaten the
original post from Tommy. Hence I'm replying to a reply.
Tommy Grav wrote:
> I have some code for doing orbital computations. The code is kind of
> extensive with many classes, each having several functions. In these
> functions
On Fri, 03 Nov 2006 18:38:33 -0800, Rares Vernica wrote:
> Hi,
>
> I am not sure how the constants are implemented in math,
>>> import math
>>> math.__file__
'/usr/lib/python2.4/lib-dynload/mathmodule.so'
Looks like it is all done in C. It's probably just a binding to your
platform's C floating
"robert" <[EMAIL PROTECTED]> wrote:
> Fredrik Lundh wrote:
> > Hendrik van Rooyen wrote:
> >
> >> I am struggling with this - I want to define a "system-wide" flag for
> >> use as a
> >> semaphore.
> >
> >
http://www.effbot.org/pyfaq/how-do-i-share-global-variables-across-modules.htm
> >
>
> Or w
On Fri, 03 Nov 2006 18:02:37 -0800, Carl Banks wrote:
import timeit
timeit.Timer("foo(1)","from __main__ import foo")
> 1.1497418880462646
Well, that was scarily simple.
Thank you.
--
Steven.
--
http://mail.python.org/mailman/listinfo/python-list
"Fredrik Lundh" <[EMAIL PROTECTED]> wrote:
> Hendrik van Rooyen wrote:
>
> > I am struggling with this - I want to define a "system-wide" flag for use as
a
> > semaphore.
>
> http://www.effbot.org/pyfaq/how-do-i-share-global-variables-across-modules.htm
>
>
Thanks - just like COBOL's data divi
[EMAIL PROTECTED] wrote:
> This post sums some things I have written in another Python newsgroup.
> More than 40% of the times I use defaultdict like this, to count
> things:
>
> >>> from collections import defaultdict as DD
> >>> s = "abracadabra"
> >>> d = DD(int)
> >>> for c in s: d[c] += 1
> ..
[EMAIL PROTECTED] wrote:
> thanks for your replies :)
>
> so i just have tried, even if i think it will not go to the end => i
> was wrong : it is around 1.400.000 entries by dict...
>
> but maybe if keys of dicts are not duplicated in memory it can be done
> (as all dicts will have the same keys,
[EMAIL PROTECTED] wrote:
> James Stroud wrote:
>
>>[EMAIL PROTECTED] wrote:
>>
>>>I have a text file that I am parsing. Each line is of the form:
>>>
>>>max_time 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12
>>>
>>>The first item is the field name and the next twelve items are valu
Paul Rubin wrote:
> "Carl Banks" <[EMAIL PROTECTED]> writes:
> > > http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
> > Maybe in exchange, Python can borrow the let statement.
>
> Maybe the with statement could be extended to allow binding more than
> one variable.
> with x as f(), y
RobJ wrote:
> Hi! My Name is Rob Johnson and I am a graduate student at The Richard
> Stockton College of NJ. To make a long story short, I'm working on my
> Masters project in the MAIT program (Masters of Arts in Instructional
> Technology). I have written a proposal to put together a free on-line
Michael B. Trausch wrote:
> GISDude wrote:
>> Mike,
>> I totally forgot that MS Works was out there. Haven't used that one in
>> about 6 or 7 years. Honestly, your best bet is to convert to .csv or
>> some delimited .txt file. Once that is done, all your rows/columns will
>> be "nice and neat" .
>>
Paul Rubin wrote:
> "Carl Banks" <[EMAIL PROTECTED]> writes:
>
>>>http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
>>
>>Maybe in exchange, Python can borrow the let statement.
>
>
> Maybe the with statement could be extended to allow binding more than
> one variable.
> with x as
robert wrote:
> Daniel Dittmar wrote:
>
>>robert wrote:
[...]
>
>>>garbage is collected earliest, when the refcount went to 0. If it ever
>>>went to 0, no one will ever use such object again. Thus GC should not
>>>be different at all.
>>
>>Since Python 2.?, there's a mark-and-sweep garbage coll
On Fri, 3 Nov 2006 18:57:49 -0500, Tommy Grav <[EMAIL PROTECTED]> wrote:
>I have some code for doing orbital computations. The code is kind of
>extensive with many classes, each having several functions. In these
>functions I need to use constants (like the gravitational constant).
>What is the bes
Hi,
I am not sure how the constants are implemented in math, but here is how
I would do it. The main idea is to declare the constants as globals in
some file.
Declare all the constants in a file:
const.py
---
pi = 3.14
Whenever you want to use pi from another file, just do:
somecode.py
---
fro
Larry Bates wrote:
>
> MS ships ODBC interface to xBase databases in all versions of Windows.
> You don't need Access. Just create DSN to your exported dBase database
> and MS Word, MS Excel, and any other ODBC aware product can read the
> data. If the data size is large or if you want to move to
GISDude wrote:
> Mike,
> I totally forgot that MS Works was out there. Haven't used that one in
> about 6 or 7 years. Honestly, your best bet is to convert to .csv or
> some delimited .txt file. Once that is done, all your rows/columns will
> be "nice and neat" .
> Once that is done, (and since you
Steven D'Aprano wrote:
> The timeit module is ideal for measuring small code snippets; I want to
> measure large function objects.
>
> Because the timeit module takes the code snippet argument as a string, it
> is quite handy to use from the command line, but it is less convenient for
> timing lar
The timeit module is ideal for measuring small code snippets; I want to
measure large function objects.
Because the timeit module takes the code snippet argument as a string, it
is quite handy to use from the command line, but it is less convenient for
timing large pieces of code or when working i
robert <[EMAIL PROTECTED]> writes:
> > I don't want to discourage you but what about reference
> > counting/memory
> > management for shared objects? Doesn't seem fun for me.
>
> in combination with some simple locking (anyway necessary) I don't
> see a problem in ref-counting.
> If at least any i
"Carl Banks" <[EMAIL PROTECTED]> writes:
> > http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
> Maybe in exchange, Python can borrow the let statement.
Maybe the with statement could be extended to allow binding more than
one variable.
with x as f(), y as g():
blah (x, y)
--
robert wrote:
> Chris Smith wrote:
>
>>Howdy,
>>
>>I'm a college student and for one of we are writing programs to
>>numerically compute the parameters of antenna arrays. I decided to use
>>Python to code up my programs. Up to now I haven't had a problem,
>>however we have a problem set where we a
I have some code for doing orbital computations. The code is kind ofextensive with many classes, each having several functions. In thesefunctions I need to use constants (like the gravitational constant). What is the best way of implementing a solution when constants areused in several different cl
James Stroud wrote:
> [EMAIL PROTECTED] wrote:
> > I have a text file that I am parsing. Each line is of the form:
> >
> > max_time 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12
> >
> > The first item is the field name and the next twelve items are values
> > for each month in the y
[EMAIL PROTECTED] wrote:
> I have a text file that I am parsing. Each line is of the form:
>
> max_time 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12
>
> The first item is the field name and the next twelve items are values
> for each month in the year. There are multiple lines eac
robert schrieb:
> in combination with some simple locking (anyway necessary) I don't see a
> problem in ref-counting.
In the current implementation, simple locking isn't necessary.
The refcounter can be modified freely since the code modifying
it will always hold the GIL.
> Question Besides:
[EMAIL PROTECTED] wrote:
> I have a text file that I am parsing. Each line is of the form:
>
> max_time 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12
>
> The first item is the field name and the next twelve items are values
> for each month in the year. There are multiple lines e
I have a text file that I am parsing. Each line is of the form:
max_time 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12
The first item is the field name and the next twelve items are values
for each month in the year. There are multiple lines each for some
different variable. I a
Paul Rubin wrote:
> I hadn't seem this before. New Javascript 1.7 features:
>
> - Generators
> - Iterators
> - Array comprehensions
> - Destructuring assignment
>
> Sounds like another language we know.
>
> http://developer.mozilla.org/en/docs/New_in_JavaScript_1.7
Maybe in exchange, Python can b
Larry Bates schrieb:
> Doug Stell wrote:
>> I have 2 questions about py2exe or any similar utility.
>>
>> 1. Is it possible to create a single Windows executable that does not
>> blow out to a folder full of files and can be called from scripts
>> using command line arguments?
>>
>> 2. If the abo
Chris Smith wrote:
> Howdy,
>
> I'm a college student and for one of we are writing programs to
> numerically compute the parameters of antenna arrays. I decided to use
> Python to code up my programs. Up to now I haven't had a problem,
> however we have a problem set where we are creating a large
Hi! My Name is Rob Johnson and I am a graduate student at The Richard
Stockton College of NJ. To make a long story short, I'm working on my
Masters project in the MAIT program (Masters of Arts in Instructional
Technology). I have written a proposal to put together a free on-line
Python web framewor
Daniel Dittmar wrote:
> robert wrote:
>> (IPython is only a special "python network terminal" as already said.)
>
> Sorry, I thought of IronPython, the .NET variant.
>
>> Does Jython really eliminate the GIL? What happens when different
>
> Yes.
>
>> threads alter/read a dict concurrently - th
tobiah wrote:
> Is WSDL the right answer for in house communication
> between programs written in different languages, or
> is it more for publishing interfaces for use by parties
> outside your own company?
>
> What else is available for sharing complex structures
> with processes running program
Robert Kern wrote:
> This is what Martin said:
>
> """
> It used to be possible to link with it. See
>
> http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx
>
> This is now a "known DLL", and meant for use by system-level components
> only.
> """
>
> Note the words "used to" and "now"
Howdy,
I'm a college student and for one of we are writing programs to
numerically compute the parameters of antenna arrays. I decided to use
Python to code up my programs. Up to now I haven't had a problem,
however we have a problem set where we are creating a large matrix and
finding it's inver
hi everyone.
I have a task, I have fragmented the task into subtask. I have planned
to create a class to each subclass and one parent class to handle the
sub tasks. Each subclass are saved in seperate file and all my
subclasses and parent class are placed in the same folder.
The parent cl
I recently wrote a SOAP client(?) to read what the guy from
the other company called a WSDL, which was just a URL that
served an XML API description. Is that the same as XMLRPC
(I ask because you mention SOAP).
Thanks,
Toby
WakeBdr wrote:
> XMLRPC and SOAP are the two I'm working with right now
[EMAIL PROTECTED] writes:
> but maybe if keys of dicts are not duplicated in memory it can be done
> (as all dicts will have the same keys, with different (count) values)?
There will still be a pointer for each key, the strings themselves
won't be duplicated.
> memory is 4Gb of ram,
That soun
XMLRPC and SOAP are the two I'm working with right now.
tobiah wrote:
> Is WSDL the right answer for in house communication
> between programs written in different languages, or
> is it more for publishing interfaces for use by parties
> outside your own company?
>
> What else is available for sh
It appears my __m2crypto.so didn't get built correctly.
cengsu01:/home/mmedina/crypt/m2kcrypto/m2crypto-0.16 >python setup.py
build
/usr/local/lib/python2.3/distutils/extension.py:128: UserWarning:
Unknown Extension options: 'swig_opts'
warnings.wa
How hard would it be to have numpy/ scipy part of the python standard
library?
Tom
mattf wrote:
> I've discovered Python and have been trying it out lately as a possible
> replacement for computations that would ordinarily be done with a
> commercial package like Matlab or IDL. I'd like to mentio
thanks for your replies :)
so i just have tried, even if i think it will not go to the end => i
was wrong : it is around 1.400.000 entries by dict...
but maybe if keys of dicts are not duplicated in memory it can be done
(as all dicts will have the same keys, with different (count) values)?
memo
Tim Chase wrote, in part:
> ...
> I've found that Win32 doesn't often take a rename if the origin
> and destination differ only in case[*]. Thus, to change the
> case, I've had to do *two* renames...one to, say, prefix with an
> underscore and change the case to my desired case, and then one
> to
In <[EMAIL PROTECTED]>, tobiah wrote:
> What else is available for sharing complex structures
> with processes running programs that were written in
> other languages?
Corba?
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
Don't do that. Do something like renaming the old file
to .bak (or .aside or something) and then create the entire file
by opening it with 'w'.
-Larry
--
http://mail.python.org/mailman/listinfo/python-list
To make it write over the data, I ended up adding, which seems to work
fine.
f = open('_i_defines.php', 'w+')
data = f.read()
f.seek(0)
f.truncate(0)
...process data, write file, close...
Now that I look at it, I could probably take out the f.seek().
Thanks for your help!
On Nov 3, 4:00 pm, "m
Hi!
You can expand VBA/Excel with Python, with Pywin32 for to make a
dynamic COM server.
--
@-salutations
Michel Claveau
--
http://mail.python.org/mailman/listinfo/python-list
Doug Stell wrote:
> I have 2 questions about py2exe or any similar utility.
>
> 1. Is it possible to create a single Windows executable that does not
> blow out to a folder full of files and can be called from scripts
> using command line arguments?
>
> 2. If the above can be done, it is possible
Omar wrote:
> I'm looking for a programming language or module that sorta looks and
> feels like MS Excel (I love and think in tables), yet has the power and
> open-endedness of python or javascript. I'm still pretty new to
> python.
>
> any ideas? i've been having some fun with VBA in excel, bu
Is WSDL the right answer for in house communication
between programs written in different languages, or
is it more for publishing interfaces for use by parties
outside your own company?
What else is available for sharing complex structures
with processes running programs that were written in
other
I'm looking for a programming language or module that sorta looks and
feels like MS Excel (I love and think in tables), yet has the power and
open-endedness of python or javascript. I'm still pretty new to
python.
any ideas? i've been having some fun with VBA in excel, but I want
something I can
On 2006-11-03, Doug Stell <[EMAIL PROTECTED]> wrote:
> I have 2 questions about py2exe or any similar utility.
>
> 1. Is it possible to create a single Windows executable that does not
>blow out to a folder full of files and can be called from scripts
>using command line arguments?
The def
> At first I was convinced that "w+" was the tool for the job. But now
> I'm finding that the contents of the file are deleted (so I can't read
> the data in).
Possible File Modes:
a : Append -- Add data at the end of the file
r : Read -- Read from the file
w : write -- Flush contents of the fi
Hello list!
Writing a C extension module, which way is better to implement attribute
retrieval, by a getattr function in the PyTypeObject struct or by an entry
tp_methods? I don't need any black magic being executed on attribute access,
so I would tend towards the tp_methods entry. Any argument ag
Hi all,
I've created a script that reads in a file, replaces some data (regex),
then writes the new data back to the file.
At first I was convinced that "w+" was the tool for the job. But now
I'm finding that the contents of the file are deleted (so I can't read
the data in).
f = open('_i_defin
GISDude wrote:
> Mike,
> I totally forgot that MS Works was out there. Haven't used that one in
> about 6 or 7 years. Honestly, your best bet is to convert to .csv or
> some delimited .txt file. Once that is done, all your rows/columns will
> be "nice and neat" .
"Nice and neat"? What is that sup
Lennart Borgman wrote:
> Could you then please post a bug report? Just choose "Help - Send bug
> report" from the menus.
I sent a bug-report to the emacs list as requested and got an email
reply saying the message is being held for a moderator to look at.
Since the bug seems to be in the interacti
In article <[EMAIL PROTECTED]>,
Kevin Walzer <[EMAIL PROTECTED]> wrote:
>Brian Blais wrote:
>I'm not sure about numpy/scipy/matplotlib. I don't think there are
>pre-built packages for them; you may have to build them from source. You
>could also post to the MacPython mailing list, someone there h
Paul Rubin wrote:
>> items = d.items()
>> items.sort(key=operator.itemgetter(1), reverse=True)
>>
>> the items list would require a couple of megabytes for 150k dictionary
>> entries, or so. the key map needs some memory too, but the rest of
>> the sort is done in place.
>
> I think th
Hi!
> (ECMAscript), then, well I haven't seen any progress there.
1) in IE-7, the last release (of JScript) has few evolutions (more
important, a new garbage collector)
2) in Windows, with Active-Scripting, it's possible to integrate
JScript in Python, call JScript's functions from Python's co
Fredrik Lundh <[EMAIL PROTECTED]> writes:
> items = d.items()
> items.sort(key=operator.itemgetter(1), reverse=True)
>
> the items list would require a couple of megabytes for 150k dictionary
> entries, or so. the key map needs some memory too, but the rest of
> the sort is done in plac
Larry Bates wrote:
> Michael B. Trausch wrote:
>
>>I was wondering if anyone has had any experience with this. Someone I
>>know is trying to move away from Microsoft Works, and I am trying to
>>look into a solution that would convert their data in a lossless fashion
>>to a more modern format. Th
[EMAIL PROTECTED] wrote:
> i would like to sort(ed) and reverse(d) the result of many huge
> dictionaries (a single dictionary will contain ~ 15 entries). Keys
> are words, values are count (integer).
not sure 150k entries qualify as huge, though, unless you're short on
memory.
> i'm wonder
[EMAIL PROTECTED] writes:
> i would like to sort(ed) and reverse(d) the result of many huge
> dictionaries (a single dictionary will contain ~ 15 entries). Keys
> are words, values are count (integer).
>
> i'm wondering if i can have a 10s of these in memory,
Depends on how much memory your
Frederic Rentsch wrote:
> And here's the proof I am being perceived as a nuisance. I apologize,
> keeping to myself that I don't care.
since you're constantly targeting newbies, and are hawking your stuff
also for things for which there are simple and efficient solutions
available in Python's
The URL is now:
http://wiki.python.org/moin/JavaScripting
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
i would like to sort(ed) and reverse(d) the result of many huge
dictionaries (a single dictionary will contain ~ 15 entries). Keys
are words, values are count (integer).
i'm wondering if i can have a 10s of these in memory, or if i should
proceed one after the other.
but moreover i'm
Fredrik Lundh wrote:
> Gary Herron wrote:
>
>
>> As a matter of polite netiquette, a message like this really ought to
>> have a paragraph telling us what SE *is*.(Unless it's a secret :-))
>>
>
> nah, if you've spent more than five minutes on c.l.python lately, you'd
> noticed that it
I have 2 questions about py2exe or any similar utility.
1. Is it possible to create a single Windows executable that does not
blow out to a folder full of files and can be called from scripts
using command line arguments?
2. If the above can be done, it is possible to hide parts of the
Python sou
jim-on-linux wrote:
> On Friday 03 November 2006 08:21, Steve Holden
> wrote:
>
>>Frederic Rentsch wrote:
>>
>>>jim-on-linux wrote:
>>>
Frederic,
I've been trying to get back into my package
in the Cheese Shop for over a year. The
phone company changed my e:mail address and
>
Gary Herron wrote:
> Frederic Rentsch wrote:
>
>> A few Cheese Shop upload problems have been solved with the help of this
>> creative group. Thank you all!
>>
>> Version 2.2 beta should be phased out. It has a functional defect,
>> missing matches with a very low statistical probability. Vers
Brian Blais wrote:
> Kevin Walzer wrote:
>> Brian Blais wrote:
>>> Hello,
>>>
>>> I have a wxPython program that I would like to give to a friend of mine
>>> who has a Mac. Is there a resource out there that can tell me what
>>> steps I need to follow to do this?
>> Install Python from the Python
"ompaniess" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[spam snipped]
> Any comments or suggestions, send to: [EMAIL PROTECTED]
[cc'ed]
Don't spam random technical newsgroups with completely off-topic posts.
Such constitute anti-advertising.
--
http://mail.python.org/mailman/
C or L Smith wrote:
> Hello,
>
> I'm evaluating different methods of handling a transliteration (from an
> ascii-based representation of the devanagari/indian script to a romanized
> representation). I found SE and have been working with it today. One thing
> that I ran into (that I don't see a
python-dev Summary for 2006-09-01 through 2006-09-15
.. contents::
[The HTML version of this Summary is available at
http://www.python.org/dev/summary/2006-09-01_2006-09-15]
=
Announcements
=
python-dev Summary for 2006-09-16 through 2006-09-30
.. contents::
[The HTML version of this Summary is available at
http://www.python.org/dev/summary/2006-09-16_2006-09-30]
=
Summaries
=
---
Import features
http://diamanda.googlecode.com forum + wiki
sorry i was mistaken fist link at previous post%)
--
http://mail.python.org/mailman/listinfo/python-list
robert wrote:
> In past I asked for linking Python2.5 and next Pythons on Win against such
> standard DLL (MSVCRT4 or MSVCRT.DLL)- yet Martin v. Löwis somehow explained
> in
> http://groups.google.de/group/comp.lang.python/msg/fcbe41f9df595c35
> somehow that MSVCRT.dll is not intended for norma
robert wrote:
> (IPython is only a special "python network terminal" as already said.)
Sorry, I thought of IronPython, the .NET variant.
> Does Jython really eliminate the GIL? What happens when different
Yes.
> threads alter/read a dict concurrently - the basic operation in python,
> which i
Fredrik Lundh wrote:
> Hendrik van Rooyen wrote:
>
>> I am struggling with this - I want to define a "system-wide" flag for
>> use as a
>> semaphore.
>
> http://www.effbot.org/pyfaq/how-do-i-share-global-variables-across-modules.htm
>
>
Or worse style - if you are too lazy to create a extra
[EMAIL PROTECTED] wrote:
> Thanks paddy, Since the original language from which I am translating
> does not support any of these formats, I will have to write one myself.
> So, which one is easy to write out in a C like environment.
>
> regards,
> Suresh
> Paddy wrote:
> > [EMAIL PROTECTED] wrote:
Robert Kern wrote:
> Magnus Lycka wrote:
>> robert wrote:
>>> When one follows ..
>>> http://docs.python.org/inst/tweak-flags.html#SECTION000622000
>>> http://www.zope.org/Members/als/tips/win32_mingw_modules
>>>
>>> ..this seems only to cover the immediate python dll issues. What
>>>
Kevin Walzer wrote:
> Brian Blais wrote:
>> Hello,
>>
>> I have a wxPython program that I would like to give to a friend of mine
>> who has a Mac. Is there a resource out there that can tell me what
>> steps I need to follow to do this?
>>
> Install Python from the Python website--a Python 2.5 in
Daniel Dittmar wrote:
> robert wrote:
>> Question Besides: do concurrent INC/DEC machine OP-commands
>> execute atomically on Multi-Cores as they do in Single-Core threads?
>
> No on the level that that Python reference counting is implemented. The
> CPUs have often special assembler ops f
Thanks Robert, I just poked around and found a PythonWin web page:
http://aspn.activestate.com/ASPN/docs/ActivePython/2.3/pywin32/html/pythonwin/readme.html
>From other links it appears that SciTE was based on PythonWin, and not
the other way around. For people coding in other languages besides
wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
>
> steve> http://wiki.python.org/moin/Java_Scripting
>
> Renamed to "JavaScripting".
>
> Skip
So nobody around here has heared of that other language
called JavaScript then ?
Perhaps "Scripting_Java" might be better.
Pythoning-ly y
Thanks for the SciTE info, Neil.
Yes, it was silly of me to forget to state that I'm using Win32.
Normally, when I post to comp.lang.python, I remember to include that
fact... :^P
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Ladasky Home Solar, Inc.: blowing sunshine up your
Gary Herron wrote:
> As a matter of polite netiquette, a message like this really ought to
> have a paragraph telling us what SE *is*.(Unless it's a secret :-))
nah, if you've spent more than five minutes on c.l.python lately, you'd
noticed that it's the Solution to Everything (up there with
1 - 100 of 142 matches
Mail list logo