When using feedparpser object as below, it only contains 25 items, how can i
have all contents?
for example,
d= feedparser.parse('http://newyork.craigslist.org/stp/index.rss')
print(len(d['entries'][i]['summary']))
result is 25
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, May 17, 2017 at 4:31 PM, Deborah Swanson
wrote:
> But the myth that modern Windows users are safe from malware is just
> that, a myth. I have plenty of Microsoftie friends who tell me privately
> that this is so.
Which is why people who care about security use BSD, not Windows.
ChrisA
--
Dennis Lee Bieber wrote:
I ended up having to download
sources for 4.8, 4.7, and 4.6... And use GCC 4.9 to build 4.8, 4.8 to build
4.7, and 4.7 to build 4.6 -- I was NOW ready to build DragonEgg!
Could you not find a suitable binary package of 4.6 anywhere?
--
Greg
--
https://mail.python.org/m
I am trying to write some recursive code to explore the methods, classes,
functions, builtins, etc. of a package all the way down the hierarchy.
1) Preliminaries
In [2]: def explore_pkg(pkg):
...: return dir(pkg)
...:
In [3]: import numpy as np
In [4]: l2 = explore_pkg(np.random)
Chris Angelico wrote, on Tuesday, May 16, 2017 9:50 PM
>
> On Wed, May 17, 2017 at 2:14 PM, Deborah Swanson
> wrote:
> > So please, all of you, stop beating me up about continuing
> to use XP.
> > It really is a fine operating system, but everyone else
> wants to get
> > on with their lives
On Monday, May 15, 2017 at 7:23:52 PM UTC-7, jeanbi...@gmail.com wrote:
> What may make this tricky is that the vinyl group can rotate at the point
> where it attaches to the benzene ring so the full molecule may not lie in a
> plane.
But the OP has coordinates for each atom which are used in th
On Wed, May 17, 2017 at 2:14 PM, Deborah Swanson
wrote:
> So please, all of you, stop beating me up about continuing to use XP. It
> really is a fine operating system, but everyone else wants to get on
> with their lives and stop supporting it. Not my fault, nor is it
> something I should be conti
Nathan Ernst wrote, on Tuesday, May 16, 2017 8:33 PM
> Deborah, long term, you have to realize that if you insist on
> sticking to WinXP, the rest of the world will, eventually,
> leave you behind.Software vendors want to support the fewest
> platforms/configurations as possible. XP is not sup
MS used to, I'm not sure if they still do, provide a separate C++ SDK that
included the compiler, but not the full IDE. It was still quite a large
download at ~128MB. But, it included only the command-line compiler, linker
& std lib.
Starting with VS2017, the ABI is supposedly stable going foward
On 5/16/2017 5:30 AM, Mark Summerfield via Python-list wrote:
I think the problem that Deborah has encountered is a more general one on
Windows: many pip-installable packages assume that a C compiler is
available.
Now an "obvious" solution is for pip to recognise that a C compiler is
needed and
On 5/16/2017 5:14 PM, bartc wrote:
On 16/05/2017 21:18, breamore...@gmail.com wrote:
On Tuesday, May 16, 2017 at 5:09:34 PM UTC+1, bartc wrote:
I can't test with Python because it's too complicated to compile,
especially on Windows.
What is the problem with the documentation given here
htt
On Wed, May 17, 2017 at 10:41 AM, bartc wrote:
> On 17/05/2017 00:24, Chris Angelico wrote:
>>
>> On Wed, May 17, 2017 at 9:01 AM, bartc wrote:
>
>
>> You mean like wheel files? Yeah, whodathunk. They don't need a C
>> compiler or anything.
>
>
> I don't know if that's the same kind of thing. I'm
On 17/05/2017 00:24, Chris Angelico wrote:
On Wed, May 17, 2017 at 9:01 AM, bartc wrote:
You mean like wheel files? Yeah, whodathunk. They don't need a C
compiler or anything.
I don't know if that's the same kind of thing. I'm not talking about
something like a binary distribution or somet
On 17/05/2017 00:42, Michael Torrie wrote:
On 05/16/2017 05:01 PM, bartc wrote:
It should be a piece of cake, yes?
If TCC implements the standard sufficiently, then yes it's possible.
However it won't be easy because the Python build tools are geared
towards the dominant compilers (GCC and V
On Wed, May 17, 2017 at 9:31 AM, Michael Torrie wrote:
> On 05/16/2017 04:33 PM, Chris Angelico wrote:
>> Then you are stuck in your own little bubble. That's fine as long as
>> you never try to foist your software OR your system on anyone else.
>> The rest of us collaborate with other people.
>
>
On 05/16/2017 05:01 PM, bartc wrote:
> And it sounds like the CPython developers have never used a compiler
> other than gcc or MSVC, and the latter only reluctantly.
It's more a matter of choosing the best compiler to support the many
different platforms you wish to support. GCC is the defacto
On 05/16/2017 04:33 PM, Chris Angelico wrote:
> Then you are stuck in your own little bubble. That's fine as long as
> you never try to foist your software OR your system on anyone else.
> The rest of us collaborate with other people.
I don't collaborate with other people. However I still use git
On Wed, May 17, 2017 at 9:01 AM, bartc wrote:
> On 16/05/2017 23:33, Chris Angelico wrote:
>>
>> On Wed, May 17, 2017 at 8:17 AM, bartc wrote:
>
>
>> Then you are stuck in your own little bubble. That's fine as long as
>> you never try to foist your software OR your system on anyone else.
>> The
On 16/05/2017 23:33, Chris Angelico wrote:
On Wed, May 17, 2017 at 8:17 AM, bartc wrote:
Then you are stuck in your own little bubble. That's fine as long as
you never try to foist your software OR your system on anyone else.
The rest of us collaborate with other people.
Other people who MU
On 16/05/2017 23:15, breamore...@gmail.com wrote:
On Tuesday, May 16, 2017 at 10:19:06 PM UTC+1, Chris Angelico wrote:
On Wed, May 17, 2017 at 7:14 AM, bartc wrote:
That PCbuild line is step 3 of Quick Start. You have to get past steps 1 and
2 first. It talks about something called Git; I don't
On Wed, May 17, 2017 at 8:17 AM, bartc wrote:
> On 16/05/2017 22:18, Chris Angelico wrote:
>>
>> On Wed, May 17, 2017 at 7:14 AM, bartc wrote:
>>>
>>> That PCbuild line is step 3 of Quick Start. You have to get past steps 1
>>> and
>>> 2 first. It talks about something called Git; I don't know wh
On 16/05/2017 22:18, Chris Angelico wrote:
On Wed, May 17, 2017 at 7:14 AM, bartc wrote:
That PCbuild line is step 3 of Quick Start. You have to get past steps 1 and
2 first. It talks about something called Git; I don't know what that is or
what I'm supposed to do with it, but it's a 35MB downl
On 16/05/2017 22:18, Chris Angelico wrote:
On Wed, May 17, 2017 at 7:14 AM, bartc wrote:
That PCbuild line is step 3 of Quick Start. You have to get past steps 1 and
2 first. It talks about something called Git; I don't know what that is or
what I'm supposed to do with it, but it's a 35MB downl
On Wed, May 17, 2017 at 7:14 AM, bartc wrote:
> That PCbuild line is step 3 of Quick Start. You have to get past steps 1 and
> 2 first. It talks about something called Git; I don't know what that is or
> what I'm supposed to do with it, but it's a 35MB download. (Not that that is
> very big these
On 16/05/2017 21:18, breamore...@gmail.com wrote:
On Tuesday, May 16, 2017 at 5:09:34 PM UTC+1, bartc wrote:
I can't test with Python because it's too complicated to compile,
especially on Windows.
What is the problem with the documentation given here
https://docs.python.org/devguide ?
Sp
On Wed, May 17, 2017 at 2:09 AM, bartc wrote:
> But if I use tcc to compile /my/ byte-code interpreter, and then run the
> interpreter on a computationally intensive benchmark (jpeg decoding), I get
> these results for a given input file:
>
> Tiny C 6.7 seconds
> gcc -O33.6 seconds
>
> So
On Friday, May 12, 2017 at 6:02:58 AM UTC-4, Steve D'Aprano wrote:
> One of the more controversial aspects of the Python ecosystem is the Python
> docs. Some people love them, and some people hate them and describe them as
> horrible.
>
[...]
One thing I would love to see in any function or class
On Monday, May 15, 2017 at 10:23:12 PM UTC-7, qasi...@gmail.com wrote:
> @Cameron:
> Thanks, I will try what you suggest. I am not sure that I'll tackle it
> because I am new to python.
I teach programming to people with varying levels of expertise, from
middle-school students to working profess
On 16/05/2017 08:53, Chris Angelico wrote:
On Tue, May 16, 2017 at 5:14 PM, Christian Gollwitzer wrote:
Am 15.05.17 um 23:58 schrieb Chris Angelico:
On Tue, May 16, 2017 at 7:01 AM, Deborah Swanson
wrote:
But I'm a little more mystified that official Python builds are leaning
on Visual C++
On 15/05/2017 13:44, Ned Batchelder wrote:
As it is, if I make a suggestion about the itertools docs (why do we need
20-line "equivalent to" Python code, and why don't we have any usage
examples?), then I have to debate it with the developer of itertools,
who has a different aesthetic and style
On Tue, May 16, 2017 at 11:41 PM, bartc wrote:
>> Are you suggesting that a C compiler should be written in Python?
>> Because you're dealing with an extension library. It's not written in
>> pure Python. That's why it needs a C compiler. While it is certainly
>> possible to write a C compiler in
On 2017-05-16, Deborah Swanson wrote:
> Another reason why it's sad that Python hasn't been making its own build
> tools, or incorporating and developing open software tools all along.
Python uses almost exclusively open-source tools on Linux and whatever
MacOS is called this year.
Feel free to
On 2017-05-16, Deborah Swanson wrote:
> Well, my naive opinion is that they should be. But it was just one
> message back that I learned some Python built-in modules are at least
> partially written in C.
Many of the are, because there aren't any platforms that provide a
native Python API for do
On 15/05/2017 19:21, Chris Angelico wrote:
On Tue, May 16, 2017 at 4:12 AM, Deborah Swanson
wrote:
It continues to amaze me that Anaconda and Python.org, probably the two
biggest distributors of official Python builds, are now relying on
Visual C++. Why can't Python developers write the entire
I think the problem that Deborah has encountered is a more general one on
Windows: many pip-installable packages assume that a C compiler is
available.
Now an "obvious" solution is for pip to recognise that a C compiler is
needed and give an appropriate error message. But while that may reduce
con
MRAB wrote:
CPython is being developed primarily on Linux. Linux and other Unix-like
operating systems come with a C compiler as standard (the histories of
Unix and C are closely linked).
Also, Linux (and other unix-like systems) don't tend to change
the compiler toolsets and libraries in inco
On Sunday, May 14, 2017 at 10:36:37 PM UTC+1, Deborah Swanson wrote:
> I want to install the recordclass package:
> https://pypi.python.org/pypi/recordclass
>
> But they've only released wheel files for two platforms, macosx and
> win_amd64, neither of which will install on my system. I need win_
On Tue, May 16, 2017 at 5:14 PM, Christian Gollwitzer wrote:
> Am 15.05.17 um 23:58 schrieb Chris Angelico:
>>
>> On Tue, May 16, 2017 at 7:01 AM, Deborah Swanson
>> wrote:
>>>
>>> But I'm a little more mystified that official Python builds are leaning
>>> on Visual C++ (and that's what the crutc
Am 15.05.17 um 23:58 schrieb Chris Angelico:
On Tue, May 16, 2017 at 7:01 AM, Deborah Swanson
wrote:
But I'm a little more mystified that official Python builds are leaning
on Visual C++ (and that's what the crutch comment was primarily aimed
at).
You seem to be of the opinion that some day,
39 matches
Mail list logo