GithubHelp home page GithubHelp logo

okempi / fandle Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 15 KB

File handling library for python (dont have high expectations :D)

License: MIT License

Python 100.00%
file filehandling filesystem handling library python3

fandle's Introduction

Fandle

File handling library for python

Commands:

print(Fandle.Version)

  • prints out the current version of the library

write_list (arguments: list, file (variable that opens the file), spaces (True/False)

  • If you specify that: "spaces == True" the command writes the list with spaces

  • Takes your pre-defined arguemts and writes them into a file

write_tuple (arguments: tuple, file (variable that opens the file), spaces(True/False)

  • If you specify that: "spaces == True" the command writes the list with spaces

  • Takes your pre-defined arguemts and writes them into a file

write_set (arguments: set, file (variable that opens the file), spaces(True/False)

  • If you specify that: "spaces == True" the command writes the list with spaces

  • Takes your pre-defined arguemts and writes them into a file

sort (arguments: constant)

  • (You can use list with dicts in it)

findIn_dict (arguments: dict/list (of dicts), keyword)

  • Finds value in the dict/list of dicts using the set keyword

check_write (arguments: data (It can be: str, int, float, range, set, tuple, list))

  • Checks if you can write something into any file (right now it only checks in .txt file)

CauseOfcheck_write (arguments: data (It can be: str, int, set, tuple, list))

  • Checks if you can write the argument into any file (right now it only checks in .txt file)

  • Gives an error at the part that did not work

write_eachLine (arguments: data (It can be: list, set, tuple, dict), file (variable that opens the file), space(True/False))

  • Takes your pre-defined argument and uses it to write each part on one line

  • If you specify that: "space == True" the command writes it with space beforehand

delete (arguments: file (variable that opens the file))

  • Deletes the file you chose

fandle's People

Contributors

okempi avatar

Stargazers

 avatar

Watchers

 avatar

fandle's Issues

Watafak

Repair the "constant" in sort

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.