> "Sunnan" == Sunnan <[EMAIL PROTECTED]> writes:
Sunnan> It's just that I'm having a hard time matching that quote
Sunnan> to what I though python was about. I thought boring code
Sunnan> was considered a virtue in python. ("Explicit is better
Sunnan> than implicit", "sparse i
> "Sunnan" == Sunnan <[EMAIL PROTECTED]> writes:
Sunnan> languages". I'm not sure whether I'd consider python
Sunnan> particularly terse, though, but I don't know enough about
Sunnan> it yet. (I've read a
Read up on list comprehensions and generator expressions. You'll see
the te
Hello ChinStrap,
> When not using the interactive prompt, what are you using? I keep
> hearing everyone say Emacs, but I can't understand it at all. I keep
> trying to learn and understand why so many seem to like it because I
> can't understand customization even without going through a hundred
>
Hello David,
> "Alan Isaac" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I'd like to try personal financial management using Python.
> > I just found PyCheckbook, but it does not support check printing.
> > Is there a Python check printing application kicking around?
wxPython
Hello!
What do you think all about ActiveState Komodo?
Michael George Lerner wrote:
Aahz <[EMAIL PROTECTED]> wrote:
Use vim. 80% of the power of emacs at 20% of the learning curve.
A system administrator said this to me about unix a long time ago,
but it applies equally well to emacs:
Emac
vegetax wrote:
> Fuzzyman wrote:
>
> > Of course - sorry. Thanks for the fix. Out of interest - why are
you
> > using this... just for curiosity, or is it helpful ?
>
> because is fun to surf on the google cache, =)
Ha - cool ! The bizarre thing is, that for me it's actually useful. I
doubt anyon
On 5 Apr 2005 19:28:55 -0700, "El Pitonero" <[EMAIL PROTECTED]> wrote:
>Scott David Daniels wrote:
>> Ron_Adam wrote:
>> > ...
>>
>> def tweakdoc(name):
>> def decorator(function):
>> function.__doc__ = 'Tweak(%s) %r' % (name, function.__doc__)
>> return function
>>
I wrote a program running on windows.
I put the link of the program in "Start up" folder and let it executed
minimized.
Every time when I open the computer, my program will be running in system
tray.
But if the user would like to shutdown the computer, the OS will show an
error about exception.
> "Miki" == Miki Tebeka <[EMAIL PROTECTED]> writes:
Miki> Emacs (or VIm in my case) takes time to learn. However when
Miki> you start to understand it and know you way around it'll do
Miki> things no other editor will do for you.
Other editors also do stuff Emacs won't do. Code co
John J. Lee wrote,
> See second bullet point under "Why does .click()ing on a button not
work for me?".
Thanks for you advice. However, after read through the FAQs, I have not
managed to find a solution for my problem. I belive my button is
coupled with some Java script which mess thing up and t
On Wed, 06 Apr 2005 02:31:05 GMT, Ron_Adam <[EMAIL PROTECTED]> wrote:
>On Tue, 05 Apr 2005 19:38:38 -0400, Steve Holden <[EMAIL PROTECTED]>
>wrote:
>
>
>>>
>>So what you are saying is that you would like to be able to use
>>arbitrarily complex expressions after the :at" sign, as long as they
>>
On Tue, 05 Apr 2005 23:34:25 -0400, Thomas Gagne <[EMAIL PROTECTED]> wrote:
>Cameron Laird wrote:
>
>>
>> And now, for something completely different, I'll tender a
>> personal view: I think Mr. Gates and Python are actually
>> destined to get along uncharacteristically well. Roughly, I
>> susp
[EMAIL PROTECTED] wrote:
On Tuesday 05 April 2005 11:22 am, ChinStrap wrote:
I keep hearing everyone say Emacs, but I can't understand it at all.
Both emacs and vi suffer from the fact that they can not be used by ordinary
humans.
My my my... I'm sorry to learn I'm not an ordinary human :(
Thus,
Bengt Richter wrote:
If there is to be an MSPython, how long 'til Mozilla FirePython? ;-)
Regards,
Bengt Richter
'Reclaim your runtime'
I can't wait...
--
--
Ola Natvig <[EMAIL PROTECTED]>
infoSense AS / development
--
http://mail.python.org/mailman/listinfo/py
Hello all,
I have one computer and 1 server.
I have login and password.
The only way I can connect to server is using SSH protocol.
I usually use Winscp3 to connect to the server (by providing login and
password).
Now I would like to connect to the server directly using python code.
How can I esta
On Apr 6, 2005 5:25 AM, Mike Rovner <[EMAIL PROTECTED]> wrote:
> Sun abandoned dynamic approach (Tcl) in favor of Java.
Sun appear to be very interested in dynamic languages these days:
http://www.tbray.org/ongoing/When/200x/2004/12/08/DynamicJava
--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://ww
You can also take a look at Karrigell
(http://karrigell.sourceforge.net). You can write pure Python scripts
or use a PHP-like syntax, and it is shipped with gadfly, an SQL engine,
and with KirbyBase, a database engine which uses a Pythonic syntax. As
for all the web frameworks, you can also work wi
it's line #159 here, but it did work! thanks. so it IS a bug?
--
http://mail.python.org/mailman/listinfo/python-list
What I am wondering is if I have a 2nd init or something similar to
create a vector. Such as what follows and if I can how do I go about
implementing it?
Class vector(point):
def __init___(self, point1, point2):
self.i = point2.get_x() - point1.get_x()
self.j = point2.get_y(
Ville Vainio wrote:
Read up on list comprehensions and generator expressions. You'll see
the terse side of Python (and genexps look kinda poetic too ;-).
I am familiar with lc:s/genexps, I usually program in scheme which also
has them (srfi-42).
They're very nice and I use them a lot.
--
http://ma
http://www.print-it.blogspot.com << The Greatest News Ever!
--
http://mail.python.org/mailman/listinfo/python-list
Ville Vainio wrote:
Boring code is code that numbs your senses with constant flow of
boilerplate crap, memory management and redundant type declarations
and general blah blah that you skip when you are trying to figure out
what a piece of code does.
The python code I've read so far has looked like
Hi !
If I define 'f' like this
def f(a):
print a
then, the call with keywords
f(1, optional=2)
fails. I have to change 'f' to
def f(a, **kwrds):
print a
to ignore optional parameters.
BUT..
Q: Can you call 'f' with keywords that will be
ignored, without changing 'f's definition ?
I
> "Sunnan" == Sunnan <[EMAIL PROTECTED]> writes:
Sunnan> Ville Vainio wrote:
Sunnan> Also, Guido recently urged people to explicitly write
Sunnan> recursions rather than to use reduce - which I thought was
Sunnan> completely in line with what I've seen as python's goals:
Brano Zarnovican wrote:
> Q: Can you call 'f' with keywords that will be
> ignored, without changing 'f's definition ?
no.
> I would like to avoid code like this:
> k = {}
> k['optional'] = 2
> try:
> f(1, **k)
> except TypeError:
> f(1)
why would you write code like this? what's the use ca
Sergey Schetinin wrote:
> it's line #159 here, but it did work! thanks. so it IS a bug?
sure looks like one. please report it here:
http://sourceforge.net/tracker/?group_id=5470&atid=105470
--
http://mail.python.org/mailman/listinfo/python-list
Michael Spencer wrote:
> [EMAIL PROTECTED] wrote:
[snip]
> > Anyway, my present problem is that I want to make copies of
instances
> > of my own custom classes. I'm having a little trouble
understanding
> > the process. Not that I think that it matters -- but in case it
does,
> > I'll tell you th
Sunnan:
> The python code I've read so far has looked like that. Not > type
declarations, but lng class declarations.
What do you mean? Lots of repetitive
"self.variable=variable" in the __init__ method? Use of classes when
you would use closures? Or maybe you
are comparing with CLOS classes,
> > Q: Can you call 'f' with keywords that will be
> > ignored, without changing 'f's definition ?
>
> no.
OK. Thank you for an answer.
> what's the use case?
I have extended the dict class, so that my __getitem__ accepts an
optional parameter
class MyTree(dict):
def __getitem__(self, key,
Dear all,
I want to parse the system functions output
but I couldn't do it. Kindly assist me in this
task.
eg) bytesused = os.system('du -sh /Users/enmail')
if I print this bytesused variable the output of
bytesused variable is the below
14M /Users/enmail
0
Now From this Output I want
Hi, I previously had Harvestman installed and working okay, but somehow the
latest version won't install.
I have Python23 installed.
When I attempt to execute the py2exesetup.bat file (on Windows XP), I get:
Hi,
ClientForm and Mechanize like tools do not execute javascript . You will
normally have to do them manually in your python code itself. In your
case, if you have a button, which (and I assume) executes some
javascript code that sets some hidden variable and/or changes the
'action' attribute
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1 2.1-2
Peter Otten wrote:
rbt wrote:
Is there a recommended or 'Best Practices' way of checking the version
of python before running scripts? I have scripts that use the os.walk()
feature (introduced in 2.3) and users running 2.2 who get errors.
Instead of telling them, 'Upgrade you Python Install, I'd l
Programs that start at boot, run until shutdown and run in
background all the time under Windows are good candidates
for being turned into Windows Services. They respond to
shutdown commands properly and can be fine-grained scheduled
as well. For tutorial pick of a copy of Python Programming
on W
For some reason Python 2.3.5 reports the error in the following program
correctly:
File "C:\Temp\problem.py", line 7
SyntaxError: unknown decode error
..whereas Python 2.4.1 reports an invalid line number:
File "C:\Temp\problem.py", line 2
SyntaxError: unknown decode error
- problem.py
[Aahz]
> [François]
> >Many of us are using Python today, week after week, year long. So
> >let's be pragmatic. Python is what it became and now is. Let's not
> >define it as a memory from the past nor as a futuristic dream.
> You're free to continue using 1.5.2. [...]
Sure, of course. Yet
Haven't tested this on Windows yet... thought I'd ask here:
Does the line below have any negative impact on Windows machines? I
develop and test mostly on Unix, but my scripts are often used on Win
systems too.
#!/usr/bin/env python
Many thanks,
rbt
--
http://mail.python.org/mailman/listinfo/pyt
I'm sorry
--
http://mail.python.org/mailman/listinfo/python-list
[Mike L.G.]
> Emacs may seem awkward at first, but the payoff was amazing for me.
Same here. A good editor may tremendously increase your productivity.
However, nowadays, good editors abound, to the point that people are
not so astonished by them. I've been around for many years, and a
good whi
On Apr 6, 2005 2:37 PM, rbt <[EMAIL PROTECTED]> wrote:
> Does the line below have any negative impact on Windows machines? I
> develop and test mostly on Unix, but my scripts are often used on Win
> systems too.
>
> #!/usr/bin/env python
Nope. On Windows it's just a comment.
--
Cheers,
Simon B
rbt wrote:
>
> Haven't tested this on Windows yet... thought I'd ask here:
>
> Does the line below have any negative impact on Windows machines? I
> develop and test mostly on Unix, but my scripts are often used on Win
> systems too.
>
> #!/usr/bin/env python
Thanks to the # being the comment
Grant Edwards wrote:
On 2005-04-05, Tomi Silander <[EMAIL PROTECTED]> wrote:
How is one supposed to give negative numbers as positional arguments
when using optparse?
./mitvit.py -- -1.1
Thank you,
this works. I saw it in the source, but apparently did not properly pay
attention; all the args
On Apr 6, 2005 9:37 AM, rbt <[EMAIL PROTECTED]> wrote:
>
> Haven't tested this on Windows yet... thought I'd ask here:
>
> Does the line below have any negative impact on Windows machines? I
> develop and test mostly on Unix, but my scripts are often used on Win
> systems too.
>
> #!/usr/bin/env
Austin wrote:
I wrote a program running on windows.
I put the link of the program in "Start up" folder and let it executed
minimized.
Every time when I open the computer, my program will be running in system
tray.
But if the user would like to shutdown the computer, the OS will show an
error ab
I thought restricted mode had been removed from Python
but it seems to be active for Python 2.3.5 +.
I'm using the JEP product which allows integration
of Java with Python (see http://jepp.sourceforge.net) via
starting a Python interpreter in the same process as the
JVM.
This integrates with pytho
praba kar wrote:
eg) bytesused = os.system('du -sh /Users/enmail')
if I print this bytesused variable the output of
bytesused variable is the below
14M /Users/enmail
0
It's unlikely this is the contents of "bytesused",
because os.system() does not return the output
of the program that is run, i
SPJ wrote:
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1 2.1-2
Please verify that you made an error about th
Brano Zarnovican wrote:
Q: Can you call 'f' with keywords that will be
ignored, without changing 'f's definition ?
no.
OK. Thank you for an answer.
what's the use case?
I have extended the dict class, so that my __getitem__ accepts an
optional parameter
[...]
But it still doesn't guarantee that
Ok yall, here's my summary. Thanks again for all the help.
Most importantly, upgrading to gnuplot-py 1.7 fixes this problem.
In gnuplot-py 1.6, this is the bottom line...
Does not fix:
Gnuplot.GnuplotOpts.prefer_fifo_data = 0
Fixes:
Gnuplot.GnuplotOpts.prefer_inline_data = 1
Fixes: (placed b
SPJ wrote:
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1
#! rnews 4875
Newsgroups: comp.lang.python
Path:
news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp
From: Harry George <[EMAIL PROTECTED]>
Subject: Re: Best editor?
X-Nntp-Posting-Host: c
On 2005-04-06, Tomi Silander <[EMAIL PROTECTED]> wrote:
> Grant Edwards wrote:
>
>> On 2005-04-05, Tomi Silander <[EMAIL PROTECTED]> wrote:
>
>>>How is one supposed to give negative numbers as positional
>>>arguments when using optparse?
>>
>> ./mitvit.py -- -1.1
>
> this works.
Yes, I know. :)
[EMAIL PROTECTED] wrote:
Michael Spencer wrote:
[EMAIL PROTECTED] wrote:
[snip]
Anyway, my present problem is that I want to make copies of
instances
of my own custom classes. I'm having a little trouble
understanding
the process. Not that I think that it matters -- but in case it
does,
I'll tell
Is there a script that causes this problem, without using mod_python or
jepp? If so, please attach it to the sourceforge bug.
http://sourceforge.net/tracker/index.php?func=detail&aid=1163563&group_id=5470&atid=105470
pgpiWdvwwFmcD.pgp
Description: PGP signature
--
http://mail.python.org/mailman
SPJ wrote:
> I am new to python hence posing this question.
> I have a file with the following format:
>
> test11.1-1 installed
> test11.1-1 update
> test22.1-1 installed
> test22.1-2 update
>
> I want the file to be formatted in the following way:
>
> test11.1-1 1.1-2
Hi All--
Simon Brunning wrote:
>
> On Apr 6, 2005 2:37 PM, rbt <[EMAIL PROTECTED]> wrote:
>
> > Does the line below have any negative impact on Windows machines? I
> > develop and test mostly on Unix, but my scripts are often used on Win
> > systems too.
> >
> > #!/usr/bin/env python
>
> Nope.
SPJ wrote:
Hi,
I am new to python hence posing this question.
I have a file with the following format:
test11.1-1 installed
test11.1-1 update
test22.1-1 installed
test22.1-2 update
I want the file to be formatted in the following way:
test11.1-1 1.1-2
test22.1-1
* Fredrik Lundh wrote:
> Sergey Schetinin wrote:
>
>> it's line #159 here, but it did work! thanks. so it IS a bug?
>
> sure looks like one. please report it here:
>
> http://sourceforge.net/tracker/?group_id=5470&atid=105470
done :)
nd
--
"Das Verhalten von Gates hatte mir bewiesen, da
[Harry George]
> 5. When I do Extreme Programming, the other author(s) tend to be using
> emacs, vim, or nedit. [...]
Speaking of, when everybody uses Emacs, there is a way for Emacs for
allowing many users, each on a different networked machine, all on the
very same buffer, simultaneously. This
Bengt Richter wrote:
If there is to be an MSPython, how long 'til Mozilla FirePython? ;-)
Mexico has already designed the flag for that, I think.
--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
You just can't have your cake and eat it, too.
I've always wondered about this turn of phrase. I seldom
eat a cake at one sitting.
-Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 6, 2005 4:42 PM, Scott David Daniels <[EMAIL PROTECTED]> wrote:
> I've always wondered about this turn of phrase. I seldom
> eat a cake at one sitting.
Clearly you're just not trying. ;-)
--
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
--
http://mail.pyt
On Apr 6, 2005 8:23 AM, gf gf <[EMAIL PROTECTED]> wrote:
> I've recently made the switch. Wow, is Python great!
> One thing which I haven't been able to do is replace
> Perl's great lib collection (HTML::Parser, for
> instance, can do a lot that Soup just can't).
You've just discovered the only l
Bengt Richter wrote:
> On 5 Apr 2005 19:28:55 -0700, "El Pitonero" <[EMAIL PROTECTED]>
wrote:
>
> >Scott David Daniels wrote:
> >> Ron_Adam wrote:
> >> > ...
> >>
> >> def tweakdoc(name):
> >> def decorator(function):
> >>function.__doc__ = 'Tweak(%s) %r' % (name, function.__d
Bengt Richter wrote:
@deco.one
> def foo(): pass
Ok, now what do you call this @-line? Freaky decorator factory invocation?
Decoratoriferous expression? ;-)
This one has a certain je ne sais quoi ;-), but I'd call "deco.one"
the decorator function (since it _must_ evaluate to a function), and
if i
Brano Zarnovican wrote:
> But it still doesn't guarantee that __getitem__ accepts keywords.
> (What if somebody will extend the Tree class and overlook the
> definition of __getitem__ and define a "classic" one)
I deem it more likely that that same somebody will not overlook it and dump
your Tree
py.test is awesome, but there is one slight flaw in it. It produces to
much output. All I want to see when all tests pass is "All X passes
succeded!" (or something similar). py.test's output can be
distracting.
--
mvh Björn
--
http://mail.python.org/mailman/listinfo/python-list
Swaroop C H wrote:
AFAIK, there isn't any reliable way to call Perl modules from Python.
pyperl. pyperl. pyperl.
+10 on making this a standard module for embrace+extend reasons
*and* because perl is not that bad after all.
jf
--
http://mail.python.org/mailman/listinfo/python-list
Well I would be more than willing to learn Emacs if it does all these
things you speak of, but really I can't get started because the default
scheme is so friggin ugly it isn't funny.
Anyone want to send me a configuration setup with Python in mind, and
decent colors?
--
http://mail.python.org/m
You could try the (very) simple HTML editor I use for my CM project. It
can only handle B, I, U and A, but then again, it was never meant to do
more. It's written in wxPython, based on Scintilla and can probably be
extended to fit your needs.
You can find it here:
http://sourceforge.net/project/sh
Robert Kern <[EMAIL PROTECTED]> writes:
> So yeah, buy it.
Seconded. My copy arrived from ORA yesterday and I'm still giddy with
delight. Even if you have the first edition, the second includes a lot
of recipes that leverage or demonstrate the new features in 2.3 and
2.4.
Nick
--
# sigmask
Try paramiko: http://www.lag.net/paramiko/
Grig
--
http://mail.python.org/mailman/listinfo/python-list
<[EMAIL PROTECTED]> wrote:
>py.test is awesome, but there is one slight flaw in it. It produces to
>much output. All I want to see when all tests pass is "All X passes
>succeded!" (or something similar). py.test's output can be
>distracting.
I agree.
--
http://mail.python.org/mailman/listinfo/pyt
Sunnan wrote:
Aahz wrote:
(snip)
print "foo is", foo
Is the space added automatically? (Like awk does, if you add a comma.)
Yes. But you can also format it how you like:
print "foo is %s and that's a good news, my friends" % foo
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[:
I know __del__ can't be relied on to do cleanup, so I'm thinking of
using a globally reachable weakref to do the job, like so:
import weakref
class Foo:
def __init__(self, *args, **kwargs):
self.__realfoo = RealFoo(self, *args, **kwargs)
def blah(self):
return self.__realfoo.blah()
c
On Apr 6, 2005 11:06 AM, Ivan Van Laningham <[EMAIL PROTECTED]> wrote:
> Hi All--
>
> Simon Brunning wrote:
> >
> > On Apr 6, 2005 2:37 PM, rbt <[EMAIL PROTECTED]> wrote:
> >
> > > Does the line below have any negative impact on Windows machines? I
> > > develop and test mostly on Unix, but my scr
Background information:
-
in order to monitor mainboard sensory data
as fan speeds, temperatures, applications
like SpeedFan http://www.almico.com/speedfan.php
or MBM http://mbm.livewiredev.com/
can be used.
Both of the mentioned apps expose data got
from the hardwar
Hi all,
I want to implement rich comparision in an extension class. Problem is
I cannot
find good documentation of the richcmpfunc semantics. Given the
signature
richcmpfunc compare(PyObject *,PyObject, int);
I supposed the two objects passed are the ones to be compared.
What is the meaning of t
I have got the specs for SpeedFan from
the SpeedFan author :-) ,
but ...
inbetween I found, that full specs of the
shared memory access to
fan speeds, board, CPU temperature data
are also exposed by the MBM application
http://mbm.livewiredev.com
and already published online
(including C, VB, Delp
SPJ wrote:
> test11.1-1 installed
> test11.1-1 update
> test22.1-1 installed
> test22.1-2 update
>
> I want the file to be formatted in the following way:
>
> test11.1-1 1.1-2
> test22.1-1 2.1-2
The following program expects a sorted input file:
import itert
Larry Bates wrote:
I received my copy on Friday (because I was a contributor).
I wanted to thank Alex, Anna, and David for taking the time to put
this together. I think it is a GREAT resource, especially for
beginners. This should be required reading for anyone that
is serous about learning Pytho
[EMAIL PROTECTED] wrote:
...
I see Steve Bethard has answered most of the points in your last eMail
On line 11 we create a
dictionary item in memo, [id(self):type(self)]...So now I'm confused as
to the purpose of memo. Why should it contain the ID of the *original*
object?
No, you create memo[id(s
"narke" <[EMAIL PROTECTED]> writes:
> John J. Lee wrote,
>
> > See second bullet point under "Why does .click()ing on a button not
> work for me?".
>
> Thanks for you advice. However, after read through the FAQs, I have not
> managed to find a solution for my problem. I belive my button is
> co
Or if you run 2.4 you can use subprocess
--
http://mail.python.org/mailman/listinfo/python-list
Hi
Latest version of py2exe does not support the option
--force-imports anymore I think. You can edit the .bat file to remove
that option. It should work.
-Anand
--
http://mail.python.org/mailman/listinfo/python-list
"Claudio Grondi" <[EMAIL PROTECTED]> writes:
> Background information:
> -
> in order to monitor mainboard sensory data
> as fan speeds, temperatures, applications
> like SpeedFan http://www.almico.com/speedfan.php
> or MBM http://mbm.livewiredev.com/
> can be used.
Michael Spencer wrote:
BTW, as I mentioned in a previous comment, I believe this would be more
plainly written as type(self).__new__(), to emphasize that you are
constructing the object without initializing it. (There is a
explanation of __new__'s behaviour at
http://www.python.org/2.2/descrin
I would like to compile extensions usig distutils. is there a way to
set which compiler to use ?
I am using windows and VC++ 7.1 comp.
Åke
--
http://mail.python.org/mailman/listinfo/python-list
Simon Brunning <[EMAIL PROTECTED]> writes:
> On Apr 6, 2005 4:42 PM, Scott David Daniels <[EMAIL PROTECTED]> wrote:
> > I've always wondered about this turn of phrase. I seldom
> > eat a cake at one sitting.
>
> Clearly you're just not trying. ;-)
:-)))
John
--
http://mail.python.org/mailma
On Wed, 06 Apr 2005 08:10:22 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote:
>I don't understand your seeming fixation with wrappers and wrapping.
Fixated implies, I'm stuck on a single thing, but I'm not. I am
learning as I go, and exploring some possibilities as well. :-)
> That's not
>the only
François Pinard <[EMAIL PROTECTED]> writes:
[...]
> Overall, Vim is also cleaner than Emacs, and this pleases me.
[...]
Is this still true when comparing XEmacs vs. vim? (rather than GNU
Emacs vs. vim) I've always used GNU Emacs, but I have got the
impression that XEmacs is (was?) cleaner in some
Really! That's a pity... Instead of trying to
recreate a repository the size of CPAN, a Python
interface to Perl modules is really called for.
Instead of fretting over decorator syntax and
lispiness, might I suggest that development efforts be
directed to this? Developers, are you listening?
Gu
"ChinStrap" <[EMAIL PROTECTED]> writes:
> When not using the interactive prompt, what are you using? I keep
> hearing everyone say Emacs, but I can't understand it at all. I keep
> trying to learn and understand why so many seem to like it because I
> can't understand customization even without go
Edward Diener wrote:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a
number of Linux utilities and commands, like yum, stop working because
they were dependent on the Python 2.3 installation. What happens is that
Python 2.4 replaces the /usr/bin/python module with the Pyt
Ville Vainio <[EMAIL PROTECTED]> writes:
> > "Miki" == Miki Tebeka <[EMAIL PROTECTED]> writes:
>
> Miki> Emacs (or VIm in my case) takes time to learn. However when
> Miki> you start to understand it and know you way around it'll do
> Miki> things no other editor will do for you.
I'm writing a program to read in raw data from a WAV file, and write it
to an IT file. I got this to work in C by reading the data into an
array of unsigned chars called "RawDataAry", then converted it to
signed chars by doing the following:
signed char *CharAry = malloc(sizeof(signed char) * fra
Ron_Adam wrote:
On Wed, 06 Apr 2005 08:10:22 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote:
I don't understand your seeming fixation with wrappers and wrapping.
Fixated implies, I'm stuck on a single thing, but I'm not. I am
learning as I go, and exploring some possibilities as well. :-)
That's
An interface to Perl already exists:
http://www.python.org/moin/PyPerl
-jjr
--
http://mail.python.org/mailman/listinfo/python-list
Just a simple bit of code to toggle between two state at intervals...
import time
for i in range(4):
print 'On'
time.sleep(1)
print 'Off'
time.sleep(1)
... SHOULD toggle On and Off four times with one-second pauses. When I
run this, the loop pauses the full eight seconds then prin
1 - 100 of 176 matches
Mail list logo