I have move the large number of Python scripts from the myrobotlab repo and moved it to pyrobotlab.
https://github.com/MyRobotLab/pyrobotlab
Python examples menu now opens a link directly to the github location.
A repository is a great thing, I highly recommend utilizing it. It provides a common way others can look, change, enhance or benefit from common code. It also provides stability - so changes can be controlled or rolledback if necessary.
The structure is very simple :
- a home directory is provided for anyone who wants their own directory. This is where you can create anything you want to develop with others or share
- a service directory - this is where all the tested service scripts will be. These allow easy reference on what functions a service can provide.
- a toSort directory contains all the scripts which have not yet been sorted.
-
Its advisable to make "references" to repo files rather than copy paste them into comments or blogs - a reference is simple to make just surround the filenam in brackets like this [ [ home/GroG/test.py ] ] This will embed the script in the web page - so that when the script changes - the reference will change too ! Goodtimes
[[home/GroG/test.py]]
Tools
- A script can be edited directly through the web page on github - nice feature.
- Github software - github has its own software which you can use to edit and interact with the repo
- Tortoise GIT - a nice windows file explorer extension - just install it and you can interact with the repo using just windows explorer
If you see something which is out of place, or you know where a toSort file should go please move it. Thanks!
Okay I modified all
Okay I modified all (hopefully) the links of my tutorials on the InMoov site.
Good idea !
Good idea !