Re: [Tutor] How to use "curses.resizeterm(nlines, ncols)"

2019-02-23 Thread Cameron Simpson
On 23Feb2019 23:00, boB Stepp wrote: I am trying to understand the functionality that the Python module, curses, provides. But I am stuck on how to use the command, curses.resizeterm(nlines, ncols). At https://docs.python.org/3/library/curses.html#curses.resizeterm it says: curses.resizeterm

[Tutor] How to use "curses.resizeterm(nlines, ncols)"

2019-02-23 Thread boB Stepp
I am trying to understand the functionality that the Python module, curses, provides. But I am stuck on how to use the command, curses.resizeterm(nlines, ncols). At https://docs.python.org/3/library/curses.html#curses.resizeterm it says: curses.resizeterm(nlines, ncols)¶ Resize the standard an

Re: [Tutor] Visual studio Code -Python

2019-02-23 Thread Mark Lawrence
On 23/02/2019 12:23, Asad wrote: Please don't top post, it is so irritating when trying to read threads, TIA. Hi All , I am using : pdb.set_trace() can you all share some good tricks i using n ,s , l . The tedious part which I see is if it is a loop like for loop then I

Re: [Tutor] Visual studio Code -Python

2019-02-23 Thread Asad
Hi All , I am using : pdb.set_trace() can you all share some good tricks i using n ,s , l . The tedious part which I see is if it is a loop like for loop then I need to do next till the length for the data is completed for x in string : if re.search(x,line) len(string)

Re: [Tutor] Visual studio Code -Python

2019-02-23 Thread Mats Wichmann
On 2/23/19 5:23 AM, Asad wrote: Hi All ,          I am using : pdb.set_trace()           can you all share some good tricks i using n ,s , l . The tedious part which I see is  if it is a loop like for loop then I need to do next till the length for the data is completed for x in string :

Re: [Tutor] import failure

2019-02-23 Thread Mark Lawrence
On 22/02/2019 16:55, Alex Kleider wrote: I'm trying to programmatically manipulate my google contacts using a library (https://github.com/google/gdata-python-client) which I've cloned.  The documentation suggests running a test to start with which I did (OS: Ubuntu 18.4, running in a python2.7 v

Re: [Tutor] import failure

2019-02-23 Thread Alex Kleider
On 2019-02-22 09:48, Mats Wichmann wrote: pip installs are specific to the interpreter, you're probably getting a mismatch there. Rule one: install this way: python -m pip install sheepdip that way you're sure the pip matches the python and things go in the expected place. Rule 2: you ca