I've sent several messages over the last year asking about python -
Who teaches python? Is python losing steam? etc. I have noticed, eg,
the declinng number of books at my local borders. The last time I
visited a borders (last week), there was 1 (sic) book about python on
the shelve compared to dozens on perl & java! On my last inquiry about
who teaching python, I got two, maybe three, responses. I really want
to see python succeed! It's the best language I've seen. I see a lot
on www.python.org about development, but little on usage. I sent a
message to someone on the python site (I forget who - I know, no
excuse) about what I've done done on a site (grades, web application,
web registration, etc). No reponse. Sorry to ramble, but I wanted to
say a lot, but not have to go into a lot of detail.
Jul 18 '05
57 3946
It was a generalization, not with any malice :-)
What I meant was that many of their books were "me-toos",
especially the Early Adopter series. I did not do
a blanket bombing of their books. But I will prefer
an O'Reilly nutshell book anyday to a Wrox one.
I am not planning to convince any publishers on the
market of Python books. At least, not yet.
-Anand
Alex Martelli <al*****@yahoo.com> wrote in message news:<c%********************@news2.tin.it>... Anand Pillai wrote: ... There was a company called Wrox writing P2P (Programmer 2 Programmer) books on many technical topics. I think it got absorbed by Wiley recently.
They had gone bust, and the brand has been purchased.
Their choice of topics was "Popular" languages and technologies used by practicing software developers. I never saw a Python book in their stable. Of course, again dont start a thread about the technical perfection of Wrox books, since I know that their style & content cannot be compared with an O'reilly nutshell book.
You're wrong: some of their books were truly excellent. Short of Don Box's Addison-Wesley bible, they had the best on COM, and the best in particular on ATL, the best way to do COM in Visual C++. Of course, many others (while still technically OK) were "me too"'s in crowded fields.
But as again, I am not talking about anything regarding the "greatness" of the language, but just simple arithmetic.
Simple arithmetic tells us Wrox went bust (despite having some excellent books and a very vast selection). I'm not sure how you plan to use this to convince other publishers to put out plenty of "me too's" technically decent but mostly undistinguished books in crowded fields.
Alex
Let's say some one walked into a book store and glanced at the books
in computers. He might think, "gee look at all the books on java and
perl and hardly any books on python. What is python? And it's not even
in the languages section. No sense in looking at that!" It's a matter
of perception. "Lots of perl and java - that's the way to go." I also
agree that maybe a lot of books on python are not necessary to learn
the langage. Heck, I learned almost all I know (which I admit is not
much) from web tutorials and samples. But I do have questions I cannot
find the answers to when I browse the book store. Eg, how do I do
admin stuff with python? How do I do cgi stuff with python? There are
books on how to do these in perl. Dozens. py*******@Hotpop.com (Anand Pillai) wrote in message news:<84**************************@posting.google. com>... In the ideal "techie makes decisions" world this would have been a good thing. But not in the real world where the Suits make decisions in corporates.
There might have been thousands of books published in C/C++ language and they have all helped to popularize it in one or the other way. Contrast, in the python world we have one Alex Martelli, one Wesley Chun, one David Mertz, really countable by hand.
There is a limit to how much a single person can evangelize a language. Questions similar to what the O.P posted arise from the listeners.
I would prefer to see more books on Python though they all might be useless from a pure techie point of view. Let us have a book on Software Projects in python for example. It might not have the technical superiority of a Martelli book, but more attempts like that will save the language and help the eyeball factor, which is so important in practical marketing.
-Anand
af*****@yahoo.co.uk (Asun Friere) wrote in message news:<38**************************@posting.google. com>... py*******@yahoo.com (John Howard) wrote in message news:<9e**************************@posting.google. com>... I've sent several messages over the last year asking about python - Who teaches python? Is python losing steam? etc. I have noticed, eg, the declinng number of books at my local borders. The last time I visited a borders (last week), there was 1 (sic) book about python on the shelve compared to dozens on perl & java!
If you were developing in Java or Perl maybe you would need dozens of books. But Python is so elegant and intuitive a single one will do. ;)
Exactly my feelings on this topic :-)
-Anand py*******@yahoo.com (John Howard) wrote in message news:<9e**************************@posting.google. com>... Let's say some one walked into a book store and glanced at the books in computers. He might think, "gee look at all the books on java and perl and hardly any books on python. What is python? And it's not even in the languages section. No sense in looking at that!" It's a matter of perception. "Lots of perl and java - that's the way to go." I also agree that maybe a lot of books on python are not necessary to learn the langage. Heck, I learned almost all I know (which I admit is not much) from web tutorials and samples. But I do have questions I cannot find the answers to when I browse the book store. Eg, how do I do admin stuff with python? How do I do cgi stuff with python? There are books on how to do these in perl. Dozens.
py*******@Hotpop.com (Anand Pillai) wrote in message news:<84**************************@posting.google. com>... In the ideal "techie makes decisions" world this would have been a good thing. But not in the real world where the Suits make decisions in corporates.
There might have been thousands of books published in C/C++ language and they have all helped to popularize it in one or the other way. Contrast, in the python world we have one Ale
x Martelli, one Wesley Chun, one David Mertz, really countable by hand.
There is a limit to how much a single person can evangelize a language. Questions similar to what the O.P posted arise from the listeners.
I would prefer to see more books on Python though they all might be useless from a pure techie point of view. Let us have a book on Software Projects in python for example. It might not have the technical superiority of a Martelli book, but more attempts like that will save the language and help the eyeball factor, which is so important in practical marketing.
-Anand
af*****@yahoo.co.uk (Asun Friere) wrote in message news:<38**************************@posting.google. com>... py*******@yahoo.com (John Howard) wrote in message news:<9e**************************@posting.google. com>... > I've sent several messages over the last year asking about python - > Who teaches python? Is python losing steam? etc. I have noticed, eg, > the declinng number of books at my local borders. The last time I > visited a borders (last week), there was 1 (sic) book about python on > the shelve compared to dozens on perl & java!
If you were developing in Java or Perl maybe you would need dozens of books. But Python is so elegant and intuitive a single one will do. ;)
What is the best way to debug a Python program if when i run it, it
totally hangs up the
terminal console.
Control-c or control-d has NO effect, so it's hung up somewhere, but
we have no idea
where.
We are using Python 2.3, on an openBSD box, running the python script
from the shell.
Is it possible to somehow find out what is making it hang up?
JD> What is the best way to debug a Python program if when i run it, it
JD> totally hangs up the terminal console.
JD> Control-c or control-d has NO effect, so it's hung up somewhere, but
JD> we have no idea where.
Does it use X? If so, try setting your DISPLAY to another box. (Maybe it's
hanging the X server.) If not, try ssh'ing into the box from another
machine. Can you run top in another window while it runs? Perhaps it's
chewing up gobs of memory (got any monster range() calls in there)?
If you give us some more details about how you think it's supposed to
interact with the system we might be able to provide some more debugging
clues.
Skip
Quoth JD <li***@webcrunchers.com>:
....
| Control-c or control-d has NO effect, so it's hung up somewhere, but
| we have no idea
| where.
One way to look at it might be ktrace. Somewhere in there, you're
stuck in one of those damned kernel mediated services like NFS, and
some ioctl to the offending device will be the last syscall reported
for the process. lsof might be good enough.
Donn Cave, do**@drizzle.com
On Mon, 15 Dec 2003 16:07:31 -0800, JD <li***@webcrunchers.com> wrote: What is the best way to debug a Python program if when i run it, it totally hangs up the terminal console.
Control-c or control-d has NO effect, so it's hung up somewhere, but we have no idea where.
We are using Python 2.3, on an openBSD box, running the python script from the shell.
Is it possible to somehow find out what is making it hang up?
have you tried gdb python and then run with your_python_prog.py as the arg?
If gdb will catch a ctl-c then you might be able to use bt to get a backtrace?
(I don't really know much about gdb, but someone here has probably done this
and can tell you the right way to do it ;-)
Of course, there's the lions-in-africa thing of putting print statements to
narrow down successively the area where it could be hanging ;-)
Regards,
Bengt Richter
JD <li***@webcrunchers.com> writes: What is the best way to debug a Python program if when i run it, it totally hangs up the terminal console.
Control-c or control-d has NO effect, so it's hung up somewhere, but we have no idea where.
We are using Python 2.3, on an openBSD box, running the python script from the shell.
"gdb -p"?
Cheers,
mwh
--
Q: Isn't it okay to just read Slashdot for the links?
A: No. Reading Slashdot for the links is like having "just one hit"
off the crack pipe.
-- http://www.cs.washington.edu/homes/k...shdot.html#faq This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Brandon J. Van Every |
last post by:
What's better about Ruby than Python? I'm sure there's something. What is
it?
This is not a troll. I'm language shopping and I want people's...
|
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn....
|
by: Romans Krjukovs |
last post by:
Hi !
Our company is going to start use Python widely.
To make this reality we have to include Python in our strategy
plans for at least 3...
|
by: 63q2o4i02 |
last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning
Python the past few months and like it very much. A few years ago I
had an AI...
|
by: concettolabs |
last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: CD Tom |
last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
| |