QOTW: The promise is 'batteries included.' Nobody promised you a
nickel metal hydride battery that you can use as a replacement in your
Prius. - Stephen J. Turnbull
http://mail.python.org/pipermail/python-dev/2009-November/094014.html
Google's new language, Go, has similarities to
Thank Tim, Raymond, and all.
In my test, Tim's t1 was fastest and Raymond's triple3 is very near to Tim's
t1.
Anyway both of them took only 6~7% time of my original .extend() version.
I think that following n_ple() is a good generalized function that was 1~3%
slower than t1() and triple3() for
On Saturday 14 November 2009 22:23:40 Paul Rubin wrote:
they'll have to call it Go2
Lol.
Or we could fork it and call it Gosub ... and never return!
\d
--
http://mail.python.org/mailman/listinfo/python-list
King schrieb:
eval can solve this problem right away but I am concerned about
security issues. If not eval could you suggest something more
efficient way. It won't be a big deal to change the format as
application is still at development stage?
If you don't want to use eval (which is a good
On Nov 16, 11:37 pm, King animator...@gmail.com wrote:
eval can solve this problem right away but I am concerned about
security issues. If not eval could you suggest something more
efficient way. It won't be a big deal to change the format as
application is still at development stage?
You
Glenn Maynard schrieb:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
The simple approach would be to open each file in the source ZIP, and
hand it
If one goes to the following URL:
http://www.nordea.se/Privat/Spara%2boch%2bplacera/Strukturerade%2bprodukter/Aktieobligation%2bNr%2b99%2bEuropa%2bAlfa/973822.html
it contains a link (click on Current courses NBD AT99 3113A) to:
Hi all..
Sorry if this question sound elemental.
How is the sintaxis for set the TODO and FIXME tags...?
Thanks
--
Lic. Yasser Almeida Hernández
Center of Molecular Inmunology (CIM)
Nanobiology Group
P.O.Box 16040, Havana, Cuba
Phone: (537) 271-7933, ext. 221
Let me
be clear, given 2min, how many primes can you find, they need not be in
order or consecutive.
Do they have to go from low to high? :( )
--
http://mail.python.org/mailman/listinfo/python-list
Mr.SpOOn mr.spoo...@gmail.com wrote in message
news:mailman.492.1258380560.2873.python-l...@python.org...
In [13]: ('b3' and '5') in l or ('3' and 'b3') in l
Out[13]: True
For anything more than the simplest cases, you might want use sets.
That might be the correct data type from the start,
as the subject says,
any books?
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Nov 16, 2009 at 2:14 AM, Virgil Stokes v...@it.uu.se wrote:
If one goes to the following URL:
http://www.nordea.se/Privat/Spara%2boch%2bplacera/Strukturerade%2bprodukter/Aktieobligation%2bNr%2b99%2bEuropa%2bAlfa/973822.html
it contains a link (click on Current courses NBD AT99 3113A)
2009/11/16 Yasser Almeida Hernández pedro...@fenhi.uh.cu:
Hi all..
Sorry if this question sound elemental.
How is the sintaxis for set the TODO and FIXME tags...?
There is no special syntax for those. Some people use them in
comments, but it's just a convention.
Cheers,
Chris
--
On 10 Nov., 17:03, NickC reply...@works.fine.invalid wrote:
Many thanks for the replies. getattr() works great:
You can get a little more versatile and even specify the location of
the name (i.e. the module / package name) without pre-importing it,
like this...
def importName(modulename,
Chris Rebert c...@rebertia.com writes:
2009/11/16 Yasser Almeida Hernández pedro...@fenhi.uh.cu:
How is the sintaxis for set the TODO and FIXME tags...?
There is no special syntax for those. Some people use them in
comments, but it's just a convention.
This is true. However, the convention
King a écrit :
Python's getattr, setattr and __getattribute__ commands
s/commands/functions/
works fine
with python types.
For example:
print o.__getattribute__(name)
A very few corner cases set aside - the main one being inside a custom
__getattribute__ method -, you should not directly
On Nov 16, 10:11 pm, Carl Banks pavlovevide...@gmail.com wrote:
On Nov 16, 10:32 am, Steve Howell showel...@yahoo.com wrote:
On Nov 16, 2:35 am, Carl Banks pavlovevide...@gmail.com wrote:
On Nov 15, 2:52 pm, Steve Howell showel...@yahoo.com wrote:
Does anybody have any links that
Gabriel Genellina wrote:
En Mon, 16 Nov 2009 19:30:27 -0300, Hyunchul Kim
hyunchul.mail...@gmail.com escribió:
I want to improve speed of following simple function.
Any suggestion?
**
def triple(inputlist):
results = []
for x in inputlist:
results.extend([x,x,x])
Hi,
I am not sure if this is the right newsgroup, so if not don't hesitate
to tell me.
I am developed a Python to C compiler, so that Byte Code files
automatically can be translated into C Extension Modules. (And it works
pretty well -- http://www.coremountains.com/products/bytecoat/)
While
Hi,
unfortunatley I cannot reproduce your error. Which Python Version do you
use?
The expected case in this scenario is that the exception is thrown, as
you import os in A() where it is stored in the local namespace of the
function.
I tested it with Python 2.4, 2.5 and 2.6 and in both cases an
Python searches for Variables not only in local or global scoop but also
in __builtins__. If you do something like __builtins__.os = os, than
this variable should be accessible global.
If you then write something like:
def B():
os.stat(/)
import os
Python recognises on compile
Ben Finney wrote:
Chris Rebert c...@rebertia.com writes:
2009/11/16 Yasser Almeida Hernández pedro...@fenhi.uh.cu:
How is the sintaxis for set the TODO and FIXME tags...?
There is no special syntax for those. Some people use them in
comments, but it's just a convention.
This is true.
Cannonbiker wrote:
Hi,
unfortunately is my question about server COM (win32com)
http://groups.google.com/group/comp.lang.python/browse_thread/thread/ee804cec7f58c6a7#
without answer.
Please I need Calling Python functions from Excel and receive result
back in Excel. Can me somebody advise
Thanks everybody for all the answers and explanations.
In the end maybe it is simpler if I use sets for these tests.
Thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
Robert P. J. Day, 15.11.2009 15:44:
On Sun, 15 Nov 2009, mrholtsr wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the internet
on
I don't think Python and Go address the same set of programmer
desires. For example, Go has a static type system. Some programmers
find static type systems to be useless or undesirable. Others find
them extremely helpful and want to use them them. If you're a
programmer who wants a
Read the OP. No, read it again.
sturlamolden wrote:
On 16 Nov, 11:39, sturlamolden sturlamol...@yahoo.no wrote:
If you are fine with Microsoft only, you can use Windows Forms with MS
Visual Studio and IronPython.
I also forgot to mention:
If you can restrict yourself to Windows, you can
Hi
I'm little confused about adding attributes to the root node when
creating an XML document.
Can I do this using minidom or something else.
I can't find anything that would fit my needs.
i would like to have something like this:
?xml ... ?
root a=v b=v2 c=v3
d ... /d
/root
Please
On Tue, Nov 17, 2009 at 10:48 PM, Aaron Watters aaron.watt...@gmail.com wrote:
I don't think Python and Go address the same set of programmer
desires. For example, Go has a static type system. Some programmers
find static type systems to be useless or undesirable. Others find
them
Diez B. Roggisch wrote:
div class=moz-text-flowed style=font-family: -moz-fixedGlenn
Maynard schrieb:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
Stefan Behnel wrote:
Robert P. J. Day, 15.11.2009 15:44:
On Sun, 15 Nov 2009, mrholtsr wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the
Slafs, 17.11.2009 15:19:
I'm little confused about adding attributes to the root node when
creating an XML document.
Can I do this using minidom or something else.
Yes, you /can/, but you /should/ use something else.
I can't find anything that would fit my needs.
i would like to have
---
The information contained in this electronic message and any attached
document(s) is intended only for the personal and confidential use of the
designated recipients named above. This message may be confidential. If the
reader of this message is not the
On Nov 17, 7:18 am, Psi kev0...@gmail.com wrote:
as the subject says,
any books?
This is one of the good books available on the internet...
http://diveintopython.org/
I myself liked this book very much (to start with).
Also, on the website, on the right-hand-side it mentions about other
books.
Hello,
I am hoping for a little help. I have been playing with the python
ast module and have run into
an issue that I need a little push on. I would like to be able to
change a specific element in a
specific node in an ast then compile the resulting ast. Consider the
simplified example below
Steve Howell wrote:
...
Eventually, I realized that it was easier to just monkeypatch Django
while I was in test mode to get a more direct hook into the behavior I
was trying to monitor, and then I didn't need to bother with
overriding __getitem__ or creating complicated wrapper objects
Virgil Stokes wrote:
div class=moz-text-flowed style=font-family: -moz-fixedIf one
goes to the following URL:
http://www.nordea.se/Privat/Spara%2boch%2bplacera/Strukturerade%2bprodukter/Aktieobligation%2bNr%2b99%2bEuropa%2bAlfa/973822.html
it contains a link (click on Current courses NBD
me wrote:
I have looked at the Tk stuff that is built into Python - not
acceptable.
Such insightful analysis, and it is _so_ helpful in stating your needs.
[a lot of guff about unacceptable things]
What Python gui builder is well supported, does not require me to learn
another
On Nov 16, 12:54 pm, Steve Ferg steve.ferg.bitbuc...@gmail.com
wrote:
snip
Does anybody know a language with this kind of syntax for
ifThenElseEndif?
Modern-day COBOL:
IF some-condition
do-something
ELSE
do-something-else
END-IF.
The period is also meaningful as a
On Thu, 12 Nov 2009 21:27:31 +0100, Bruno Desthuilliers wrote:
Congratulations, you just reinvented one of the most infamous source of
bugs in C, C++, Java, PHP, javascript and quite a few other languages.
Believe it or not, but not allowing this in Python was a very deliberate
design choice.
I'm seeing an anomaly in the python time function on March 9, 2008
(the spring foward time):
time.mktime((2008, 3, 9, 2, 59, 59, 0, 0, -1))
1205049599.0
time.mktime((2008, 3, 9, 3, 0, 0, 0, 0, -1))
1205046000.0
Does anyone have an idea as to what might cause a 4000 seconds
backwards jump on
2009/11/15 mrholtsr mrhol...@gmail.com:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the internet
on Introduction to Computer Science and
Glenn Maynard wrote:
I want to do something fairly simple: read files from one ZIP and add
them to another, so I can remove and replace files. This led me to a
couple things that seem to be missing from the API.
zip.write() only takes the filename and
compression method, not a ZipInfo;
And I can't do arithmetic, it is actually about 3600--never mind!
On Nov 17, 10:37 am, Lee Merrill lee_merr...@yahoo.com wrote:
I'm seeing an anomaly in the python time function on March 9, 2008
(the spring foward time):
time.mktime((2008, 3, 9, 2, 59, 59, 0, 0, -1))
1205049599.0
On 17 Nov, 14:48, Aaron Watters aaron.watt...@gmail.com wrote:
... and I still have an issue with the whole Python is slow
meme. The reason NASA doesn't build a faster Python is because
Python *when augmented with FORTRAN libraries that have been
tested and optimized for decades and are
Eden Kirin wrote:
Hi there,
I'm playing with SCGIServer
(http://vmlinux.org/cgi-bin/dwww/usr/share/doc/python-scgi/guide.html),
everything works just fine, but one thing bothers me. All prints after
try-except block are executed twice after the Ctrl+C is pressed!
test.py:
On Nov 17, 7:11 am, Scott David Daniels scott.dani...@acm.org wrote:
Steve Howell wrote:
...
Eventually, I realized that it was easier to just monkeypatch Django
while I was in test mode to get a more direct hook into the behavior I
was trying to monitor, and then I didn't need to bother
Chris Withers ch...@simplistix.co.uk wrote in message
news:4b028ac1.8020...@simplistix.co.uk...
Cannonbiker wrote:
Hi,
unfortunately is my question about server COM (win32com)
http://groups.google.com/group/comp.lang.python/browse_thread/thread/ee804cec7f58c6a7#
without answer.
Please I need
mrholtsr wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the internet
on Introduction to Computer Science and Programming. Thanks, Ray
When
Diez B. Roggisch wrote:
Is there some reasonable explanation for this behaviour? Thanks in
advance.
I can only guess that SCGIServer does something to stdout. Your code isn't
executed twice, so the doubling seems to come from writing it twice.
Yes I know that code isn't executed twice since
Perhaps OT, but I figure here is where people have seen this commonly.
I upgraded Python from my distro's default of 2.5.2 to 2.6.2. Vim is now
complaining every startup about missing exec libraries, presumably as
some plugins run some python code on initialisation. I'm guessing vim is
On Nov 17, 4:27 am, Martin P. Hellwig martin.hell...@dcuktec.org
wrote:
Ben Finney wrote:
Chris Rebert c...@rebertia.com writes:
2009/11/16 Yasser Almeida Hernández pedro...@fenhi.uh.cu:
How is the sintaxis for set the TODO and FIXME tags...?
There is no special syntax for those. Some
Mark Tolonen wrote:
Please I need Calling Python functions from Excel and receive result
back in Excel. Can me somebody advise simplest solution please? I am
more VBA programmer than Python.
Try http://code.google.com/p/pyinex/
The book Python: Programming on Win32 has a whole chapter on
sturlamolden schrieb:
On 14 Nov, 15:35, Dietmar Schwertberger n...@schwertberger.de wrote:
self.m_toolBar1 = self.CreateToolBar( wx.TB_HORIZONTAL, wx.ID_ANY )
self.m_button1 = wx.Button( self.m_toolBar1, wx.ID_ANY, uMyButton,
wx.DefaultPosition, wx.DefaultSize, 0 )
Language L is (in)efficient. No! Only implementations are (in)efficient
I am reminded of a personal anecdote. It happened about 20 years ago
but is still fresh and this thread reminds me of it.
I was attending some workshop on theoretical computer science.
I gave a talk on Haskell.
I showed
David Cournapeau courn...@gmail.com writes:
On Tue, Nov 17, 2009 at 10:48 PM, Aaron Watters aaron.watt...@gmail.com
wrote:
I don't think Python and Go address the same set of programmer
desires. For example, Go has a static type system. Some programmers
find static type systems to be
On 15 Nov, 05:41, r rt8...@gmail.com wrote:
On Nov 14, 6:21 pm, James Harris james.harri...@googlemail.com
wrote:
Is there a simple way to play musical notes in Python? Something like
voice.play(c4)
Uhh, tksnack is pretty easy to use IMO, see this link...
Hi
A big thanks to Armin Ronacher and Raymond Hettinger for
PEP 372: Adding an ordered dictionary to collections
I'm using ConfigParser and I just assumed that the options in a section
were returned in the order they were given. In fact, I relied on this fact.
I wanted to use PyWiiUse, but, well, it sucks
Then I thought; it can't be THAT hard, can it? So I began porting WiiUse to
Python using ctypes, but apparently, I did something wrong.
poll() gives back an event, *but* (there's always a but) the event doesn't
register. Or... Well... See for
Stefan Behnel wrote:
Robert P. J. Day, 15.11.2009 15:44:
On Sun, 15 Nov 2009, mrholtsr wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the
Jonathan Saxton wrote:
On Thu, 12 Nov 2009 21:27:31 +0100, Bruno Desthuilliers wrote:
Congratulations, you just reinvented one of the most infamous
source of bugs in C, C++, Java, PHP, javascript and quite a few
other languages. Believe it or not, but not allowing this in
Python was a very
Eden Kirin wrote:
Diez B. Roggisch wrote:
Is there some reasonable explanation for this behaviour? Thanks in
advance.
I can only guess that SCGIServer does something to stdout. Your code
isn't executed twice, so the doubling seems to come from writing it
twice.
Yes I know that code
On Nov 16, 11:54 am, Steve Ferg steve.ferg.bitbuc...@gmail.com
wrote:
This is a question for the language mavens that I know hang out here.
It is not Python related, except that recent comparisons of Python to
Google's new Go language brought it to mind.
NOTE that this is *not* a suggestion
On Tue, Nov 17, 2009 at 9:27 AM, Diez B. Roggisch de...@nospam.web.de wrote:
Stefan Behnel wrote:
Robert P. J. Day, 15.11.2009 15:44:
Now, all that's left to do is write a prime number generator (a random
number generator will do, too, but writing a good one isn't easy), run it
repeatedly in
At least with Gentoo, there's a command to recompile all of the plugins
you have installed when upgrading python versions.
Your issue is probably related to that. I don't think VIM uses hardcoded
locations for scripts at the core.
If you have any specific questions about the errors you're
Greetings,
I'm writing a python script to automate creating ODBC connections on a
Windows2008 Server (64bit) platform. I created an ODBC manually (using the
GUI), for the purposes of fleshing out the 'check for existing' section of
the script.
Problem: though I can see the key in regedit
From _winreg.c:
Disables registry reflection for 32-bit processes running on a 64-bit
OperatingSystem. Will generally raise NotImplemented if executed on a 32-bit
Operating System. If the key is not on the reflection list, the function
succeeds but has noeffect. Disabling reflection for a key
Andreas Löscher wrote:
Hi,
I am not sure if this is the right newsgroup, so if not don't hesitate
to tell me.
Since there is no CPython internals list, this is the right place to
start, even though you might end up having to post a slightly off-topic
query to python-devel just to get the
Announcing Urwid 0.9.9
--
Urwid home page:
http://excess.org/urwid/
Updated screen shots:
http://excess.org/urwid/examples.html
Tarball:
http://excess.org/urwid/urwid-0.9.9.tar.gz
RSS:
http://excess.org/feeds/tag/urwid/
About this release:
===
All -
I'm working on a program that loads a series of web pages so the
user can view them quickly one after another. I'm using python and
wxhtmlwindow, and the page loading is really slow. Is there a simple
way to load up the next few pages in the queue while the user is
looking at the current
On Nov 17, 9:28 am, Jonathan Saxton jsax...@appsecinc.com wrote:
And if I ever find the genius who had the brilliant idea of using = to mean
assignment then I have a particularly nasty dungeon reserved just for him.
Also a foul-smelling leech-infested swamp for those language designers and
On 16 Nov, 10:06, me not_h...@nowhere.com wrote:
What Python gui builder is well supported, does not require me
to learn another framework/library, and can crank out stuff for
multiple platforms ?
You're looking for a framework/library that doesn't require you to
learn it. OK
I've had
On Nov 14, 12:53 am, Zvezdan Petkovic zvez...@zope.com wrote:
On Nov 13, 2009, at 3:58 PM, chris grebeldinger wrote:
Hi All,
I've been having some trouble getting ax86_64/i386 universal
readline.so to build against libedit, on MacOS 10.5.6 as Apple does.
Does anyone have any pointers
On Nov 17, 12:20 pm, Simon Hibbs simon.hi...@gmail.com wrote:
I wouldn't completely dismiss Tkinter. It's too simple for complex
GUIs but I still think it has it's place for basic utilities.
Agreed! Tkinter (besides myself) seems to be the whipping boy of
c.l.py. Tkinter has it's place in
On Nov 16, 5:06 am, me not_h...@nowhere.com wrote:
Good People
I do not write stuff for humans, as it has been my job to remove
humans from the loop. But I have to make a front end to a
component database where everything was built in Python.
I have looked at the Tk stuff that is built into
On Tue, 17 Nov 2009 17:31:18 +, MRAB wrote:
And if I ever find the genius who had the brilliant idea of using =
to mean assignment then I have a particularly nasty dungeon reserved
just for him. Also a foul-smelling leech-infested swamp for those
language designers and compiler writers
On Mon, 16 Nov 2009 14:19:16 -0800, hong zhang wrote:
print f, mcs
This assigns decimal value, how can I assign Hex here to mcs?
print f, %x % mcs
--
http://mail.python.org/mailman/listinfo/python-list
I don't believe so, but it seems like I'm in a catch 22, where I need to
_winreg.OpenKey the key first before I can pass it to
_winreg.DisableReflectionKey, but it doesn't exist, so I can't open it.
I did find out that I can open the key using:
hKey = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE,
On Mon, 16 Nov 2009 23:30:09 +, Rhodri James wrote:
Quote the filenames or escape the spaces:
C:\Python26\Python.exe C:\echo.py C:\New Folder\text.txt
We've been living with this pain ever since windowed GUIs encouraged users
to put spaces in their file names (Apple, I'm looking at
Along the COBOl line is ABAP, the 4gl language from SAP.
If today = 'Mon'.
message 'oh boy'.
elseif today = 'Wed'.
message 'Hump day'.
elseif today = 'Fri'.
message 'TGIF'.
else.
message 'get to work'.
endif.
The period is the statement teminator. Indentation and separte lines
are just
On Nov 17, 7:28 am, Jonathan Saxton jsax...@appsecinc.com wrote:
On Thu, 12 Nov 2009 21:27:31 +0100, Bruno Desthuilliers wrote:
Congratulations, you just reinvented one of the most infamous source of
bugs in C, C++, Java, PHP, javascript and quite a few other languages.
Believe it or not,
On Nov 17, 2:26 pm, Nobody nob...@nowhere.com wrote:
On Mon, 16 Nov 2009 23:30:09 +, Rhodri James wrote:
Quote the filenames or escape the spaces:
C:\Python26\Python.exe C:\echo.py C:\New Folder\text.txt
We've been living with this pain ever since windowed GUIs encouraged users
to
In article aecf2132-05a9-4144-81a8-952bb435e...@a32g2000yqm.googlegroups.com,
mrholtsr mrhol...@gmail.com wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am
Announcing Urwid 0.9.9
--
Urwid home page:
http://excess.org/urwid/
Updated screen shots:
http://excess.org/urwid/examples.html
Tarball:
http://excess.org/urwid/urwid-0.9.9.tar.gz
RSS:
http://excess.org/feeds/tag/urwid/
About this release:
===
Announcing Urwid 0.9.9
--
Urwid home page:
http://excess.org/urwid/
Updated screen shots:
http://excess.org/urwid/examples.html
Tarball:
http://excess.org/urwid/urwid-0.9.9.tar.gz
RSS:
http://excess.org/feeds/tag/urwid/
About this release:
===
On Sun, 15 Nov 2009, mrholtsr wrote:
I am absolutely new to python and barely past beginner in programming.
Also I am not a mathematician. Can some one give me pointers for
finding the 1000th. prime for a course I am taking over the internet
on Introduction to Computer Science and
There are some assertion code (testing if a condition is false, if it
is false, raise an Error object) in my python, which is useful when I
test my package. But such case would never occur when in the produce
code. If I keep them in if statement, it will take some runtime. I'm
wondering what is
On Nov 16, 5:06 am, me not_h...@nowhere.com wrote:
Good People
I do not write stuff for humans, as it has been my job to remove
humans from the loop. But I have to make a front end to a
component database where everything was built in Python.
I have looked at the Tk stuff that is built into
Scott David Daniels scott.dani...@acm.org writes:
Well, let's see. You want to do gui work without learning things. Good
luck with that. If you discover how, I'd like to learn tensor analysis
without using symbols or operations more complex than addition and
subtraction. Maybe your groundwork
Simon Hibbs wrote:
On 16 Nov, 10:06, me not_h...@nowhere.com wrote:
What Python gui builder is well supported, does not require me
to learn another framework/library, and can crank out stuff for
multiple platforms ?
You're looking for a framework/library that doesn't require you to
learn
On Tue, Nov 17, 2009 at 4:19 PM, Peng Yu pengyu...@gmail.com wrote:
There are some assertion code (testing if a condition is false, if it
is false, raise an Error object) in my python, which is useful when I
test my package. But such case would never occur when in the produce
code. If I keep
On Tue, 17 Nov 2009 11:47:46 -0800, Gerry wrote:
How about this:
lastarg = .join(sys.argv[2:])
What about it?
IOW, why would you want to do that?
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Please help with this code suggested in the beautifulsoup group
http://groups.google.com/group/beautifulsoup/browse_frm/thread/d288555c6992ceaa
from BeautifulSoup import BeautifulSoup
soup = BeautifulSoup (file(test.html).read())
title = soup.find('title')
titleString = title.string
On Wed, Nov 18, 2009 at 5:48 AM, Paul Rubin
http://phr...@nospam.invalid wrote:
What about Git? Some people prefer it.
Git is an interesting example, because it both really pushes
performance into its core structure and reasonably complete
implementations exist in other languages. In
Tsize wrote:
Hello,
I am hoping for a little help. I have been playing with the python
ast module and have run into
an issue that I need a little push on. I would like to be able to
change a specific element in a
specific node in an ast then compile the resulting ast.
If you can identify
NickC wrote:
Perhaps OT, but I figure here is where people have seen this commonly.
I upgraded Python from my distro's default of 2.5.2 to 2.6.2. Vim is now
complaining every startup about missing exec libraries, presumably as
some plugins run some python code on initialisation. I'm
Hi All,
Pydev 1.5.1 has been released
Details on Pydev: http://pydev.org
Details on its development: http://pydev.blogspot.com
Release Highlights:
---
* Improvements in the AST rewriter
* Improvements on the refactoring engine:
o No longer using BRM
o
r wrote:
I really like this!
But after looking over your pyGUI it does seem that Tkinter has a
richer widget set.
PyGUI is a work in progress. I plan to add more widgets,
but it will take a while to catch up with what's available
in Tkinter and other GUI toolkits.
I tend to add widgets as
On 11/16/09, Ian Ward i...@excess.org wrote:
Announcing Urwid 0.9.9
--
Urwid home page:
http://excess.org/urwid/
Updated screen shots:
http://excess.org/urwid/examples.html
How did you make the html 'screenshots'? I guess you have some kind of
urwid2html tool or
David Cournapeau wrote:
It is a bit odd to dismiss python is slow by saying that you can
extend it with fortran. One of the most significant point of python
IMO is its readability, even for people not familiar with it, and
that's important when doing scientific work. Relying on a lot of
1 - 100 of 210 matches
Mail list logo