Nov-18-2024, 11:57 AM
(This post was last modified: Nov-18-2024, 12:30 PM by Gribouillis.)
Hi
I have a tree / table of contents
By right most aligned, I mean the first letter of the first word's starting position 's right alignment relative to pos = 1 cursor from left.
How do I go about doing this?
Thanks
Arvind.
I have a tree / table of contents
Cover 0 0 Copyright 0 0 Credits 0 0 About the Authors 0 0 About the Reviewer 0 0 Link Removed 0 0 Table of Contents 0 0 Preface 0 1 Chapter 1: Current Status of Python 1 2 Why and how does Python change? 2 2 Why and how does Python change? 2 3 Getting up to date with changes – PEP documents 3 4 Python 3 adoption at the time of writing this book 4 5 The main syntax differences and common pitfalls 5 5 The main syntax differences and common pitfalls 5 5 The main syntax differences and common pitfalls 5 6 Syntax changes 6 7 Changes in the standard library 7 8 The popular tools and techniques used for maintaining cross-version compatibility 8 8 The popular tools and techniques used for maintaining cross-version compatibility 8 12 Not only CPython 12 13 Stackless Python 13 13 Stackless Python 13 14 IronPython 14 14 IronPython 14 15 PyPy 15 16 Modern approaches to Python development 16 17 Application-level isolation of Python environments 17 19 Why isolation? 19 21 virtualenv 21 21 virtualenv 21 23 venv 23 24 Which one to choose? 24 24 Which one to choose? 24 25 System-level environment isolation 25 26 Virtual development environments using Vagrant 26 27 Containerization versus virtualization 27 28 Popular productivity tools 28 29 Custom Python shells – IPython, bpython, ptpython, and so on 29 30 bpython 30 30 bpython 30 30 bpython 30 31 Interactive debuggersNow first I have to parse those lines of text that are right most aligned, then the next right most aligned and so on.
By right most aligned, I mean the first letter of the first word's starting position 's right alignment relative to pos = 1 cursor from left.
How do I go about doing this?
Thanks
Arvind.
Gribouillis write Nov-18-2024, 12:30 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Also I removed irrelevant link
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Also I removed irrelevant link