Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>YW_E68New to Visual Studio Code? Get it now.
YW_E68

YW_E68

Thomas Chong

|
22 installs
| (1) | Free
Manage and deploy Python code to robots with limited storage capacity (13MB)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

YW_E68 Extension

A Visual Studio Code extension for managing and deploying Python code to robots with limited storage capacity (13MB).

Features

  • File Organization: Automatically organizes your Python files by moving them to appropriate directories.
  • Code Compilation: Compiles Python files to .pyc format for faster execution.
  • Backup Creation: Creates timestamped backups of your code.
  • Code Deployment: Deploys your code to the robot's removable drive.

Commands

The extension provides the following commands:

  • Robot: Organize Files: Moves Python files (except main.py) to the lib directory.
  • Robot: Create Backup: Creates a timestamped backup of your code.
  • Robot: Compile Code: Compiles Python files to .pyc format.
  • Robot: Deploy to Robot: Copies Python files and their compiled versions to the robot.

Storage Limitations

This extension is designed for robots with limited storage capacity (13MB). Due to these constraints:

  • Virtual environments are not supported
  • Site-packages management is not available
  • Only essential Python files and their compiled versions are deployed

Usage

  1. Organize Your Code:

    • Keep main.py in the root directory
    • Use the "Organize Files" command to move other Python files to the lib directory
  2. Compile Your Code:

    • Use the "Compile Code" command to create .pyc files
    • Compilation errors will be shown in the output
  3. Create Backups:

    • Use the "Create Backup" command before making major changes
    • Backups are stored in the backup directory with timestamps
  4. Deploy to Robot:

    • Connect your robot's drive
    • Use the "Deploy to Robot" command
    • All files will be automatically saved before deployment
    • Select the appropriate removable drive when prompted

Requirements

  • Python installed on your system
  • Visual Studio Code 1.60.0 or higher

Known Issues

  • The extension only works with removable drives (E: through Z:)
  • C: and D: drives are excluded as they are typically internal drives

Contributing

Feel free to submit issues and enhancement requests on the project repository.

License

This extension is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft