solutions(dot)for(dot)student(at)hotmail.com
s o l u t i o n s . f o r . s t u d e n t @ h o t m a i l . c o m
We're a team found for providing solution manuals to help students in their
study.
We sell the books in a soft copy, PDF format.
We will do our best to find any book or solution ma
I found an extension on this blog
http://www.cnblogs.com/DxSoft/archive/2011/04/08/2009132.html
or you can download the extension directly from
http://files.cnblogs.com/DxSoft/PyFetion.rar
I found that I can do "from DxVcl import *" in py 2.5/2.6/2.7. When I try
this in py24, a msgbox says "no py
On 3/22/14 4:46 AM, Steven D'Aprano wrote:
On Fri, 21 Mar 2014 23:51:38 -0500, Mark H Harris wrote:
Lambda is a problem, if only because it causes confusion. What's the
problem? Glad you asked. The constructs DO NOT work the way most people
would expect them to, having limited knowledge of pyt
On Mon, Mar 24, 2014 at 3:14 PM, Rustom Mody wrote:
> Neat! So I play around... Change it to
> [(x,y) for x in range(1,1) for y in range(1,1)]
> and I dont have an answer but a thrashing machine!! (*)
Yes, because you used square brackets, which means that the list has
to be fully realize
On 3/23/2014 10:04 PM, Chris Angelico wrote:
On Mon, Mar 24, 2014 at 12:26 PM, Terry Reedy wrote:
With multiple branches (as with 2.7, 3.4, and default for cpython) and
multiple active developers (20?) commiting to those brances, commits are
definitely not free. I would not exactly call them as
On Monday, March 24, 2014 8:57:32 AM UTC+5:30, Chris Angelico wrote:
> On Mon, Mar 24, 2014 at 1:35 PM, Rhodri James wrote:
> >> Would you not consider this to be declarative?
> >>x = [1, 2, 3]
> > I'm not sure I would. I look at that line of code and think of it as
> > "Create a list...", ve
On 3/23/14 10:17 PM, Chris Angelico wrote:
Newline style IS relevant. You're saying that this will copy a file perfectly:
out = open("out", "w")
for line in open("in"):
out.write(line)
but it wouldn't if the iteration and write stripped and recreated
newlines? Incorrect, because this versi
On Mon, Mar 24, 2014 at 2:28 PM, Mark H Harris wrote:
> Anyway, the PSF runs python (the interpreter) from a web server (I can
> access the python interpreter from my browser from the PSF site).
>
> How is that done simply, is possibly what the OP wants to know (me too).
That's a much MUCH harder
On 3/23/14 7:59 PM, anton wrote:
for i in (10**p for p in range(3, 8)):
print(i)
Never do their home-work for them; but, in this case, what the heck.
:)
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Mar 24, 2014 at 1:35 PM, Rhodri James wrote:
> I'm not sure I would. I look at that line of code and think of it as
> "Create a list...", very much in an imperative manner. Then again, compared
> with C structs and typedefs and actual honest-to-God type declarations,
> there's precious l
On 3/23/14 4:07 PM, tad na wrote:
On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote:
To set up a web browser:
1.open a dos window
2.navigate to dir you want "served"
3.type "python -m SimpleHTTPServer &."
4. open browser and type http://localhost:/
That is very ~cool. I learn
On Mon, Mar 24, 2014 at 1:35 PM, Rhodri James wrote:
>> Would you not consider this to be declarative?
>>
>>x = [1, 2, 3]
>
>
> I'm not sure I would. I look at that line of code and think of it as
> "Create a list...", very much in an imperative manner. Then again, compared
> with C structs
On Mon, Mar 24, 2014 at 1:37 PM, Steven D'Aprano
wrote:
> On Sun, 23 Mar 2014 12:37:43 +1100, Chris Angelico wrote:
>> And lines are delimited entities. A text file is a sequence of lines,
>> separated by certain characters.
>
> Are they really separated, or are they terminated?
>
> a\nb\n
>
>
On Sun, 23 Mar 2014 02:46:28 -, Ian Kelly
wrote:
On Sat, Mar 22, 2014 at 6:32 PM, Rhodri James
wrote:
On Sat, 22 Mar 2014 05:26:26 -, Rustom Mody
wrote:
Well almost...
Except that the 'loop' I am talking of is one of
def loop():
return [yield (lambda: x) for x in [1,2,3]]
o
On Sun, 23 Mar 2014 12:37:43 +1100, Chris Angelico wrote:
> On Sun, Mar 23, 2014 at 12:07 PM, Steven D'Aprano
> wrote:
>> On Sun, 23 Mar 2014 02:09:20 +1100, Chris Angelico wrote:
>>
>>> On Sun, Mar 23, 2014 at 1:50 AM, Steven D'Aprano
>>> wrote:
Line endings are terminators: they end the l
pabloerugg...@gmail.com writes:
> I'm trying to create a for loop that starts at 100 and goes to
> 10Mllion. The increments are like this: 100, 1000, 1, .
> Basicaly adding a zero each iteration. I'm having problems trying to
> do it. Can somebody help me
Welcome.
What have you tried so
On Sun, 23 Mar 2014 17:09:09 -, wrote:
Hi Everybody
actually i want to run python on web browser.
Actually you don't. You want to run Python on a web server, which
fortunately is a good deal easier.
I downloaded python and installed but i'm not able to run it in browser
but it run
On Mon, Mar 24, 2014 at 12:26 PM, Terry Reedy wrote:
> With multiple branches (as with 2.7, 3.4, and default for cpython) and
> multiple active developers (20?) commiting to those brances, commits are
> definitely not free. I would not exactly call them as cheap as you seem to
> imply either. That
On 24/03/2014 01:26, Terry Reedy wrote:
On 3/23/2014 6:56 PM, Chris Angelico wrote:
On Mon, Mar 24, 2014 at 1:58 AM, Albert-Jan Roskam
wrote:
One more thing (so this is not entirely a double post!). While
reading these books I found that the authors were pretty religious
about Clean Commits. I
On 3/23/2014 6:56 PM, Chris Angelico wrote:
On Mon, Mar 24, 2014 at 1:58 AM, Albert-Jan Roskam wrote:
One more thing (so this is not entirely a double post!). While reading these
books I found that the authors were pretty religious about Clean Commits. I
mean, ok, it's not a good idea to do o
On 24Mar2014 11:30, Chris Angelico wrote:
> On Mon, Mar 24, 2014 at 11:19 AM, Cameron Simpson wrote:
> > I'm particularly fond of "hg record" (or the similar extension, "hg
> > crecord"), which lets you commit just parts of a modified file.
> >
> > When I'm in a debugging branch, it gradually tur
for i in (10**p for p in range(3, 8)):
print(i)
--
https://mail.python.org/mailman/listinfo/python-list
Thanks!!
--
https://mail.python.org/mailman/listinfo/python-list
On 24/03/2014 00:35, pabloerugg...@gmail.com wrote:
Hello,
I'm trying to create a for loop that starts at 100 and goes to 10Mllion. The
increments are like this: 100, 1000, 1, . Basicaly adding a zero each
iteration. I'm having problems trying to do it. Can somebody help me
Start by
On Mon, Mar 24, 2014 at 11:35 AM, wrote:
> Hello,
>
> I'm trying to create a for loop that starts at 100 and goes to 10Mllion. The
> increments are like this: 100, 1000, 1, . Basicaly adding a zero each
> iteration. I'm having problems trying to do it. Can somebody help me
>
That sound
On 2014-03-24 00:35, pabloerugg...@gmail.com wrote:
Hello,
I'm trying to create a for loop that starts at 100 and goes to
10Mllion. The increments are like this: 100, 1000, 1, .
Basicaly adding a zero each iteration. I'm having problems trying to
do it. Can somebody help me
Probably be
Hello,
I'm trying to create a for loop that starts at 100 and goes to 10Mllion. The
increments are like this: 100, 1000, 1, . Basicaly adding a zero each
iteration. I'm having problems trying to do it. Can somebody help me
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Mar 24, 2014 at 11:19 AM, Cameron Simpson wrote:
> I'm particularly fond of "hg record" (or the similar extension, "hg
> crecord"), which lets you commit just parts of a modified file.
>
> When I'm in a debugging branch, it gradually turns into a huge diff.
> "hg record" lets me commit spe
On 24Mar2014 09:56, Chris Angelico wrote:
> On Mon, Mar 24, 2014 at 1:58 AM, Albert-Jan Roskam wrote:
> > One more thing (so this is not entirely a double post!). While reading
> > these books I found that the authors were pretty religious about Clean
> > Commits. I mean, ok, it's not a good id
On Mon, Mar 24, 2014 at 1:58 AM, Albert-Jan Roskam wrote:
> One more thing (so this is not entirely a double post!). While reading these
> books I found that the authors were pretty religious about Clean Commits. I
> mean, ok, it's not a good idea to do one huge monolithic commit each month,
>
On Mar 23, 2014 3:56 PM, "tad na" wrote:
>
> This is the error I get with
> 1. print data[x].pubDate.text
> AttributeError: 'NoneType' object has no attribute 'text'
> 2. print data[x].pubDate
> It results in "None"
So the problem is that it's not even finding the pubDate tag in the first
teddyb...@gmail.com writes:
> I am trying to get all the element data from the rss below.
[…]
> from bs4 import BeautifulSoup
>
> soup = BeautifulSoup(urlopen('http://bl.ocks.org/mbostock.rss'))
RSS is not HTML; so BeautifulSoup is not a good tool to use for parsing
RSS.
Instead, you will do
On Sunday, March 23, 2014 12:49:11 PM UTC-5, Ian wrote:
> On Mar 23, 2014 11:31 AM, "tad na" wrote:
> > OK . second problem :)
> > I can print the date. not sure how to do this one..
> Why not? What happens when you try?
> > try:
> > from urllib2 import urlopen
> > except ImportError:
> >
On Sunday, March 23, 2014 12:33:02 PM UTC-5, tad na wrote:
> On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote:
> > Hi Everybody
> > actually i want to run python on web browser. I downloaded python and
> > installed but i'm not able to run it in browser but it running using
>
On 23/03/2014 17:30, tad na wrote:
On Sunday, March 23, 2014 12:29:40 PM UTC-5, tad na wrote:
On Saturday, March 22, 2014 6:21:30 AM UTC-5, tad na wrote:
I am trying to get all the element data from the rss below.
The only thing I am pulling is the first element.
I don't understand
On Sunday, March 23, 2014 12:40:04 PM UTC-5, Mark Lawrence wrote:
> On 23/03/2014 17:30, tad na wrote:
> Would you please use the mailing list
> https://mail.python.org/mailman/listinfo/python-list or read and action
> this https://wiki.python.org/moin/GoogleGroupsPython to prevent us
> seeing d
On Mar 23, 2014 11:31 AM, "tad na" wrote:
> OK . second problem :)
> I can print the date. not sure how to do this one..
Why not? What happens when you try?
> try:
> from urllib2 import urlopen
> except ImportError:
> from urllib.request import urlopen
> import urllib2
> from bs4 import
On 23/03/2014 17:30, tad na wrote:
Would you please use the mailing list
https://mail.python.org/mailman/listinfo/python-list or read and action
this https://wiki.python.org/moin/GoogleGroupsPython to prevent us
seeing double line spacing and single line paragraphs, thanks.
--
My fellow Pyth
On Sunday, March 23, 2014 12:09:09 PM UTC-5, rbor...@gmail.com wrote:
> Hi Everybody
>
>
>
> actually i want to run python on web browser. I downloaded python and
> installed but i'm not able to run it in browser but it running using command
> prompt. so i trying to install mod_wsgi 3.4. So i
On Sunday, March 23, 2014 12:29:40 PM UTC-5, tad na wrote:
> On Saturday, March 22, 2014 6:21:30 AM UTC-5, tad na wrote:
>
> > I am trying to get all the element data from the rss below.
>
> >
>
> > The only thing I am pulling is the first element.
>
>
>
> > I don't understand why the for l
On Saturday, March 22, 2014 6:21:30 AM UTC-5, tad na wrote:
> I am trying to get all the element data from the rss below.
>
> The only thing I am pulling is the first element.
> I don't understand why the for loop does not go through the entire rss.
> Here is my code
> try:
> from urlli
Hi Everybody
actually i want to run python on web browser. I downloaded python and installed
but i'm not able to run it in browser but it running using command prompt. so i
trying to install mod_wsgi 3.4. So i downloaded precompiled version
mod_wsgi-3.4.ap22.win32-py2.6 and copied mod_wsgi.so f
On 23/03/2014 14:00, azt...@gmail.com wrote:
Hello!
I need to urgently install CVOXPT in my pc. However, it seems that it only
works under 32 bit versions. Does anyone know about a way around this?
Your advise will be much appreciated!
Ines
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cvxopt
-
> From: Dave Angel
>To: python-list@python.org
>Sent: Sunday, March 23, 2014 3:18 AM
>Subject: Re: Question about Source Control
>
>
>Albert-Jan Roskam Wrote in message:
>>
>
>In addition to posting in html format, you have also set the font
>size too small
Hello!
I need to urgently install CVOXPT in my pc. However, it seems that it only
works under 32 bit versions. Does anyone know about a way around this?
Your advise will be much appreciated!
Ines
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, March 23, 2014 6:37:11 PM UTC+5:30, Jens Thoms Toerring wrote:
> Simon Hardy-Francis wrote:
> > Hi Python fans, I just released my first open source project ever called
> > SharedHashFile [1]. It's a shared memory hash table written in C. Some guy
> > on Quora asked [2] whether there's
Simon Hardy-Francis wrote:
> Hi Python fans, I just released my first open source project ever called
> SharedHashFile [1]. It's a shared memory hash table written in C. Some guy
> on Quora asked [2] whether there's an extension library for Python coming
> out. I would like to do one but I know li
Cameron Simpson :
> Plenty of people use editors that consider end-of-line to be a
> separator and not a terminator, leading to supposed text files lacking
> trailing newlines (or end-of-line of OS).
I use an editor (emacs) that considers the end-of-line to be a byte
among others.
> I consider t
48 matches
Mail list logo