473,554 Members | 3,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Forum

Python programming language - Ask questions about python interpreter, control flow, data structures, modules errors, classes, standard library, gui, databases, unit testing, object oriented, structured programming and more.
0
163
thread by: Jerry Hill | last post Aug 11 '08 by: Jerry Hill
On Mon, Aug 11, 2008 at 9:15 AM, <anartz@anartz.cjb.netwrote: A StringIO object works a lot like a file. When you write to it, it keeps track of the current position in the file. When you read from it, it reads from the current position to the end of the file. Once you're done writing to the StringIO object, you can rewind the position...
0
163
thread by: aassime abdellatif | last post Aug 21 '08 by: aassime abdellatif
Question: How to obtain success and prosperity in this world and hereafter? What kind of success or prosperity that Islam wants the Ummah Islam gain in this world? Answer: Praise be to Allah.
0
163
thread by: Luke Hamilton | last post Sep 10 '08 by: Luke Hamilton
It was actually meant to be a pretty general question. I was really trying to get a feel for what was out there, so I can then to start to have a look at there capabilities. And unfortunately Google hasn't been much help...
0
163
thread by: D'Arcy J.M. Cain | last post Sep 10 '08 by: D'Arcy J.M. Cain
On Wed, 10 Sep 2008 18:25:19 +0200 Python <python@rgbaz.euwrote: Send the same thing. 'b1946ac92492d2347c6235b4d2611184' -- D'Arcy J.M. Cain <darcy@druid.net | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on
0
163
thread by: Steve Holden | last post Oct 29 '08 by: Steve Holden
甜瓜 wrote: If you are using wxPython then you should probably see whether a wxTimer would meet your needs. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/
0
163
thread by: Terry Reedy | last post Oct 30 '08 by: Terry Reedy
dudeja.rajat@gmail.com wrote: Ugh ;-) I have the impression that SWIG has multiple backends for different languages. There is one for automating much of the work of producing an extension module. I presume there could be one, if not already, that produced Python/cytpe code instead of C code. That would be a nice
3
162
thread by: Jürgen Exner | last post Jun 27 '08 by: George Neuner
"xahlee@gmail.com" <xahlee@gmail.comwrote: Is this self-promoting maniac still going at it? Then why on earth do you bother polluting this NG? Back into the killfile you go jue
0
162
thread by: J. Cliff Dyer | last post Jun 27 '08 by: J. Cliff Dyer
On Wed, 2008-05-28 at 09:31 -0400, Alok Kumar wrote: He meant to say class Event(object): Always subclass object, unless you have a very compelling reason not to, or you are subclassing something else.
0
162
thread by: TYR | last post Jun 27 '08 by: TYR
On Jun 20, 3:35*pm, Paul McGuire <pt...@austin.rr.comwrote: Thank you very much. This pyparsing module looks damned useful.
0
162
thread by: Fredrik Lundh | last post Jul 16 '08 by: Fredrik Lundh
Alexnb wrote: footnote: here's a better way to test if an exception was raised or not: try: ... except HTTPError, e: print e.code
0
162
thread by: Fredrik Lundh | last post Jul 17 '08 by: Fredrik Lundh
they have an official API, you know: and yes, there are other options too, including pYsearch which is available from their developer network: http://developer.yahoo.com/python/python-pysearch.html for more Python stuff from/for Yahoo, see the Yahoo Python Developer Center: http://developer.yahoo.com/python/
0
162
thread by: Terry Reedy | last post Jul 24 '08 by: Terry Reedy
norseman wrote:
0
162
thread by: Ken Starks | last post Aug 24 '08 by: Ken Starks
tom wrote: For a review of a really nice looking wrapper around lots of open-source mathematical tools, look here: http://vnoel.wordpress.com/2008/05/03/bye-matlab-hello-python-thanks-sage/ it is called SAGE and includes both of the above and lots more goodies.
0
162
thread by: Support Desk | last post Aug 26 '08 by: Support Desk
Sincerely, Michael H. -----Original Message----- From: Kevin McKinley Sent: Tuesday, August 26, 2008 4:37 PM To: python-list@python.org Subject: Adding Icons to my Programs
2
162
thread by: Terry Reedy | last post Aug 29 '08 by: John Machin
SUBHABRATA, I recommend you study this excellent response carefully. castironpi wrote: It starts with a concrete test case -- an 'executable problem statement'. To me, this is cleared and more useful than the 20 lines of prose you used. A single line English statement would be "Problem: Replace selected words in a text using a...
0
162
thread by: Gabriel Genellina | last post Sep 13 '08 by: Gabriel Genellina
En Fri, 12 Sep 2008 17:02:44 -0300, Blubaugh, David A. <dblubaugh@belcan.comescribió: Try asking Guido for his time machine. 1.1.1 is the latest release. -- Gabriel Genellina
0
162
thread by: Terry Reedy | last post Sep 22 '08 by: Terry Reedy
josh logan wrote: Here is a minimal example showing the problematic behavior. class Int(): def __init__(self, i): self.i = i def __cmp__(self, other): return cmp(self.i, other.i)
0
162
thread by: Chris Rebert | last post Sep 26 '08 by: Chris Rebert
On Thu, Sep 25, 2008 at 8:57 PM, David Di Biase <dave.dibiase@gmail.comwrote: A. You should probably be using objects rather than arrays to represent your datapoints, so that they're more structured and it's more apparent what the values mean. B. Assuming by "distance" you meant "difference" and/or that the distance is only in 1...
0
162
thread by: Aaron \Castironpi\ Brady | last post Oct 16 '08 by: Aaron \Castironpi\ Brady
On Oct 15, 1:07*pm, Stef Mientki <stef.mien...@gmail.comwrote: snip I think the editors you see are too high-contrast in their color scheme. I look at PyCrust, etc., and NetBeans Java. The bold, plus italics, plus color, is too much. I know it's exciting to be recognizing patterns and changing fonts, but they overdo it, at least in...
0
161
thread by: Chris Ortner | last post Jun 27 '08 by: Chris Ortner
On Apr 26, 9:36 pm, bvidinli <bvidi...@gmail.comwrote: Give the web application framework Django a try. Greetings, Chris
0
161
thread by: Zethex | last post Jun 27 '08 by: Zethex
Thank you for the help so far. Another quick question, how can I remove the special characters such as ! and ?. I also need to lowercase the words so should i use sentence = sentence.lower() ? Thank you --
0
161
thread by: Jeff | last post Jun 27 '08 by: Jeff
Look at the pickle and marshal modules.
0
161
thread by: Diez B. Roggisch | last post Jun 27 '08 by: Diez B. Roggisch
Lance Gamet schrieb: I'd go for .file in ConfigParser-format that resides in the users home-directory. ConfigParser is a standard lib module for .ini-like files. Diez
1
161
thread by: David | last post Jun 27 '08 by: David
It's too long to post here (160 lines) so here's the link: Neither link works for me. I get an error page "Error: invalid download linnk". How about you send it to the list as an attachment? David.
0
161
thread by: Stef Mientki | last post Jun 27 '08 by: Stef Mientki
thanks guys, I'll take a look at your suggestions. cheers, Stef M.-A. Lemburg wrote:

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.