MLJAR logo
  • Products
    • MLJAR Studio
    • AI Data Analyst
    • AutoLab Experiments
    • MLJAR AutoML
    • Mercury
  • Docs
  • Research
  • Pricing
  • Blog
  • Contact
Download Studio
  • MLJAR Studio

    • Quick start
    • Install
    • Uninstall
    • New notebook
    • Install new packages
    • AI Data Analyst
    • AutoLab Experiments
    • AI Code Assistant
    • Code Recipes

Cookbook

Python

Collection of Python code recipies.

  • Display Python version

  • Install Package

  • Get current time

  • Get working directory

  • Get environment variable

  • Add .env variable

  • Load secrets from .env

  • Random integer

  • Time delay

  • Check if file exists

  • List files

  • Read file

  • Write to file

  • Append to file

  • Delete file

  • Copy file

  • Delete directory

  • Read JSON from file

  • Write JSON to file

  • Pretty print JSON

Next »
Display Python version
MLJAR Studio
Your Private AI Data Lab
  • Terms of Service
  • Privacy Policy
  • Licenses

Resources

  • Example Python notebooks
  • Fix ModuleNotFoundError
  • Glossary
  • Brand
  • Answers
  • ML Algorithm Comparison
  • Research
  • Solutions

Products

  • MLJAR Studio
  • MLJAR AutoML
  • AI Data Analyst
  • AutoLab Experiments
  • Mercury

Tutorials

  • AutoML in Python: Beginner Tutorial with House Prices

Open Source

  • MLJAR AutoML
  • Mercury
  • More ...

AI Prompts

  • Prompts for Data Professionals
  • Data Analyst prompts
  • Business Analyst prompts
  • Data Scientist prompts
  • ML Engineer prompts
  • Data Engineer prompts
  • MLOps prompts

Compare

  • MLJAR Studio vs Julius
  • MLJAR Studio vs H2O
  • MLJAR Studio vs DataRobot
  • MLJAR Studio vs Jupyter
  • MLJAR Studio vs ChatGPT
  • MLJAR Studio vs Cursor

Company

  • Contact us
  • Services
  • About us
  • Blog
Made by MLJAR. All rights reserved.
Created in 🇵🇱 We ❤ you!