In message roy-8a46b6.07250924072...@news.panix.com, Roy Smith wrote:
Consider, for example, a write on a TCP connection. You are sitting in
a select(), when the other side closes the connection. The select()
should return, and the write should then immediately fail.
Remember that select
In message i2gujh$sl...@news.eternal-september.org, francogrex wrote:
By the way Peter Norvig is not biased, he works for Google research and is
a supporter of programming in any language, especially in Python.
Bias doesn’t have to be a conscious thing.
--
Peng Yu a écrit :
Hi
I'm still kind of confused about the terminology on classes in python.
Could you please let me know what the equivalent terms for the
following C++ terms?
C++ and Python having very different semantics and object models,
there's not necessarily a straight one to one
Ethan Furman a écrit :
Bruno Desthuilliers wrote:
Duncan Booth a écrit :
(snip)
Or you could create the default as a class attribute
from the OP:
I have a class (FuncDesigner oofun) that has no attribute size, but
it is overloaded in __getattr__, so if someone invokes
myObject.size, it is
Bruno Desthuilliers a écrit :
Ethan Furman a écrit :
Bruno Desthuilliers wrote:
Duncan Booth a écrit :
(snip)
Or you could create the default as a class attribute
from the OP:
I have a class (FuncDesigner oofun) that has no attribute size, but
it is overloaded in __getattr__, so if
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
designed for copy-paste functionality (you spot a piece of code you
like on the net, copy it, and paste it into the program), not really
for
rlevesque wrote:
On Jul 24, 1:34 pm, Peter Otten __pete...@web.de wrote:
rlevesque wrote:
Unfortunately there is an other pair of values that does not match and
it is not obvious to me how to exclude it (as is done with the /
CreationDate pair).
and the pdf document is created using
On Jul 22, 12:56 pm, Thomas Jollans tho...@jollans.com wrote:
On 07/21/2010 03:38 PM, kak...@gmail.com wrote:
On Jul 21, 9:04 am, kak...@gmail.com kak...@gmail.com wrote:
On Jul 21, 8:58 am, Stefan Behnel stefan...@behnel.de wrote:
kak...@gmail.com, 21.07.2010 14:36:
From the subject
Hello,
I receive the following different Xml Messages from a socket:
p_control_message serverIP=server-2 xmlns=http://test.com/pt;
cmdReply
sessionList
session
id5a62ded/id
subscriberId101/subscriberId
subscriberNameAngie/subscriberName
On Mon, 26 Jul 2010 21:42:24 -0500, Tim Chase wrote:
Please! Never export anything from your .bashrc unless you
really know what you're doing. Almost all exports should be
done in your .bash_profile
Could you elaborate on your reasoning why (or why-not)? I've
found that my .bash_profile
On 27 Lug, 10:23, Peter Otten __pete...@web.de wrote:
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
designed for copy-paste functionality (you spot a piece of code you
like on the net,
kak...@gmail.com, 27.07.2010 12:17:
I receive the following different Xml Messages from a socket:
From a bare socket? TCP? UDP? Or what else?
Which is the best way to make a distinction between them so that every
time my app receives the one or the other, parse them correctly?
Use an
On Wed, Jul 21, 2010 at 8:17 AM, John Nagle na...@animats.com wrote:
On 7/19/2010 9:56 AM, dhruvbird wrote:
On Jul 19, 9:12 pm, Brian Victorhomeusen...@brianhv.org wrote:
dhruvbird wrote:
Having offered this, I don't recall ever seeing reduce used in real
python code, and explicit
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners. i have bought a
book for $2 called learn to program using python by alan gauld.
starting to read it but it was written in 2001. presuming that the
commands and info would
geremy condra, 27.07.2010 12:54:
On Wed, Jul 21, 2010 at 8:17 AM, John Nagle wrote:
On 7/19/2010 9:56 AM, dhruvbird wrote:
On Jul 19, 9:12 pm, Brian Victor wrote:
dhruvbird wrote:
Having offered this, I don't recall ever seeing reduce used in real
python code, and explicit iteration is
On Jul 27, 9:07 pm, whitey m...@here.com wrote:
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners. i have bought a
book for $2 called learn to program using python by alan gauld.
starting to read it but it was written in
In article mailman.1193.1280198148.1673.python-l...@python.org,
Stephen Hansen me+list/pyt...@ixokai.io wrote:
PEP8 is a style guide. Parts of style guides are rational judgements and
decisions based on experience and can certainly be explained or
justified, but parts are just... personal
..
repeatable,identical PDFs with same timestamp info (for regression testing)
I suggest that you edit that file or add
from reportlab import rl_config
rl_config.invariant = True
to your code.
Peter
WOW!! You are good!
Your suggested solution works perfectly.
Given your expertise
On Jul 27, 6:30 am, Stefan Behnel stefan...@behnel.de wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the following different Xml Messages from a socket:
From a bare socket? TCP? UDP? Or what else?
Which is the best way to make a distinction between them so that every
time my app
mo reina wrote:
On 27 Lug, 10:23, Peter Otten __pete...@web.de wrote:
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
designed for copy-paste functionality (you spot a piece of code you
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the following different Xml Messages from a socket:
From a bare socket? TCP? UDP? Or what else?
Which is the best way to make a distinction between them so that
On Jul 27, 8:14 am, Stefan Behnel stefan...@behnel.de wrote:
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the following different Xml Messages from a socket:
From a bare socket? TCP? UDP? Or what else?
kak...@gmail.com, 27.07.2010 14:26:
On Jul 27, 8:14 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the following different Xml Messages from a socket:
From a bare socket? TCP? UDP?
On Jul 27, 8:41 am, Stefan Behnel stefan...@behnel.de wrote:
kak...@gmail.com, 27.07.2010 14:26:
On Jul 27, 8:14 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the following
Hi folks,
If I'm only interested in linux and windows I know I can do
import os
import platform
if platform.system( ) == 'Linux':
clear = 'clear'
else:
clear = 'cls'
os.system( clear )
or something equivalent using
kak...@gmail.com, 27.07.2010 14:43:
On Jul 27, 8:41 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 14:26:
On Jul 27, 8:14 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 12:17:
I receive the
On Jul 27, 9:06 am, Stefan Behnel stefan...@behnel.de wrote:
kak...@gmail.com, 27.07.2010 14:43:
On Jul 27, 8:41 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 14:26:
On Jul 27, 8:14 am, Stefan Behnel wrote:
kak...@gmail.com, 27.07.2010 13:58:
On Jul 27, 6:30 am, Stefan
whitey wrote:
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners. i have bought a
book for $2 called learn to program using python by alan gauld.
starting to read it but it was written in 2001. presuming that the
commands
On 19 Jul, 13:18, dhruvbird dhruvb...@gmail.com wrote:
Hello,
I have a list of integers: x = [ 0, 1, 2, 1, 1, 0, 0, 2, 3 ]
And would like to compute the cumulative sum of all the integers
from index zero into another array. So for the array above, I should
get: [ 0, 1, 3, 4, 5, 5, 5, 7,
I am trying to read an xml using minidom from python library xml.dom
This is the xml file:
-
rm_structure
resources
resource
AB
Capacity100/Capacity
NumberVirtualClasses
2
I am running urllib2.request and get this response when I do the read.
Any ideas what causes this?
return response.read()
File C:\Python26\lib\socket.py, line 329, in read
data = self._sock.recv(rbufsize)
File C:\Python26\lib\httplib.py, line 518, in read
return
Daniel Fetchinson a écrit :
Hi folks,
If I'm only interested in linux and windows I know I can do
import os
import platform
if platform.system( ) == 'Linux':
clear = 'clear'
else:
clear = 'cls'
os.system( clear )
or
Can I check in the interpreter if I am running a debug version of
python? I don't mean if __debug__ is set, I want to know if python was
compiled in debug mode.
Thanks,
John.
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-07-27, gerardob gberbeg...@gmail.com wrote:
I am trying to read an xml using minidom from python library xml.dom
This is the xml file:
-
rm_structure
resources
resource
AB
Capacity100/Capacity
Can I check in the interpreter if I am running a debug version of
python? I don't mean if __debug__ is set, I want to know if python was
compiled in debug mode.
Python has multiple flavors of debug builds. hasattr(sys,
gettotalrefcount) is only available if Py_REF_DEBUG is enabled. This
gerardob gberbeg...@gmail.com wrote in message
news:29276755.p...@talk.nabble.com...
I am trying to read an xml using minidom from python library xml.dom
This is the xml file:
-
rm_structure
resources
resource
AB
Capacity100/Capacity
NumberVirtualClasses
2
What is the best practice way to open files in Python 2.6+
It looks like there are at least 3 different ways to open files:
- built-in open()
- io.open()
- codecs.open()
It seems like io.open() combines the best of the built-in open()
and the codecs open(). Am I missing any obvious drawbacks to
On 2010-07-27, Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid
wrote:
Daniel Fetchinson a ?crit :
Hi folks,
If I'm only interested in linux and windows I know I can do
import os
import platform
if platform.system( ) == 'Linux':
Windows: How can I detect whether a Python app/script is running
in console/GUI mode? By app I mean a script compiled to an exe
via py2exe or similar.
Thank you,
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jul 27, 2010 at 09:06, John Reid j.r...@mail.cryst.bbk.ac.ukwrote:
Can I check in the interpreter if I am running a debug version of python? I
don't mean if __debug__ is set, I want to know if python was compiled in
debug mode.
Thanks,
John.
Starting with Python 2.7 and 3.2 you
Grant Edwards a écrit :
On 2010-07-27, Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid
wrote:
Daniel Fetchinson a ?crit :
(snip)
Why was clearing a terminal left out?
What you're talking about is a shell, not a terminal (a terminal is a
physical device).
No, what he's
On Tue, 27 Jul 2010 16:02:23 +0200, Bruno Desthuilliers
bruno.42.desthuilli...@websiteburo.invalid wrote:
Daniel Fetchinson a écrit :
Hi folks,
If I'm only interested in linux and windows I know I can do
import os
import platform
if platform.system( )
On Jul 27, 2:06 pm, Peter Otten __pete...@web.de wrote:
mo reina wrote:
On 27 Lug, 10:23, Peter Otten __pete...@web.de wrote:
mo reina wrote:
i've written a tool in python where you enter a title, content, then
tags, and the entry is then saved in a pickle file. it was mainly
On Tue, Jul 27, 2010 at 09:33, pyt...@bdurham.com wrote:
What is the best practice way to open files in Python 2.6+
It looks like there are at least 3 different ways to open files:
- built-in open()
- io.open()
- codecs.open()
It seems like io.open() combines the best of the built-in
On Tue, 27 Jul 2010 10:33:06 -0400
pyt...@bdurham.com wrote:
What is the best practice way to open files in Python 2.6+
It looks like there are at least 3 different ways to open files:
- built-in open()
- io.open()
- codecs.open()
It seems like io.open() combines the best of the built-in
On Tue, Jul 27, 2010 at 09:36, pyt...@bdurham.com wrote:
Windows: How can I detect whether a Python app/script is running in
console/GUI mode? By app I mean a script compiled to an exe via py2exe or
similar.
Thank you,
Malcolm
I don't remember much about py2exe, but you could check if
Brian,
As an FYI, the builtin open() uses io.open() on at least 3.1
(maybe also 3.0, don't know). I don't know your use cases or
what you get or don't get from any of those options, but the
future is io.open.
io.open is open
True
Under Python 2.6.4 (Windows), io.open is open returns False.
On Tue, Jul 27, 2010 at 09:59, pyt...@bdurham.com wrote:
Brian,
Under Python 2.6.4 (Windows), io.open is open returns False. Retrieving
help() on io.open and open() reinforces that these are 2 different
implementations of open.
My use case is reading and writing UTF-8 text files with
Starting with Python 2.7 and 3.2 you can do this:
sysconfig.get_config_var(Py_DEBUG)
1
(returns None if the var doesn't exist)
IIRC sysconfig.get_config_var() still depends on parsing the pyconfig.h
file. This won't work on Windows because we are using project and config
settings of
I want to quickly bzip2 compress several hundred gigabytes of data
using my 8 core , 16 GB ram workstation.
Currently I am using a simple python script to compress a whole
directory tree using bzip2 and a system call coupled to an os.walk
call.
I see that the bzip2 only uses a single cpu while
On 27/07/2010 15:58, Brian Curtin wrote:
On Tue, Jul 27, 2010 at 09:36,pyt...@bdurham.com wrote:
Windows: How can I detect whether a Python app/script is running in
console/GUI mode? By app I mean a script compiled to an exe via py2exe or
similar.
Thank you,
Malcolm
I don't remember much
On 7/27/2010 7:36 AM pyt...@bdurham.com said...
Windows: How can I detect whether a Python app/script is running
in console/GUI mode? By app I mean a script compiled to an exe
via py2exe or similar.
Once you've got an exe, you'll need to know the name you're looking for.
There are several
mo reina urban.yoga.journ...@gmail.com writes:
i mainly did it because i'm always scanning through my pdf files,
books, or the net for some coding example of solution that i'd already
seen before, and it just seemed logical to have something where you
could just put the content in, give it a
Hi,
Check if the webpage you are trying to access is redirecting the page to
some other page?
or the timeout is too less for the request to finish
Thanks,
Nitin
On Tue, Jul 27, 2010 at 7:30 PM, dirknbr dirk...@gmail.com wrote:
I am running urllib2.request and get this response when I do the
Thanks, I don't think it's redirecting, how can I increase the timeout?
On 27 July 2010 16:56, Nitin Pawar nitinpawar...@gmail.com wrote:
Hi,
Check if the webpage you are trying to access is redirecting the page to
some other page?
or the timeout is too less for the request to finish
import socket
# timeout in seconds
timeout = 10
socket.setdefaulttimeout(timeout)
On Tue, Jul 27, 2010 at 10:09 PM, Dirk Nachbar dirk...@gmail.com wrote:
Thanks, I don't think it's redirecting, how can I increase the timeout?
On 27 July 2010 16:56, Nitin Pawar nitinpawar...@gmail.com
Dan:
I am an instructor at Cal State Fullerton, and we are looking for a
few industry leaders that would be willing to server on an advisory
board for a Python programming class series. If you have a minute to
talk or know of someone who is interested, please give me a call.
Thanks
Hi folks,
If I'm only interested in linux and windows I know I can do
import os
import platform
if platform.system( ) == 'Linux':
clear = 'clear'
else:
clear = 'cls'
os.system( clear )
or something
On 7/27/2010 7:44 AM, Bruno Desthuilliers wrote:
Grant Edwards a écrit :
On 2010-07-27, Bruno Desthuilliers
bruno.42.desthuilli...@websiteburo.invalid wrote:
Daniel Fetchinson a ?crit :
(snip)
Why was clearing a terminal left out?
What you're talking about is a shell, not a terminal (a
Bruno Desthuilliers wrote:
Bruno Desthuilliers a écrit :
Ethan Furman a écrit :
Bruno Desthuilliers wrote:
Duncan Booth a écrit :
(snip)
Or you could create the default as a class attribute
from the OP:
I have a class (FuncDesigner oofun) that has no attribute size, but
it is overloaded
On 2010-07-27, Daniel Fetchinson fetchin...@googlemail.com wrote:
After getting the technicalities out of the way, maybe I should have asked:
Is it only me or others would find a platform independent python API
to clear the terminal useful?
I write a lot of command-line programs, and I can't
harijay wrote:
I want to quickly bzip2 compress several hundred gigabytes of data
using my 8 core , 16 GB ram workstation.
Currently I am using a simple python script to compress a whole
directory tree using bzip2 and a system call coupled to an os.walk
call.
I see that the bzip2 only uses a
On 7/27/2010 12:17 AM, Bruno Desthuilliers wrote:
destructor
Python has no real destructor. You can implement a __del__ method that
will _eventually_ be called before the instance gets garbage-collected,
but you'd rather not rely on it. Also, implementing this method will
prevent cycle
Robert Kern wrote:
On 7/26/10 5:16 PM, Michael Hoffman wrote:
I have been using Jason Orendorff's path.py module for a long time. It
is very
useful. The only problem is that Python 2.6 deprecates the md5 module it
imports, so I (and others using my software) now get this warning
whenever they
Hi,
I'm looking for a suitable tutorial for py2app. I googled it but
couldn't find anything.
Can you help me please?
Thanks
Ata
--
http://mail.python.org/mailman/listinfo/python-list
see if this helps
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
On Tue, Jul 27, 2010 at 11:06 PM, ata.jaf a.j.romani...@gmail.com wrote:
Hi,
I'm looking for a suitable tutorial for py2app. I googled it but
couldn't find anything.
Can you help me please?
Thanks
Ata
--
On 7/27/2010 12:58 PM, Daniel Fetchinson wrote:
After getting the technicalities out of the way, maybe I should have asked:
Is it only me or others would find a platform independent python API
to clear the terminal useful?
One problem is, Where would you put it? The OS module is for system
I have a small problem: I can't get pyodbc to connect to a PostgreSQL
database. All it does is spit out a malformed error message. When I run
this:
==
import pyodbc
dsn = pyodbc.dataSources()
print Data sources:%s % dsn
conn =
Thanks a tonne..That code works perfectly and also shows me how to
think of using queue and threads in my python programs
Hari
On Jul 27, 1:26 pm, MRAB pyt...@mrabarnett.plus.com wrote:
harijay wrote:
I want to quickly bzip2 compress several hundred gigabytes of data
using my 8 core , 16 GB
On 7/26/2010 4:19 PM, Justin Smith wrote:
Seeking industry expert candidates
I’m Justin Smith, Director of Tech Recruiting at Express Seattle. I
am currently seeking candidates to fill Tech Positions for multiple A-
List Clients:
Spammer detected.
Injection-Info:
I'm not sure my previous message went through (I wasn't subscribe), so I'm
gonna try again.
The multiprocessing module has 4 methods for sharing data between processes:
Queues
Pipes
Shared Memory Map
Server Process
Which of these use shared memory?
I understand that the 3rd (Shared Memory
Kevin Ar18 wrote:
I'm not sure my previous message went through (I wasn't subscribe), so I'm
gonna try again.
The multiprocessing module has 4 methods for sharing data between processes:
Queues
Pipes
Shared Memory Map
Server Process
Which of these use shared memory?
I understand that the
Just curious if anyone could shed some light on this? I'm using
tkinter, but I can't seem to get certain unicode characters to
show in the label for Python 3.
In my test, the label and button will contain the same 3
characters - a Greek Alpha, a Greek Omega with a circumflex and
soft
John Nagle na...@animats.com writes:
On 7/26/2010 4:19 PM, Justin Smith wrote:
Seeking industry expert candidates
I’m Justin Smith, Director of Tech Recruiting at Express Seattle. I
am currently seeking candidates to fill Tech Positions for multiple A-
List Clients:
Spammer detected.
On Jul 27, 8:36 am, Tim Golden m...@timgolden.me.uk wrote:
On 27/07/2010 15:58, Brian Curtin wrote:
On Tue, Jul 27, 2010 at 09:36,pyt...@bdurham.com wrote:
Windows: How can I detect whether a Python app/script is running in
console/GUI mode? By app I mean a script compiled to an exe via
On 2010-07-27, John Nagle na...@animats.com wrote:
On 7/27/2010 7:44 AM, Bruno Desthuilliers wrote:
Grant Edwards a écrit :
On 2010-07-27, Bruno Desthuilliers
bruno.42.desthuilli...@websiteburo.invalid wrote:
Daniel Fetchinson a ?crit :
(snip)
Why was clearing a terminal left out?
What
In article 20100727204532.r7gmz.27213.r...@cdptpa-web20-z02,
jyoun...@kc.rr.com wrote:
Just curious if anyone could shed some light on this? I'm using
tkinter, but I can't seem to get certain unicode characters to
show in the label for Python 3.
In my test, the label and button will
I created a script to access weather satellite imagery fron NOAA's
ADDS.
It worked fine until recently with Python 2.6.
The company changed the Internet LAN connections to Accept Automatic
settings and Use automatic configuration script
How do you get urllib.urlopen to use the the
On Jul 26, 2010, at 5:19 PM, Ned Deily wrote:
In article i2kok1$kr...@dough.gmane.org,
Christian Heimes li...@cheimes.de wrote:
[Philip Semanchuk wrote:]
Specifically, I'm concerned with binaries created by SWIG for a C++
library that our project uses. We'd like to ship precompiled
On Tue, 27 Jul 2010 11:07:09 GMT, whitey m...@here.com wrote:
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners.
Yes, Python Tutor list is specifically aimed for beginners. You can
access it by subscribing to either
kBob wrote:
I created a script to access weather satellite imagery fron NOAA's
ADDS.
It worked fine until recently with Python 2.6.
The company changed the Internet LAN connections to Accept Automatic
settings and Use automatic configuration script
How do you get urllib.urlopen to use
In article 0a4c9b21-6eff-461a-b15c-415d1408d...@semanchuk.com,
Philip Semanchuk phi...@semanchuk.com wrote:
[...]
Thanks to all who replied on this topic. A little more background --
these binaries are just a convenience for our users and we don't have
to cover every possible permutation
On Jul 27, 4:23 pm, MRAB pyt...@mrabarnett.plus.com wrote:
kBob wrote:
I created a script to access weather satellite imagery fron NOAA's
ADDS.
It worked fine until recently with Python 2.6.
The company changed the Internet LAN connections to Accept Automatic
settings and Use
kBob wrote:
On Jul 27, 4:23 pm, MRAB pyt...@mrabarnett.plus.com wrote:
kBob wrote:
I created a script to access weather satellite imagery fron NOAA's
ADDS.
It worked fine until recently with Python 2.6.
The company changed the Internet LAN connections to Accept Automatic
settings and Use
I am using the following code to hide the console window when launching
a subprocess under Windows.
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = subprocess.SW_HIDE
self.mplayer = Popen(args,
On Tue, Jul 27, 2010 at 4:12 PM, Timothy W. Grove tim_gr...@sil.org wrote:
I am using the following code to hide the console window when launching a
subprocess under Windows.
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
On 07/25/2010 11:02 AM, francogrex wrote:
Terry Reedy wrote:
As other have said, mostly, but I would change the following...
Thanks for all those who replied. I know these are not all the features but
some of them and again this is not a comparison but a little taste of what
python offers
On 7/27/10 4:07 AM, whitey wrote:
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners. i have bought a
book for $2 called learn to program using python by alan gauld.
starting to read it but it was written in 2001. presuming
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/27/2010 04:07 AM, whitey wrote:
hi all. am totally new to python and was wondering if there are any
newsgroups that are there specifically for beginners. i have bought a
book for $2 called learn to program using python by alan gauld.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/26/2010 11:58 PM, Lawrence D'Oliveiro wrote:
In message i2gujh$sl...@news.eternal-september.org, francogrex wrote:
By the way Peter Norvig is not biased, he works for Google research and is
a supporter of programming in any language,
The Miracle and Challenge of the Quran
------
http://www.youtube.com/watch?v=m3A8R...layer_embedded
http://www.youtube.com/watch?v=m3A8R...layer_embedded
I know the library reference webpage for re.MatchObject is at
http://docs.python.org/library/re.html#re.MatchObject
But I don't find such a help page in python help(). Does anybody know
how to get it in help()?
help(re.MatchObject)
Traceback (most recent call last):
File stdin, line 1, in
On 07/26/10 22:42, quoth Tim Chase:
On 07/26/10 21:26, Steven W. Orr wrote:
Please! Never export anything from your .bashrc unless you
really know what you're doing. Almost all exports should be
done in your .bash_profile
Could you elaborate on your reasoning why (or why-not)? I've found
On 7/27/2010 12:30 PM, MRAB wrote:
Kevin Ar18 wrote:
I'm not sure my previous message went through (I wasn't subscribe), so
I'm gonna try again.
The multiprocessing module has 4 methods for sharing data between
processes:
Queues
Pipes
Shared Memory Map
Server Process
Which of these use shared
Greg Brockman g...@ksplice.com added the comment:
You can't have a sensible default timeout, because the worker may be
processing something important...
In my case, the jobs are either functional or idempotent anyway, so aborting
halfway through isn't a problem. In general though, I'm not
Steven Bethard steven.beth...@gmail.com added the comment:
It *would* be a backwards incompatible change. Currently, if I have a parser
with both a --foo and a --bar option, and my user types --foo --bar, they
get an error saying that they were missing the argument to --foo. Under your
Éric Araujo mer...@netwok.org added the comment:
The note seems fine to me. I’d used a semicolon, not a period, but that’s just
me.
You want to use `` to mark up code, not `.
Aside: I’ve been told before not to do wrapping or whitespace changes unrelated
to the object of my patch, to ease
Changes by Łukasz Langa luk...@langa.pl:
Removed file: http://bugs.python.org/file18216/issue1682942.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1682942
___
Łukasz Langa luk...@langa.pl added the comment:
Updated the patch after review by Brian Curtin and Alexander Belopolsky. All
remarks addressed, I think it's ready for inclusion.
--
Added file: http://bugs.python.org/file18219/issue1682942.diff
___
Andreas Balogh balo...@gmail.com added the comment:
I encountered the same problem. It is unclear that using binary mode for the
file is solving the problem. I suggest to add a hint to the documentation.
--
nosy: +baloan
___
Python tracker
1 - 100 of 188 matches
Mail list logo