No project description provided
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file goto_plus-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: goto_plus-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee7f5433e1c7988162026196675317478a60834609095c2410a0cb4f6a687df1 |
|
MD5 | b1be54c6e6472c4c54bce11c4c57505d |
|
BLAKE2b-256 | 855edc15162fbf4f04f3af718403133b5efbeca8e52a85d42030fcf2214acd68 |