Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>but-bythonNew to Visual Studio Code? Get it now.
but-bython

but-bython

Butiaev Development

| (0) | Free
Brackets for Python
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

But-Bython 🐍 { }

But-Bython is a powerful Visual Studio Code extension designed for developers who love Python but prefer C-style syntax. Write code with curly braces and semicolons, and let our engine handle the rest.

✨ Key Features

  • Brackets to Python: Use {} and ; freely. The extension automatically transpiles your code into clean, indented Python.
  • Auto-Fix on Save: Every time you save a .by file, the extension automatically corrects formatting and prepares the script for execution.
  • AI-Powered Diagnostics: Integrated with Google Gemini AI to analyze your logic and highlight errors directly in the editor.
  • Hybrid Imports: Complete flexibility—you can import both traditional .py and new .by files within your project.
  • One-Click Run: Press F5 to instantly save, transpile, and execute your code in the terminal.

🚀 Getting Started

  1. Install the But-Bython extension.
  2. Get your free API Key from Google AI Studio.
  3. Configure the key in VS Code Settings: But-Bython: Api Key.
  4. Create a .by file and start coding:
    import my_logic; // Supports both .by and .py imports
    
    def calculate(x) {
        if (x > 0) {
            print("Positive");
        }
    }
    calculate(10);
    
## 🛠 Commands & Shortcuts
- F5: Save, transpile, and Run the current file.
- Ctrl+S: Save and Auto-Transpile to .py with AI error checking.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft