Re: [Tutor] Python - help with something most essential

2017-06-05 Thread Peter Otten
Schtvveer Schvrveve wrote: > I need someone's help. I am not proficient in Python and I wish to > understand something. I was in a job pre-screening process where I was > asked to solve a simple problem. > > The problem was supposed to be solved in Python and it was supposed to > take two argumen

Re: [Tutor] Python - help with something most essential

2017-06-05 Thread David Rock
> On Jun 5, 2017, at 09:36, Schtvveer Schvrveve wrote: > > > And I was rejected. I just wish to understand what I could have done for > this to be better? > > I am a Python beginner, so I'm sure there are things I don't know, but I > was a bit surprised at the abruptness of the rejection and I

[Tutor] f.readlines(size)

2017-06-05 Thread Nancy Pham-Nguyen
Hi, I'm trying to understand the optional size argument in file.readlines method. The help(file) shows:  |  readlines(...) |      readlines([size]) -> list of strings, each a line from the file. |       |      Call readline() repeatedly and return a list of the lines so read. |      The option

[Tutor] Huge list comprehension

2017-06-05 Thread syed zaidi
hi, I would appreciate if you can help me suggesting a quick and efficient strategy for comparing multiple lists with one principal list I have about 125 lists containing about 100,000 numerical entries in each my principal list contains about 6 million entries. I want to compare each small l

Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-05 Thread Ryan Smith
+1 for Wing IDE. I have been using it for about 6-7 months now and absolutely love it. Ryan On Sun, Jun 4, 2017 at 11:37 AM Ryan Smith wrote: > > On Sun, Jun 4, 2017 at 8:13 AM wolfrage8...@gmail.com < > wolfrage8...@gmail.com> wrote: > >> Atom.io Editor is my current favorite after having swapp

[Tutor] Python - help with something most essential

2017-06-05 Thread Schtvveer Schvrveve
I need someone's help. I am not proficient in Python and I wish to understand something. I was in a job pre-screening process where I was asked to solve a simple problem. The problem was supposed to be solved in Python and it was supposed to take two arguments: filename and word. The program reads

Re: [Tutor] Coming from R, what's a good IDE editor? I've tried PyCharm and Spyder

2017-06-05 Thread Stephen P. Molnar
On 06/04/2017 04:44 AM, Abdur-Rahmaan Janhangeer wrote: Wing. Wing IDE personal works awesome for me Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 3 Jun 2017 02:59, "C W" wrote: Dear Python list, I am an R user learning Python. What is a good editor? 1) Pychar