On Mon, Jul 7, 2014 at 9:22 PM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> That's about it, yeah. I tend to find both strace and tcpdump rather
>> too spammy for most usage, so any time I reach for those tools, it's
>> usually with some tight filtering - and even that's not alw
In article ,
Chris Angelico wrote:
> That's about it, yeah. I tend to find both strace and tcpdump rather
> too spammy for most usage, so any time I reach for those tools, it's
> usually with some tight filtering - and even that's not always
> helpful.
Usually, when I fire up strace, it's beca
On Mon, Jul 7, 2014 at 10:52 AM, Roy Smith wrote:
> In article ,
> Chris Angelico wrote:
>
>> But the important thing is that you log.
>
> I 'spose. Let's see. Yesterday we generated 133 GB of log files. And
> Sunday is a slow day :-)
Heh, that's a bit bigger in scale than most of what I wor
On Mon, Jul 7, 2014 at 10:53 AM, Ben Finney wrote:
> There are two common cases where ‘help(foo)’ is unable to help:
>
> * If ‘foo’ is a function written without using keyword-only args, but
> needing to have a bunch of keyword arguments, the signature will often
> be the uninformative ‘foo(*a
On 06Jul2014 15:15, Roy Smith wrote:
In article ,
Mark Lawrence wrote:
In the 21st century real programmers are using the logging module so
they don't have to mess around.
The problem with the logging module is you can configure it to do pretty
much anything, which is another way of saying i
In article ,
Chris Angelico wrote:
> But the important thing is that you log.
I 'spose. Let's see. Yesterday we generated 133 GB of log files. And
Sunday is a slow day :-)
> Have you ever had a bug where someone else finds it and then doesn't
> give you full repro steps?
Are there people
Shiyao Ma writes:
> My normal workflow is use ipython, obj? or obj?? for quick look up or
> use docs.python.org for a detailed read.
I don't use IPython. I'm glad it exists for those who want it.
I frequently use Python on hosts not entirely under my control, where I
don't have authority to ins
On Mon, Jul 7, 2014 at 5:15 AM, Roy Smith wrote:
> In article ,
> Mark Lawrence wrote:
>
>> On 06/07/2014 19:48, Rick Johnson wrote:
>> >
>> > *Real* programmers possess keen detective that can root out
>> > bugs with nothing more than a few well placed print
>> > statements and some good old fa
In article ,
Mark Lawrence wrote:
> On 06/07/2014 19:48, Rick Johnson wrote:
> >
> > *Real* programmers possess keen detective that can root out
> > bugs with nothing more than a few well placed print
> > statements and some good old fashioned "eyeball analysis".
> >
>
> In the 21st century rea
On 06/07/2014 19:48, Rick Johnson wrote:
*Real* programmers possess keen detective that can root out
bugs with nothing more than a few well placed print
statements and some good old fashioned "eyeball analysis".
In the 21st century real programmers are using the logging module so
they don't
In article <53b98cf2$0$29985$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> I have a monkey-patched version of dir() which takes a second
> argument, a glob, to filter the list of names returned:
Neat idea, but globs are for wimps. All the cool kids are using
regexes. See tha
On Sunday, July 6, 2014 11:36:23 AM UTC-5, Shiyao Ma wrote:
> I often heard people mention use help(ob) as a way of
> documentation look up. Personally I seldom/never do that.
> My normal workflow is use ipython, obj? or obj?? for quick
> look up or use docs.python.org for a detailed read. Do you
>
On 2014-07-06 17:52, Steven D'Aprano wrote:
> I have a monkey-patched version of dir() which takes a second
> argument, a glob, to filter the list of names returned:
>
> py> len(dir(os)) # Too much!
> 312
> py> dir(os, 'env')
> ['_putenv', '_unsetenv', 'environ', 'environb', 'getenv',
> 'getenvb'
On Mon, 07 Jul 2014 00:36:23 +0800, Shiyao Ma wrote:
> Hi Pythonistas
>
> I often heard people mention use help(ob) as a way of documentation look
> up. Personally I seldom/never do that. My normal workflow is use
> ipython, obj? or obj?? for quick look up or use docs.python.org for a
> detailed
Hi Pythonistas
I often heard people mention use help(ob) as a way of documentation
look up. Personally I seldom/never do that. My normal workflow is use
ipython, obj? or obj?? for quick look up or use docs.python.org for a
detailed read.
Do you use `help`? How does it integrate into your workflo
15 matches
Mail list logo