Python-GoTo
A PyPi module allowing the users' code to navigate to aliased line number within the Python interpreter
How does it work?
User import goto to their project:
from goto_plus import *
and then complete configuration:
gotoconfig(__file__)
Why goto_plus
goto from goto_plus works with line numbers (labels coming very soon) to allows the user dynamic control over the flow of their python code.
###Example
j = 0
j += 1
print(j)
if j < 10: goto(2)
Installation
On bash:
$ pip install goto-plus
On windows:
py -m pip install goto-plus
Manually (NOT RECOMMENDED)
Copy the contents of the file goto.py into you project and proceed accordingly
This file can be found here goto_plus\goto.py
Usage
goto calendar example
To goto calendar example, type:
goto(line)
Example:
IN PROGRESS
from goto_plus.Examples import goto-cal
Contributing
- Fork it ( https://github.com/ )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Make sure that the script does not have errors or warnings
- Create a new Pull Request
License
This tool is open source under the MIT License terms.
Release files for goto-plus 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| goto_plus-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / goto_plus-0.0.1-py3-none-any.whl
| Download URL | goto_plus-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee7f5433e1c7988162026196675317478a60834609095c2410a0cb4f6a687df1
|
|
BLAKE2b-256 checksum How to use checksums |
855edc15162fbf4f04f3af718403133b5efbeca8e52a85d42030fcf2214acd68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.0
|