<html><head></head><body><div class="ydp4c480265yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false">Hello,</div><div dir="ltr" data-setdir="false"> I just ran that now and it has an error by this line:</div><div dir="ltr" data-setdir="false"><span> yield from cls.make_tree(path, parent=displayable_root,is_last=is_last,criteria=criteria)</span><br></div><div dir="ltr" data-setdir="false"><span>At or around line 40.</span></div><div dir="ltr" data-setdir="false"><span>please advise.</span></div><div dir="ltr" data-setdir="false"><span>thanks,</span></div><div dir="ltr" data-setdir="false"><span>Greg</span></div><div><br></div>
</div><div id="yahoo_quoted_1025073681" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, December 9, 2022 at 01:42:29 PM MST, James Mcphee via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv5205379838"><div><div dir="ltr"><a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://stackoverflow.com/questions/9727673/list-directory-tree-structure-in-python">https://stackoverflow.com/questions/9727673/list-directory-tree-structure-in-python</a><br clear="none"></div><br clear="none"><div class="yiv5205379838gmail_quote"><div id="yiv5205379838yqt76364" class="yiv5205379838yqt0709709992"><div dir="ltr" class="yiv5205379838gmail_attr">On Fri, Dec 9, 2022 at 12:07 PM T Zack Crawford via PLUG-discuss <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:plug-discuss@lists.phxlinux.org" target="_blank" href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv5205379838gmail_quote">
<div>
<span dir="ltr" style="margin-top:0px;margin-bottom:0px;">The command utility `pass` has something looking almost exactly like this. It's a password manager that's really more like a frontend wrapper for decrypting gpg files located in ~/.password-store . It's not a very complicated program, maybe check out the source code to see what they do. <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://www.passwordstore.org/">https://www.passwordstore.org/</a></span> <br clear="none">
<div><br clear="none">
<div>
<p>Dec 9, 2022 09:58:22 Thomas Scott via PLUG-discuss <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:plug-discuss@lists.phxlinux.org" target="_blank" href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>>:</p>
</div>
<blockquote style="margin:0px;border-left:3px solid rgb(204,204,204);padding-left:10px;">
<div dir="ltr">
<div style="font-size:small;font-family:arial, sans-serif;" class="yiv5205379838gmail_default">
Is the utility `tree` an option? You can also use a subprocess call to call it from within Python. <br clear="none">
</div>
<div style="font-size:small;font-family:arial, sans-serif;" class="yiv5205379838gmail_default"><br clear="none">
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div><font face="arial, sans-serif">Best Regards, </font>
</div>
<div><font face="arial, sans-serif">-Thomas Scott</font>
</div>
</div>
</div>
</div>
</div>
</div><br clear="none">
</div><br clear="none">
<div class="yiv5205379838gmail_quote">
<div dir="ltr" class="yiv5205379838gmail_attr">
On Fri, Dec 9, 2022 at 11:53 AM trent shipley via PLUG-discuss <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:plug-discuss@lists.phxlinux.org" target="_blank" href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br clear="none">
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv5205379838gmail_quote">
<div dir="ltr"><br clear="none">
<div>
Does anyone know how to get an ASCII/Unicode pretty-print of a directory tree, preferably using a Python library or utility. I wanted one to ask a list for help, but my Google-foo was not up to the task. A working Google search string would be even better than "here follow the link to the utility on GitHub."
</div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
Trent
</div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<pre style="padding:0px;overflow:auto hidden;color:rgb(62,67,73);clear:both;font-size:0.9em;line-height:1.3;font-family:Consolas, Menlo, Sans Vera Sans monospace;margin-top:0px;margin-bottom:0px;">/home/user/Projects/flask-tutorial
├── flaskr/
│ ├── __init__.py
│ ├── db.py
│ ├── schema.sql
│ ├── auth.py
│ ├── blog.py
│ ├── templates/
│ │ ├── base.html
│ │ ├── auth/
│ │ │ ├── login.html
│ │ │ └── register.html
│ │ └── blog/
│ │ ├── create.html
│ │ ├── index.html
│ │ └── update.html
│ └── static/
│ └── style.css
├── tests/
│ ├── conftest.py
│ ├── data.sql
│ ├── test_factory.py
│ ├── test_db.py
│ ├── test_auth.py
│ └── test_blog.py
├── venv/
├── setup.py
└── MANIFEST.in</pre>
</div>
</div> ---------------------------------------------------<br clear="none"> PLUG-discuss mailing list: <a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br clear="none"> To subscribe, unsubscribe, or to change your mail settings:<br clear="none"> <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br clear="none">
</blockquote>
</div>
</blockquote>
</div>
</div>
---------------------------------------------------<br clear="none">
PLUG-discuss mailing list: <a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br clear="none">
To subscribe, unsubscribe, or to change your mail settings:<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br clear="none">
</blockquote></div></div><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div dir="ltr" class="yiv5205379838gmail_signature">James McPhee<br clear="none"><a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:jmcphe@gmail.com" target="_blank" href="mailto:jmcphe@gmail.com">jmcphe@gmail.com</a></div>
</div></div><div class="yqt0709709992" id="yqt01312">---------------------------------------------------<br clear="none">PLUG-discuss mailing list: <a shape="rect" ymailto="mailto:PLUG-discuss@lists.phxlinux.org" href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br clear="none">To subscribe, unsubscribe, or to change your mail settings:<br clear="none"><a shape="rect" href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br clear="none"></div></div>
</div>
</div></body></html>