"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> The obvious choice, I thought, was ncurses. But as far as I can
> tell, it is not available for Python on Windows?
More precisely, curses doesn't work natively on Windows, regardless of
whether Python is involved.
As with many "how do I get Unix
Hi,
I have been working at this problem, and I think I need a permutation
algorithm that does
the following:
Given a list of elements that are either a character or a character
follows by a number, e.g.
['a', 'b', 'c1', 'd', 'e1', 'f', 'c2', 'x', 'e2']
find all the permutations that are given b
Hi,
I'm trying to build a small spaceship battle game as an exercise,
using pygame.
How can I rotate the gif file of my ship by X degrees ?
--
http://mail.python.org/mailman/listinfo/python-list
In <[EMAIL PROTECTED]>, Tom Gur wrote:
> I'm trying to build a small spaceship battle game as an exercise,
> using pygame.
> How can I rotate the gif file of my ship by X degrees ?
You shouldn't do this with the PyGame functions, the quality is poor.
Either use a paint program to pre-generate ro
Thanks for the reply, yes you're right I just realized it sooner.
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
I am trying to use the poplib library to get emails using the retr
method. The small program bellow works but the message aren't flagged as
read which puzzles me. I believe the pop server is qmail 1.0.6 /
vpopmail 5.2.1 and I am running the following script on Windows using
Pyhton 2.
sturlamolden wrote:
> That's what I wrote: "NumPy has a matrix type." It is called called
> numpy.matrix.
>
> I did not suggest using the array type numpy.array.
>
> Reading carefully is indeed important...
I know what you wrote and you are strictly correct. I was just clarifying it
for a reade
> Long count = 12.19.14.7.8; tzolkin = 7 Lamat; haab = 16 Zotz.
> I get words from the Allmighty Great Gnus that
> "GB" == Galen Boyer <[EMAIL PROTECTED]> writes:
GB> Most other environments will be for those just trying to perform
GB> their tasks and staying even with the average prof
"Ethan Kennerly" <[EMAIL PROTECTED]> writes:
> I really like properties for readonly attributes,
Python doesn't have "readonly attributes", and to attempt to use
properties for that purpose will only lead to confusion.
> and their ability to make the interface more elegant, by hiding
> uninteres
Nick Craig-Wood wrote:
> Tim Williams <[EMAIL PROTECTED]> wrote:
>> On 18/06/07, Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
>> On Windows the open-a-file-for-writing method works well, but as *nix
>> doesn't work the same way then maybe the socket solution is the best
>> cross-platform option.
I've said it before and I'll say it again. Why does Python have no
platform neutral commands for simple screen manipulation? yabasic (a
'hobby' type language - http://www.yabasic.de/) has commands clear
screen, inkey$ and putscreen$ which perform the basic functions of
clearing the screen, readi
On 16 Jun, 17:20, Pierre Hanser <[EMAIL PROTECTED]> wrote:
> Matt Haggard a écrit :
>
> > I'm using PIL (Python Imaging Library) to generate button images.
> > They consist of a left end image, a middle, repeating image and a
> > right side image anyway, that's not important
>
> > I'm using a T
How ca i create a databse file using rnopen?
How to set the key for this file?
i am tried but i got error.. please can any one tell...
--
http://mail.python.org/mailman/listinfo/python-list
hai folks ,
i am extremely new to this list
can anybody tell me where can i find docs that are related to "sripting in
mainframe using python"
or
how can we use python instered of REXX in mainframe
how can i run python scripts in mainframe
any help will be appreciated.
thanks in advanc
Hi,
which IDE would you recommend for a python ?
--
http://mail.python.org/mailman/listinfo/python-list
On 19 Cze, 12:39, Tom Gur <[EMAIL PROTECTED]> wrote:
> Hi,
> which IDE would you recommend for a python ?
I prefer Eclipse with PyDev extension, link -
http://wiki.python.org/moin/EclipsePythonIntegration
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
how can I determine the architecture (32 or 64bit) with python 2.2 on
Windows or Unix (AIX, Solaris) OS, without the modul platform?
Thanks for your hints, Kai
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 19, 2:17 am, Josiah Carlson <[EMAIL PROTECTED]>
wrote:
>
> This link offers a series of links for console
> IO...http://mail.python.org/pipermail/python-list/2005-January/303984.html
>
Thanks.
> Among them is a link to the 'wcurses' module that has been relocated
> here:http://adamv.com/d
I have created a simple windows small_dll.dll exporting a function that does
a computation using C and C++ classes which i wish to call from Python. I
have read lots of ctypes documentation but I still dont quite understand how
to call the function.
As a test, I have written a much simpler mathem
On Jun 19, 9:04 am, Ben Finney <[EMAIL PROTECTED]>
wrote:
>
> More precisely, curses doesn't work natively on Windows, regardless of
> whether Python is involved.
>
True. But then: are there other multi-platform console libraries out
there? I want to code to a single API.
> As with many "how do I
Hi,
I'm new to python, and I can't seem to find in the docs how to create
the python equivalent of what's called in most OOP languages "static
classes", can you give me a hint ?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
This is in Reference to the position for the direct client of Consus
iTechnologies ( www.consusitechnologies.com) for Python Developer.
We have reviewed your resume on one of the portal and a client of ours has a
position available that we thought you might be interested in.
Job Title: Pyth
I have not used Python before, but believe it may be what I need.
I have large text files containing text, numbers, and junk. I want to
delete large chunks process other bits, etc, much like I'd do in an
editor, but want to do it automatically. I have a set of generic
rules that my fingers follo
On Jun 19, 10:00 pm, Tom Gur <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm new to python, and I can't seem to find in the docs how to create
> the python equivalent of what's called in most OOP languages "static
> classes", can you give me a hint ?
Look for @staticmethod in http://docs.python.org/lib/b
> > the python equivalent of what's called in most OOP languages "static
> > classes", can you give me a hint ?
>
> Look for @staticmethod inhttp://docs.python.org/lib/built-in-funcs.html
Woops... I misread...
--
Gerald Kaszuba
http://geraldkaszuba.com
--
http://mail.python.org/mailman/listinfo
On Tue, 2007-06-19 at 12:00 +, Tom Gur wrote:
> Hi,
>
> I'm new to python, and I can't seem to find in the docs how to create
> the python equivalent of what's called in most OOP languages "static
> classes", can you give me a hint ?
If I had to guess, which apparently I have to because you'r
Hi,
I have the latest bundle for python (upgraded from svn) but I don't
understand how execute line works..
It only works if I play with arithmetic operations, something like
this works:
2*2
4
but for example trying to execute this line gives me this error, any
help?
x = 1; x + 1
Traceback (mos
On Jun 19, 9:17 pm, Kai Rosenthal <[EMAIL PROTECTED]> wrote:
> Hello,
> how can I determine the architecture (32 or 64bit) with python 2.2 on
> Windows or Unix (AIX, Solaris) OS, without the modul platform?
> Thanks for your hints, Kai
What happens when you fire up a 64-bit Python and type
imp
It's not clear what you mean here. If you mean something like static
inner classes in Java, then you can simply nest classes in Python:
>>> class A(object):
... class B(object):
... def aaa(self):
... print "AA"
...
>>> z = A.B()
>>> z.aaa()
AA
(In c
mclaugb schrieb:
> I have created a simple windows small_dll.dll exporting a function that does
> a computation using C and C++ classes which i wish to call from Python. I
> have read lots of ctypes documentation but I still dont quite understand how
> to call the function.
>
> As a test, I have
> Look for @staticmethod inhttp://docs.python.org/lib/built-in-funcs.html
>
> Example:
> class C:
> @staticmethod
> def f(arg1, arg2, ...): ...
Oops, sorry for the confusion - I've actually meant a static method,
and Gerald's answer works fine.
Thanks alot
--
http://mail.python.org/mai
ferrad wrote:
> I have not used Python before, but believe it may be what I need.
>
> I have large text files containing text, numbers, and junk. I want to
> delete large chunks process other bits, etc, much like I'd do in an
> editor, but want to do it automatically. I have a set of generic
> r
Duncan Booth wote:
> If you must insist on using backslash escapes (which introduces the
> question of how you get backslashes into the output: do they have to be
> escaped as well?) then use string.Template with a custom pattern.
If anybody wants this, I worked out the following regular expressi
On Jun 19, 5:39 am, Tom Gur <[EMAIL PROTECTED]> wrote:
> Hi,
> which IDE would you recommend for a python ?
VIM
But if you crave distraction.
http://wiki.python.org/moin/PythonEditors
rd
--
http://mail.python.org/mailman/listinfo/python-list
Assigining restype and argtypes works!
"Thomas Heller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> mclaugb schrieb:
>> I have created a simple windows small_dll.dll exporting a function that
>> does
>> a computation using C and C++ classes which i wish to call from Python.
>>
BartlebyScrivener wrote:
> VIM
*clap-clap*
BTW, are there tutorials on the more arcane vim functions that come
in handy with Python?
Regards,
Björn
--
BOFH excuse #168:
le0: no carrier: transceiver cable problem?
--
http://mail.python.org/mailman/listinfo/python-list
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> Just to be more precise: curses is not a requirement, a
> multi-platform console library with a single API is. So are there
> alternatives to curses? Python-only or not.
>
> And as "peter" mentions, Python _could_ have such a library,
> abstracting
Tom Gur <[EMAIL PROTECTED]> writes:
> which IDE would you recommend for a python ?
GNU screen, Emacs or Vim, and Bash. The right tool for each job, and
tools that work well together, rather than a single tool trying to do
everything in its own isolated world.
--
\ "Killing the crea
Tom Gur <[EMAIL PROTECTED]> writes:
> I'm new to python, and I can't seem to find in the docs how to
> create the python equivalent of what's called in most OOP languages
> "static classes", can you give me a hint ?
Can you give us a hint of what a "static class" would do? That is,
what features
On Tue, 19 Jun 2007 02:43:09 -0700, peter <[EMAIL PROTECTED]> wrote:
> I've said it before and I'll say it again. Why does Python have no
> platform neutral commands for simple screen manipulation? yabasic (a
> 'hobby' type language - http://www.yabasic.de/) has commands clear
> screen, inkey$ a
ferrad wrote:
> I have large text files containing text, numbers, and junk. I want to
> delete large chunks process other bits, etc, much like I'd do in an
> editor, but want to do it automatically.
> Question: can I translate these types of rules into programmatical
> constructs that Python can
>
> From: Gilles Ganault <[EMAIL PROTECTED]>
> Subj: GUI apps in Windows with native widgets?
> Date: 19.6.2007 04:15:55
>
> Hello
>
> I'd like to write a GUI app in Python exclusively for Windows.
> Apparently, development o
Galen Boyer <[EMAIL PROTECTED]> writes:
> On Mon, 18 Jun 2007, [EMAIL PROTECTED] wrote:
>
> > The problem with this line of thinking is that it aims to make Emacs
> > appeal to people -- I think it is rather the other way around.
> > Certain people appeal to Emacs: certain kinds of people like E
Tom Gur wrote:
> Hi,
>
> I'm new to python, and I can't seem to find in the docs how to create
> the python equivalent of what's called in most OOP languages "static
> classes", can you give me a hint ?
With other OOP languages you mean Java. Which does have static methods
because they lack the
On Jun 19, 3:27 pm, Ben Finney <[EMAIL PROTECTED]>
wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > Just to be more precise: curses is not a requirement, a
> > multi-platform console library with a single API is. So are there
> > alternatives to curses? Python-only or not.
>
You wouldn
Harry George <[EMAIL PROTECTED]> writes:
> I don't mind folks using any editor they want, as long as they are
> proficient. In those cases, I have no problem doing Extreme
> Programming with them -- code a bit, save, the other guy codes a
> bit. But when someone uses vi and then forgets how to d
ferrad wrote:
> I have not used Python before, but believe it may be what I need.
>
> I have large text files containing text, numbers, and junk. I want to
> delete large chunks process other bits, etc, much like I'd do in an
> editor, but want to do it automatically. I have a set of generic
>
On Tue, 19 Jun 2007 18:54:41 +1000, Ben Finney wrote:
> "Ethan Kennerly" <[EMAIL PROTECTED]> writes:
>
>> I really like properties for readonly attributes,
>
> Python doesn't have "readonly attributes", and to attempt to use
> properties for that purpose will only lead to confusion.
class Parr
Ben Finney <[EMAIL PROTECTED]> wrote:
> "Ethan Kennerly" <[EMAIL PROTECTED]> writes:
>
> > I really like properties for readonly attributes,
>
> Python doesn't have "readonly attributes",
Many Python types do, e.g.:
>>> def f(): pass
...
>>> def g(): pass
...
>>> f.func_name = 'zap'
>>> f.f
David Kastrup wrote:
> My favorite killing offence is /* vi:set ts=4: */.
This is apparently the default setting in many of the so-called "IDE"s
today.. I think it's another unwelcome poison gift from the ignorant
M$FT world (I suspect some primitive Windoze IDE which couldn't
differentiate betwe
On Jun 19, 4:28 pm, John Machin <[EMAIL PROTECTED]> wrote:
> On Jun 19, 9:17 pm, Kai Rosenthal <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > how can I determine the architecture (32 or 64bit) with python 2.2 on
> > Windows or Unix (AIX, Solaris) OS, without the modul platform?
> > Thanks for your hin
On Thu, 14 Jun 2007 13:16:42 -0700, SpreadTooThin <[EMAIL PROTECTED]> wrote:
> I am wondering if someone who knows the implemention of python's time
> could help converting this to c/c++
>
> nanoseconds = int(time.time() * 1e9)
[straightforward non-time arithmetic snipped]
>
> v
On 2007-06-19, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote:
> BartlebyScrivener wrote:
>> VIM
>
> *clap-clap*
>
> BTW, are there tutorials on the more arcane vim functions that
> come in handy with Python?
One thing to do is to look in your vim ftplugin directory and
read python.vim. Unfortuna
Dear list,
I am attempting to build a python based project off SourceForge, iTorrent (
http://sourceforge.net/project/showfiles.php?group_id=163841&package_id=185388&release_id=415006).
The project is built with py2exe, includes bittorrent 4.4 and appears to
require a number of dependent modules.
Gabriel Genellina wrote:
> En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto
> <[EMAIL PROTECTED]> escribió:
>
>> Can someone explain me, what is wrong with this site ?
>>
>> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test
>>
>> HTMLParser.HTMLParseError: EOF in middle of c
Gabriel Genellina wrote:
> En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto
> <[EMAIL PROTECTED]> escribió:
>
>> Can someone explain me, what is wrong with this site ?
>>
>> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test
>>
>> HTMLParser.HTMLParseError: EOF in middle of c
On Jun 18, 1:23 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> You might find, as many others do, that it's convenient to read this
> group using the Gmane service - it's group gmane.comp.python.general on
> server news.gmane.org.
I tried news.gmane.org in Thunderbird and I keep on getting a error
s
Tom Gur <[EMAIL PROTECTED]> wrote:
> which IDE would you recommend for a python ?
It depends on that python's tastes and preferences. Like many others
who have already responded, I prefer an editor (VIM) and a separate
commandline/terminal; I know of many others who share another
responder's pre
pysqlite 2.3.4 released
===
I'm pleased to announce the availability of pysqlite 2.3.4. This is a
bugfix release.
Go to http://pysqlite.org/ for downloads, online documentation and
reporting bugs.
What is pysqlite?
pysqlite is a DB-API 2.0-compliant database interface f
Gabriel Genellina wrote:
> En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto
> <[EMAIL PROTECTED]> escribió:
>
>> Can someone explain me, what is wrong with this site ?
>>
>> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test
>>
>> HTMLParser.HTMLParseError: EOF in middle of c
I have a simple function
void adder(double a, double b, double *c){
*c = a+b;
}
i have created a shared dll -- "small_dll4.dll" of it using visual studio.
now i wish to call it from python.
to do so, i have done the following:
libx = cdll("small_dll4.dll", RTLD_GLOBAL)
libx.adder.argtypes = [c_
In <[EMAIL PROTECTED]>, none wrote:
> Gabriel Genellina wrote:
>> En Mon, 18 Jun 2007 16:38:18 -0300, Sergio Monteiro Basto
>> <[EMAIL PROTECTED]> escribió:
>>
>>> Can someone explain me, what is wrong with this site ?
>>>
>>> python linkExtractor3.py http://www.noticiasdeaveiro.pt > test
>>>
>>
Hi
Does it have a plug-in for python code completetion ?
thks
--
http://mail.python.org/mailman/listinfo/python-list
On 6 15 , 2 01 , Stefan Behnel <[EMAIL PROTECTED]> wrote:
> Jackie wrote:
> import lxml.etree as et
> url = "http://www.economics.utoronto.ca/index.php/index/person/faculty/";
> tree = et.parse(url)
>
> Stefan- -
>
> - -
Thank you. But when I tried to run the above part, the fo
Bjoern Schliessmann wrote:
> BartlebyScrivener wrote:
>> VIM
>
> *clap-clap*
>
> BTW, are there tutorials on the more arcane vim functions that come
> in handy with Python?
>
> Regards,
>
>
> Björn
>
Not a tutorial, but I found this little snippet:
http://www.ibiblio.org/obp/pyBiblio/tips/e
Jackie schrieb:
> On 6 15 , 2 01 , Stefan Behnel <[EMAIL PROTECTED]> wrote:
>> Jackie wrote:
>
>> import lxml.etree as et
>> url = "http://www.economics.utoronto.ca/index.php/index/person/faculty/";
>> tree = et.parse(url)
>>
>
>> Stefan- -
>>
>> - -
>
> Thank you. But when I t
"Douglas Alan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| "Terry Reedy" <[EMAIL PROTECTED]> writes:
|
| > |>oug writes:
|
| >> Scheme has a powerful syntax extension mechanism
|
| > I did not and do not see this as relevant to the main points of my
| > summary above.
The main
I answered this one already.
from ctypes import *
libx = CDLL("small_dll5.dll", RTLD_GLOBAL)
libx = cdll.small_dll4
libx.adder.restype = None
libx.adder.argtypes = [c_double, c_double, POINTER(c_double)]
real=c_double(0)
imag=c_double(0)
zz=libx.adder(3.342,4,byref(size))
print size
"mclaugb" <
At Saturday 16/06/2007 02:24, you wrote:
> Thanks for your reply. I am new to Python and I
cannot
> seem to figure this out. I searched for examples
based
> on your recommendation below but couldn't do it. I
am
> not familiar with subprocess and
WaitForSingleObject.
> And I want to do this in Win
My first post!
Greetings all,
I am trying to get pydev up and running in linux. I have it up and
running in windows but for some strange reason not here. I did
install pydev a few months ago on my windows machine so that may be
the reason why..
I followed this guide: http://www.fabioz.com/pyde
mclaugb schrieb:
> I have a simple function
>
> void adder(double a, double b, double *c){
> *c = a+b;
> }
>
> i have created a shared dll -- "small_dll4.dll" of it using visual studio.
>
> now i wish to call it from python.
> to do so, i have done the following:
>
> libx = cdll("small_dll4.dll
Its called mylyn now. You can get it from here:
http://www.eclipse.org/mylyn/dl.php
Best,
Chris
On 6/19/07, Danyelle Gragsone <[EMAIL PROTECTED]> wrote:
My first post!
Greetings all,
I am trying to get pydev up and running in linux. I have it up and
running in windows but for some strange
QOTW: "Regarding a Java programmer moving to Python, a lot of the mindset
change is about the abundant use of built in data types of Python. So a Java
programmer, when confronted with a problem, should think 'how can I solve
this using lists, dicts and tuples?' (and perhaps also my new favourite,
Hyuga wrote:
> On Jun 17, 9:16 am, mark carter <[EMAIL PROTECTED]> wrote:
>> Should I also explicitly close the cursor and connection, or is that
>> taken care of "automagically"?
>>
>
> Somebody correct me if I'm wrong, but I'm pretty sure that the Cursor
> and Connection objects properly clean t
Hi all,
I currently use easy_install to install packages from a custom,
locally hosted package_index. The index consists of a single html doc
with a list of package names and urls. All works well.
I would like to get a little more sophisticated and install a package
from subversion.
My package i
ty!
Danyelle
--
http://mail.python.org/mailman/listinfo/python-list
I have found the Phraserate algorithm to extract keyphrases from html
pages and I tried it and it works like a charm.
However the algorithm is integrated in the much bigger iVia library, but I
need something smaller and more practical, so I was wondering if someone
knows of a python implementation
Hello
there is someone that have experience with the ni-pci-6010 Analog
Input Multifunction DAQ and python?
--
http://mail.python.org/mailman/listinfo/python-list
Yes, i double defined one of the terms when copying it.
This now works by value and by reference.
Thanks alot,
Bryan
"Thomas Heller" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> mclaugb schrieb:
>> I have a simple function
>>
>> void adder(double a, double b, double *c){
>> *c =
Here are some Frequently Asked Questions about The Modernization of
Emacs.
They are slightly lengthy, so i've separated each item per post. The
whole article can be found at
http://xahlee.org/emacs/modernization.html
Q: The Terminology “buffer” and “keybinding” is good as they are.
Here are some Frequently Asked Questions about The Modernization of
Emacs.
They are slightly lengthy, so i've separated each item per post. The
whole article can be found at
http://xahlee.org/emacs/modernization.html
Q: Why should emacs want to be popular and why should emacs change
Here are some Frequently Asked Questions about The Modernization of
Emacs.
They are slightly lengthy, so i've separated each item per post. The
whole article can be found at
http://xahlee.org/emacs/modernization.html
Q: Emacs's ways are technically superior. It should not change.
A:
Here are some Frequently Asked Questions about The Modernization of
Emacs.
They are slightly lengthy, so i've separated each item per post. The
whole article can be found at
http://xahlee.org/emacs/modernization.html
Q: Aquamacs already does what you want.
A: Aquamacs is a emacs var
Hi all
I'm playing around with metaclasses and noticed, that there is small
but mesurable a performance difference in the code shown below. With a
more complex example I get a 5 percent performance penalty for using a
metaclass. Until today I assumed, that a metaclass has no performance
impact at
Xah Lee <[EMAIL PROTECTED]> writes:
> Here are some Frequently Asked Questions about The Modernization of
> Emacs.
>
> They are slightly lengthy, so i've separated each item per post. The
> whole article can be found at
>
> http://xahlee.org/emacs/modernization.html
>
>
> Q: The Termi
Libertarian wrote:
> Does it have a plug-in for python code completetion ?
>
Yes.
/W
--
http://mail.python.org/mailman/listinfo/python-list
En Tue, 19 Jun 2007 03:45:19 -0300, <[EMAIL PROTECTED]> escribió:
> I can't quite figure out where to set the "socket timeout". I tried
> setting win32event.WAIT_TIMEOUT, but I'm pretty sure that's not the
> variable you were talking about. I did manage to make it multi-
> threaded by incorpora
Hi,
I think I've found a bug in Python/C API and multithreading.
I'm currently creating an intrusion detection system based on mobile agents.
I have an AgentPlatform (C/C++) and 2 agents on it (2 Python scripts:
Snort and Anomaly)
These 2 agents are each running its own Python interpreter (bot
Hi,
How can I close a thread that is waiting on a file/port down
gracefully, and not have an IO error pop up?
I am having trouble closing a thread that is listening to the serial
port. I have a thread that calls uses a pySerial serial port and calls
readline() without a timeout, which is blocking.
"Terry Reedy" <[EMAIL PROTECTED]> writes:
> The main point of my original post was that the quoted slam at Python was
> based on a misquote of Tim Peters
But it wasn't based on a "misquote of Tim Peters"; it was based on an
*exact* quotation of Tim Peters.
> and a mischaracterization of Python
Hello all,
I've been trying to get Python to cross compile to linux running on an
ARM. I've been fiddling with the cross compile patches here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1597850&group_id=5470&atid=305470
and I've had some success. Python compiles and now all of the
e
On Jun 19, 10:21 am, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Tue, 19 Jun 2007 03:45:19 -0300, <[EMAIL PROTECTED]> escribió:
>
> > I can't quite figure out where to set the "socket timeout". I tried
> > setting win32event.WAIT_TIMEOUT, but I'm pretty sure that's not the
> > variable you
On 2007-06-19, Douglas Alan <[EMAIL PROTECTED]> wrote:
> "Terry Reedy" <[EMAIL PROTECTED]> writes:
>> At the end, I added as a *side note* the irony that the
>> purported author was the co-developer of Scheme, another
>> 'minimalist algorithm language
>
> Sussman's statements are not ironic becaus
Gian Uberto Lauri wrote:
>>"GB" == Galen Boyer <[EMAIL PROTECTED]> writes:
>
>
> GB> Most other environments will be for those just trying to perform
> GB> their tasks and staying even with the average proficiency chart.
Oh, please. The "I'm so l33t" thing.
I used EMACS back in the
hello,
I need to search a piece of text and make all words that are equal
(except their case) also equal in their case, based on the first occurrence.
So I'm using a dictionary to store names and attributes of objects.
As as I need to search on the caseless name (so I've choosen lowercase),
My dic
Rob Cowie wrote:
> I currently use easy_install to install packages from a custom,
> locally hosted package_index. The index consists of a single html doc
> with a list of package names and urls. All works well.
>
> I would like to get a little more sophisticated and install a package
> from subve
Can I do:
getattr(current_module, 'foo')
where 'current_module' is a handle the the one
that the code is in? Just like
getattr(self, 'foo')
in a class, but for the current module instead?
Thanks,
Toby
--
Posted via a free Usenet account from http://www.teranews.com
--
http://mail.python.
On 19 Juni, 07:14, Harry George
>
> I've used emacs since the 1980's.
...
> --
> Harry George
> PLM Engineering Architecture
I've asked this question on an emacs forum and got no response, so I
presume the answer is no, but I see, Harry, that you're a veteran, so
maybe you've seen things few other
Tobiah wrote:
> Can I do:
>
> getattr(current_module, 'foo')
>
> where 'current_module' is a handle the the one
> that the code is in? Just like
>
> getattr(self, 'foo')
>
> in a class, but for the current module instead?
You can try __import__() with __name__::
>>> foo = 42
>>> mo
On Tue, 19 Jun 2007 05:15:17 -0700, ferrad <[EMAIL PROTECTED]> wrote:
> I have not used Python before, but believe it may be what I need.
>
> I have large text files containing text, numbers, and junk. I want to
> delete large chunks process other bits, etc, much like I'd do in an
> editor, but wa
1 - 100 of 184 matches
Mail list logo