libpy

Crates.iolibpy
lib.rslibpy
version0.2.1
sourcesrc
created_at2022-10-30 11:06:26.218638
updated_at2022-10-30 15:39:49.128836
descriptionThis library imports functions from the python standard library.
homepagehttps://github.com/Hy-u-3a4eM/libpy
repositoryhttps://github.com/Hy-u-3a4eM/libpy
max_upload_size
id701427
size16,119
(Hy-u-3a4eM)

documentation

README

libpy

This library imports functions from the python standard library.

Examples

input! macro

use libpy::input;

fn main() {
    let a = input!();
    let b = input!("Enter your name: ");
    
    println!("{}", a);
    println!("{}", b);
}

int! macro

use libpy::int;

fn main() {
    let a = int!();
    let b = int!("42".to_string());

    println!("{}", a);
    println!("{}", b);
}

About

This project was created to make it easier for the programmer to work by importing functions familiar to him.

Commit count: 11

cargo fmt