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 hashes)

Uploaded Python 3

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