Re: importing os.path -- why does it work?

2015-01-11 Thread Steven D'Aprano
On Sun, 11 Jan 2015 23:00:45 -0700, Ian Kelly wrote: > On Sun, Jan 11, 2015 at 10:31 PM, Steven D'Aprano > wrote: >> But bizarrely, you can import os.path this way! >> >> py> import os.path >> py> os.path >> py> >> os.__package__ >> '' >> >> >> >> By what wizardry does this work? > > By the wiz

Re: List of "python -m" tools

2015-01-11 Thread Chris Angelico
On Mon, Jan 12, 2015 at 5:08 PM, Christian Heimes wrote: > My all time favorite is "python -me", https://pypi.python.org/pypi/e. > It's a small yet elegant tool for the command line. That's cool! ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: List of "python -m" tools

2015-01-11 Thread Christian Heimes
On 12.01.2015 05:17, Miki Tebeka wrote: > Greetings, > > I've compiled a list of "python -m" tools at > pythonwise.blogspot.com/2015/01/python-m.html. > > Did I miss something? What are your favorite "python -m" tools? My all time favorite is "python -me", https://pypi.python.org/pypi/e. It's a

Re: importing os.path -- why does it work?

2015-01-11 Thread Ian Kelly
On Sun, Jan 11, 2015 at 10:31 PM, Steven D'Aprano wrote: > But bizarrely, you can import os.path this way! > > py> import os.path > py> os.path > > py> os.__package__ > '' > > > > By what wizardry does this work? By the wizardry of adding an entry to sys.modules. https://hg.python.org/cpython/f

Re: Using a ChangeLog as a canonical source of package metadata

2015-01-11 Thread Steven D'Aprano
On Sun, 11 Jan 2015 12:37:03 -0800, wxjmfauth wrote: > 1) I downloaded pyprimes-0.2.1a.tar.gz > 2) I extracted the relevant part, > the py files, the pyprimes subdirectory, > awful.py, compat23.py, factors.py, test.py, .. and put in > d:\junk That is not the way packages work. pyprimes

importing os.path -- why does it work?

2015-01-11 Thread Steven D'Aprano
Using the `spam.eggs` syntax for modules only works if spam is a package and eggs is a sub-package or module. For example, this fails: py> import glob.fnmatch Traceback (most recent call last): File "", line 1516, in _find_and_load_unlocked AttributeError: 'module' object has no attribute '__

Re: annoying doctest problem

2015-01-11 Thread Steven D'Aprano
On Sun, 11 Jan 2015 20:20:35 -0800, gordianknot1981 wrote: [...] > Expected: > ":" > Got: > ':' doctest is *very* fussy about the strings matching exactly. You have to use single quotes. I've been burned by this once or twice... -- Steve -- https://mail.python.org/mailman/listinfo/py

Re: List of "python -m" tools

2015-01-11 Thread Steven D'Aprano
On Sun, 11 Jan 2015 20:17:48 -0800, Miki Tebeka wrote: > Greetings, > > I've compiled a list of "python -m" tools at > pythonwise.blogspot.com/2015/01/python-m.html. > > Did I miss something? What are your favorite "python -m" tools? The three I use all the time are: - doctools - unittest - my

Re: annoying doctest problem

2015-01-11 Thread gordianknot1981
gordian...@gmail.com於 2015年1月12日星期一 UTC+8下午12時20分46秒寫道: > #!/usr/bin/python > # -*- coding: utf-8 -*- > > import re > kivy_class_ptn = re.compile(r"<\b[\w_.\@\+]+>:?") > > > def test_kivy_class(s): > """ > >>> s = ":" > >>> test_kivy_class(s) > ":" > >>> s = "" > >>>

annoying doctest problem

2015-01-11 Thread gordianknot1981
#!/usr/bin/python # -*- coding: utf-8 -*- import re kivy_class_ptn = re.compile(r"<\b[\w_.\@\+]+>:?") def test_kivy_class(s): """ >>> s = ":" >>> test_kivy_class(s) ":" >>> s = "" >>> test_kivy_class(s) "" """ ret = re.search(kivy_class_ptn, s) if re

List of "python -m" tools

2015-01-11 Thread Miki Tebeka
Greetings, I've compiled a list of "python -m" tools at pythonwise.blogspot.com/2015/01/python-m.html. Did I miss something? What are your favorite "python -m" tools? Thanks, -- Miki -- https://mail.python.org/mailman/listinfo/python-list

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread alex23
On 11/01/2015 7:31 PM, Steven D'Aprano wrote: If that isn't a form of stupidity, I don't know what is. Maybe you're just eternally optimistic that people can change for the better. -- https://mail.python.org/mailman/listinfo/python-list

Re: Few Coding suggestions - resending

2015-01-11 Thread Ganesh Pal
On Sun, Jan 11, 2015 at 7:57 PM, Dave Angel wrote: >> >> > No idea how that represents "a difference of 5 minutes". So I'll take a > totally wild guess that you meant: > > Sunday 23:50 23:55 > Monday 00:00 00:05 > Monday 00:10 00:15 > Monday 00:20 00:25 > Monday 00:30 00:35 > > which would have

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Steven D'Aprano
Thomas 'PointedEars' Lahn wrote: > The original script already does not do what it advertises. Instead, it > iterates over the characters of the string, attempts to convert each to an > integer and then computes the sum. That is _not_ “calculate the total of > numbers given in a string”. Yes, a

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > On 11/01/2015 23:07, Thomas 'PointedEars' Lahn wrote: >> I thought I had more than a fair grasp of regular expressions, but I am >> puzzled by >> >> | $ python3 >> | Python 3.4.2 (default, Dec 27 2014, 13:16:08) >> | [GCC 4.9.2] on linux >> | >>> from re import findall >> |

Re: extracting numbers with decimal places from a string

2015-01-11 Thread MRAB
On 2015-01-12 00:04, Mark Lawrence wrote: On 11/01/2015 23:07, Thomas 'PointedEars' Lahn wrote: Store Makhzan wrote: I have this script which can calculate the total of numbers given in a string […] total = 0 for c in '0123456789': total += int(c) print total […] How should I modify this

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Steven D'Aprano
Thomas 'PointedEars' Lahn wrote: > This is safer: > > | >>> from re import split > | >>> split(r'\s*,\s*', '1.23, 2.4, 3.123') > | ['1.23', '2.4', '3.123'] Safer, slower, and unnecessary. There is no need for the nuclear-powered bulldozer of regular expressions just to crack this tiny peanut. W

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Peter Otten wrote: > Thomas 'PointedEars' Lahn wrote: >> […] But float() is always necessary for computing the sum and suffices >> indeed together with s.split() if s is just a comma-separated list of >> numeric strings with optional whitespace leading and trailing the comma: >> >> print(sum

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Chris Angelico
On Mon, Jan 12, 2015 at 11:09 AM, Peter Otten <__pete...@web.de> wrote: >> >> print(sum(map(lambda x: float(x), s.split(','))) >> >> Please trim your quotes to the relevant minimum. > > Hm, can you explain what this > > lambda x: float(x) > > is supposed to achieve? I mean other than to confuse a

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Peter Otten
Thomas 'PointedEars' Lahn wrote: > Joel Goldstick wrote: > >> On Sun, Jan 11, 2015 at 6:12 PM, Thomas 'PointedEars' Lahn >> wrote: >>> Joel Goldstick wrote: Am I missing something. >>>^ >>> […] >>> You are missing a leading space character because in the string the >

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Mark Lawrence
On 11/01/2015 23:07, Thomas 'PointedEars' Lahn wrote: Store Makhzan wrote: I have this script which can calculate the total of numbers given in a string […] total = 0 for c in '0123456789': total += int(c) print total […] How should I modify this script to find the total of if the numbers

Re: MS-DOS Commands

2015-01-11 Thread Mark Lawrence
On 11/01/2015 22:13, Jenacee Owens wrote: I'm new to python and every time i type a command into the MS-DOS Commands it looks like this. strings Traceback";line 1 in name error:name strings'is not defined how can i fix this? Others have already commented, so I'll just ask would you be m

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Joel Goldstick wrote: > On Sun, Jan 11, 2015 at 6:12 PM, Thomas 'PointedEars' Lahn > wrote: >> Joel Goldstick wrote: >>> Am I missing something. >>^ >> […] >> You are missing a leading space character because in the string the comma >> was followed by one. > > I see that

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Joel Goldstick
On Sun, Jan 11, 2015 at 6:12 PM, Thomas 'PointedEars' Lahn wrote: > Joel Goldstick wrote: > >> Thomas 'PointedEars' Lahn wrote: >>> Joel Goldstick wrote: my_list = "1.23, 2.4, 3.123".split(",") that will give you ['1.23', '2.4', '3.123'] >>> >>> No, it gives >>> >>> […] >>> | >>> my

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Joel Goldstick wrote: > Thomas 'PointedEars' Lahn wrote: >> Joel Goldstick wrote: >>> my_list = "1.23, 2.4, 3.123".split(",") >>> >>> that will give you ['1.23', '2.4', '3.123'] >> >> No, it gives >> >> […] >> | >>> my_list = "1.23, 2.4, 3.123".split(",") >> | >>> my_list >> | ['1.23', ' 2.4', ' 3

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Grant Edwards
On 2015-01-11, Joel Goldstick wrote: > That's fine, but its different than your original question. In your > original question you had a string of floats separated by commas. To > solve that problem you need to first split the string on the commas: > > my_list = "1.23, 2.4, 3.123".split(",") >

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Store Makhzan wrote: > I have this script which can calculate the total of numbers given in a > string […] > total = 0 > for c in '0123456789': >total += int(c) > print total > > […] > How should I modify this script to find the total of if the numbers given > in the string form have decimal

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Joel Goldstick
On Sun, Jan 11, 2015 at 5:20 PM, Thomas 'PointedEars' Lahn wrote: > Joel Goldstick wrote: > >> my_list = "1.23, 2.4, 3.123".split(",") >> >> that will give you ['1.23', '2.4', '3.123'] > > No, it gives > > | $ python > | Python 2.7.9 (default, Dec 11 2014, 08:58:12) > | [GCC 4.9.2] on linux2 > | T

Re: MS-DOS Commands

2015-01-11 Thread Joel Goldstick
On Sun, Jan 11, 2015 at 5:13 PM, Jenacee Owens wrote: > I'm new to python and every time i type a command into the MS-DOS Commands it > looks like this. > strings > > Tracebackfile "";line 1 in > name error:name strings'is not defined > > how can i fix this? Nothing to do with DOS, ther

Re: MS-DOS Commands

2015-01-11 Thread Gary Herron
On 01/11/2015 02:13 PM, Jenacee Owens wrote: I'm new to python and every time i type a command into the MS-DOS Commands it looks like this. strings Traceback";line 1 in name error:name strings'is not defined how can i fix this? What where you trying to accomplish, and what did you expect

Re: MS-DOS Commands

2015-01-11 Thread Ian Kelly
On Sun, Jan 11, 2015 at 3:13 PM, Jenacee Owens wrote: > I'm new to python and every time i type a command into the MS-DOS Commands it > looks like this. > strings > > Tracebackfile "";line 1 in > name error:name strings'is not defined That error is from the Python interpreter, not MS-DO

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Thomas 'PointedEars' Lahn
Joel Goldstick wrote: > my_list = "1.23, 2.4, 3.123".split(",") > > that will give you ['1.23', '2.4', '3.123'] No, it gives | $ python | Python 2.7.9 (default, Dec 11 2014, 08:58:12) | [GCC 4.9.2] on linux2 | Type "help", "copyright", "credits" or "license" for more information. | >>> my_list

MS-DOS Commands

2015-01-11 Thread Jenacee Owens
I'm new to python and every time i type a command into the MS-DOS Commands it looks like this. >>>strings Traceback";line 1 in name error:name strings'is not defined how can i fix this? -- https://mail.python.org/mailman/listinfo/python-list

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Joel Goldstick
On Sun, Jan 11, 2015 at 3:26 PM, Store Makhzan wrote: > On Sunday, January 11, 2015 at 2:06:54 PM UTC-6, Joel Goldstick wrote: >> On Sun, Jan 11, 2015 at 2:31 PM, Store Makhzan wrote: >> > I have this script which can calculate the total of numbers given in a >> > string >> > script - >>

Re: DICOM to jpg

2015-01-11 Thread Dan Stromberg
On Sun, Jan 11, 2015 at 5:01 AM, Abdul Abdul wrote: > Hello, > > Is there a way to convert a DICOM file to an image using Python? > > Thanks. Does GDCM do what you need? http://gdcm.sourceforge.net/wiki/index.php/Main_Page -- https://mail.python.org/mailman/listinfo/python-list

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Store Makhzan
On Sunday, January 11, 2015 at 2:06:54 PM UTC-6, Joel Goldstick wrote: > On Sun, Jan 11, 2015 at 2:31 PM, Store Makhzan wrote: > > I have this script which can calculate the total of numbers given in a > > string > > script - > > total = 0 > > for c in '0123456789': > >total += int(c)

Re: Using a ChangeLog as a canonical source of package metadata

2015-01-11 Thread Ben Finney
Steven D'Aprano writes: > I currently read this metadata from the Python code itself. The > advantages of putting the metadata into the source code include: > > - the source code is the definitive source of information about itself; The Changelog document should be in the same source tree and ma

Re: Generate jpg files using line length (pixels) and orientation (degrees)

2015-01-11 Thread Dave Angel
On 01/11/2015 02:41 PM, semeon.ri...@gmail.com wrote: On Saturday, 10 January 2015 21:31:25 UTC-6, Denis McMahon wrote: # using lists of values for length in a: for orientation in b: makeimg(length, orientation) -- Denis McMahon, denismfmcma...@gmail.com The code is working c

Re: extracting numbers with decimal places from a string

2015-01-11 Thread Joel Goldstick
On Sun, Jan 11, 2015 at 2:31 PM, Store Makhzan wrote: > I have this script which can calculate the total of numbers given in a string > script - > total = 0 > for c in '0123456789': >total += int(c) > print total > script - > > How should I modify this script to find the tota

Re: Generate jpg files using line length (pixels) and orientation (degrees)

2015-01-11 Thread Denis McMahon
On Sun, 11 Jan 2015 11:41:28 -0800, semeon.risom wrote: > The code is working correctly. Thank you! The only change I had to make > was referring to it as a float instead of an integer. > > The images are generating, however I'm noticing that it's making an > image for every possible pair in each

Re: Generate jpg files using line length (pixels) and orientation (degrees)

2015-01-11 Thread semeon . risom
On Saturday, 10 January 2015 21:31:25 UTC-6, Denis McMahon wrote: > On Fri, 09 Jan 2015 09:49:25 -0800, semeon.risom wrote: > > > Thank you for the help btw. I think I'm close to a solution, but I'm > > having issue feeding the coordinates from my csv file into the formula. > > > > This is the e

extracting numbers with decimal places from a string

2015-01-11 Thread Store Makhzan
I have this script which can calculate the total of numbers given in a string script - total = 0 for c in '0123456789': total += int(c) print total script - How should I modify this script to find the total of if the numbers given in the string form have decimal places? That

Re: Help running python tests on MIPS

2015-01-11 Thread rramesh1
On Sunday, January 11, 2015 at 1:39:20 AM UTC-8, Steven D'Aprano wrote: > Ramesh wrote: > > > I am new to python. > > > > I downloaded python 2.7.8 tarball, successfully cross compiled it, to make > > sure that the subsystems are correctly built, I tried running the python > > test scripts on the

]beginer] what i need to code simple graphics?

2015-01-11 Thread fir
what i need to code simple graphic in python? Im totally new in python, though im moderately experienced in c 2d perpixel graphic probably, or other kind of graphic too -- https://mail.python.org/mailman/listinfo/python-list

Re: Help running python tests on MIPS

2015-01-11 Thread rramesh1
On Sunday, January 11, 2015 at 1:45:33 AM UTC-8, Steven D'Aprano wrote: > Ramesh wrote: > > > I am new to python. > > > > I downloaded python 2.7.8 tarball, successfully cross compiled it, to make > > sure that the subsystems are correctly built, I tried running the python > > test scripts on the

Re: Using a ChangeLog as a canonical source of package metadata (was: Announce: PyPrimes 0.2.1a)

2015-01-11 Thread Steven D'Aprano
Ben Finney wrote: [...] > The perils of duplicate sources of information: a Changelog makes claims > about which version is latest, but the packaging metadata comes from > somewhere else. > > This problem is addressed quite well, in my opinion, by the Debian > packaging tools. The tools by default

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Mark Lawrence
On 11/01/2015 16:04, Grant Edwards wrote: On 2015-01-10, Chris Angelico wrote: On Sun, Jan 11, 2015 at 5:05 AM, Rick Johnson wrote: EXAMPLE 1: "Reducing Comprehension" https://docs.python.org/2/howto/doanddont.html#using-the-batter

Re: Few coding suggestions

2015-01-11 Thread Denis McMahon
On Sun, 11 Jan 2015 17:14:35 +0530, Ganesh Pal wrote: > (a) How do I modify the output to have an another column with a > difference of 5 mins I'm not sure I understand the problem you're trying to solve, and it seems to me that you are presenting your problem in terms of your partial solution

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Rustom Mody
On Sunday, January 11, 2015 at 10:49:11 PM UTC+5:30, Chris Angelico wrote: > On Mon, Jan 12, 2015 at 4:11 AM, Michael Torrie wrote: > > The last post by RR helping someone with a tk problem was very helpful, > > and rather elucidating, as are most of his post on tk. ... > > Now perhaps there are

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Chris Angelico
On Mon, Jan 12, 2015 at 4:11 AM, Michael Torrie wrote: > The last post by RR helping someone with a tk problem was very helpful, > and rather elucidating, as are most of his post on tk. ... > Now perhaps there are two RRs, in some sort of conflict in > the same person. Sad to see this one winnin

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Michael Torrie
On 01/11/2015 09:04 AM, Grant Edwards wrote: > 3) There are still people who read RR posts? The last post by RR helping someone with a tk problem was very helpful, and rather elucidating, as are most of his post on tk. It was rather refreshing to see several posts like this. I thought perhaps th

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Chris Angelico
On Mon, Jan 12, 2015 at 3:04 AM, Grant Edwards wrote: > On 2015-01-10, Chris Angelico wrote: >> 1) Why are you focusing on the /2/ docs, rather than /3/? >> 2) Why are you ranting, rather than submitting docs patches? > > 3) There are still people who read RR posts? Yeah, there are. Steven summa

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Grant Edwards
On 2015-01-10, Chris Angelico wrote: > On Sun, Jan 11, 2015 at 5:05 AM, Rick Johnson > wrote: >> >> EXAMPLE 1: "Reducing Comprehension" >> https://docs.python.org/2/howto/doanddont.html#using-the-batteries >> ===

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Dan Sommers
On Sun, 11 Jan 2015 06:20:34 -0800, Rustom Mody wrote: > A favorite example of mine is automata-acceptance: > If > δ : Q × Σ → Q is a transition function > F is the set of final states > q₀ is the start state > and s is a string > > then > reduce(δ,q₀,s) ∈ F > expresses "automaton accepts strin

Re: Few Coding suggestions - resending

2015-01-11 Thread Dave Angel
On 01/11/2015 06:47 AM, Ganesh Pal wrote: Hello Team, Iam trying to generate a file which should have the contents in the below format # cat /root/schedule.conf Sunday 10:20 10:30 Sunday 10:30 10:40 Sunday 10:50 10:60 I have to build the above format on the local linux machine using pytho

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Rustom Mody
On Sunday, January 11, 2015 at 10:56:11 AM UTC+5:30, Devin Jeanpierre wrote: > On Sat, Jan 10, 2015 at 6:32 PM, Steven D'Aprano wrote: > > At the point you are demonstrating reduce(), if the reader doesn't > > understand or can't guess the meaning of "n = 4", "n+1" or range(), they > > won't unders

VipIMAGE 2015 - ANNOUNCEMENT & CALL FOR CONTRIBUTIONS

2015-01-11 Thread tava...@fe.up.pt
Dear Colleague, We are pleased to announce the International Conference VipIMAGE 2015 - V ECCOMAS THEMATIC CONFERENCE ON COMPUTATIONAL VISION AND MEDICAL IMAGE PROCESSING (www.fe.up.pt/~vipimage) to be held October 19-21, 2015, in H10 Costa Adeje Palace, Costa Adeje, Tenerife, Spain. Possible

DICOM to jpg

2015-01-11 Thread Abdul Abdul
Hello, Is there a way to convert a DICOM file to an image using Python? Thanks. -- https://mail.python.org/mailman/listinfo/python-list

ANN: python-ldap 2.4.19

2015-01-11 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.19 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Few Coding suggestions - resending

2015-01-11 Thread Ganesh Pal
Hello Team, Iam trying to generate a file which should have the contents in the below format # cat /root/schedule.conf Sunday 10:20 10:30 Sunday 10:30 10:40 Sunday 10:50 10:60 I have to build the above format on the local linux machine using python 2.7 version and then copy the file to the

Few coding suggestions

2015-01-11 Thread Ganesh Pal
Hello Team, Iam trying to generate a file which would will should the contents in the below format # cat /root/schedule.conf Sunday 10:20 10:30 Sunday 10:30 10:40 Sunday 10:50 10:60 I have to build the above format on the local linux machine using python 2.7 version and then copy the file to

Re: Python : writing to a file

2015-01-11 Thread Peter Otten
Ganesh Pal wrote: > On Sun, Jan 11, 2015 at 2:17 PM, Dave Angel wrote: >> >> >> You chopped off the output there. It probably looked like this: >> >> >> node-1# cat test_2.txt >> Sundaynode-1# >> >> >> Your output is there, right before the prompt. Since you neglected the >> newline in your cod

Re: Python : writing to a file

2015-01-11 Thread Ganesh Pal
On Sun, Jan 11, 2015 at 2:17 PM, Dave Angel wrote: > > > You chopped off the output there. It probably looked like this: > > > node-1# cat test_2.txt > Sundaynode-1# > > > Your output is there, right before the prompt. Since you neglected the > newline in your code, that's what you'd expect, wou

Re: Help running python tests on MIPS

2015-01-11 Thread Steven D'Aprano
Ramesh wrote: > I am new to python. > > I downloaded python 2.7.8 tarball, successfully cross compiled it, to make > sure that the subsystems are correctly built, I tried running the python > test scripts on the MIPS based target board. I hit the below error while I > do so, On second thoughts,

Re: Help running python tests on MIPS

2015-01-11 Thread Steven D'Aprano
Ramesh wrote: > I am new to python. > > I downloaded python 2.7.8 tarball, successfully cross compiled it, to make > sure that the subsystems are correctly built, I tried running the python > test scripts on the MIPS based target board. I hit the below error while I > do so, [...] > I tried setti

Re: PyWart: Poor Documentation Examples

2015-01-11 Thread Steven D'Aprano
Ethan Furman wrote: > On 01/10/2015 06:32 PM, Steven D'Aprano wrote: >> >> If you treat your readers as idiots, only idiots will read your writing. > > Or the morbidly curious, which I presume covers your case (along with a > handful of others ;) . Reading Rick is like taking bad drugs. Every

Re: Python : writing to a file

2015-01-11 Thread Dave Angel
You accidentally did a Reply instead of a Reply-List. So the email came to me and not to the list. if your mail program doesn't support reply-list, do a reply-all and remove the personal addresses. The list is what's important here. On 01/11/2015 12:20 AM, Ganesh Pal wrote: On Sat, Jan 10,