Re: [Tutor] saving webpage as webarchive

2016-03-01 Thread Danny Yoo
> I want to save a webpage as a webarchive, and not just get the text. > I hope there’s a way to do it without saving all of the images separately. > And even if I do have to download them separately, then how would I combine > everything into the HTM webarchive? If I understand your question pr

Re: [Tutor] saving webpage as webarchive

2016-03-01 Thread Alan Gauld
On 01/03/16 04:32, Benjamin Fishbein wrote: > This seems like it should be simple, but I can’t find any answer with the > docs or google. > I’m on a Mac. OSX Yosemite 10.10.5 > I want to save a webpage as a webarchive, and not just get the text. > I hope there’s a way to do it without saving all o

[Tutor] If loop conditions

2016-03-01 Thread Dimitar Ivanov
Hello everyone! First time using this mailing list so please excuse me in advance if this mail is not structured properly. I'm going through a Python course by Google, so far I've gotten to the lists chapter and I've been trying to wrap my head around an exercise all afternoon long, eventually wa

Re: [Tutor] If loop conditions

2016-03-01 Thread Alan Gauld
On 01/03/16 16:28, Dimitar Ivanov wrote: > First time using this mailing list so please excuse me in advance if this > mail is not structured properly. No worries, you've done a pretty good job of telling us what we need to know. > In the following exercise, Google requires you to look up words f

[Tutor] recursivity and lists

2016-03-01 Thread Gaston
Hello everyone ! I was trying to do this little exercise: # E. Given two lists sorted in increasing order, create and return a merged # list of all the elements in sorted order. You may modify the passed in lists. # Ideally, the solution should work in "linear" time, making a single # pass of b

Re: [Tutor] recursivity and lists

2016-03-01 Thread Danny Yoo
> > Problem is that python complains that he cannot know the type of the result of this function (list). In C++ I would specify the type, but from what I understood, Python should not need this. What did I miss ? Can you copy the exact stack trace of the error? It'll help: you've interpreted what

Re: [Tutor] recursivity and lists

2016-03-01 Thread Danny Yoo
Also, as a quick note: Python list append is not functional: it mutates rather than returns a useful return value. You may need to revisit the parts in the code where it assumes a different behavior from functional append. On Mar 1, 2016 12:36 PM, "Danny Yoo" wrote: > > > > > Problem is that pyt