Skip to main content

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

Generic badge

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

  1. Fork it ( https://github.com/ )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Make sure that the script does not have errors or warnings
  6. Create a new Pull Request

License

This tool is open source under the MIT License terms.

[Back To Top]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

goto_plus-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for goto_plus-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7f5433e1c7988162026196675317478a60834609095c2410a0cb4f6a687df1
MD5 b1be54c6e6472c4c54bce11c4c57505d
BLAKE2b-256 855edc15162fbf4f04f3af718403133b5efbeca8e52a85d42030fcf2214acd68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page