Skip to main content

A tool for python

Project description

toolbox #Documentation of package tb3.2

1.'*' after module name means it can only run on unix-like system. If you want to use and not affected, please type as follows: >>> __import__('os').name='posix' and you can't use these modules. 2.For installing, you may use command: pip install tb --upgrade --user 3.For reference only.


[exe.py]
exe(s): execute python file s
[sfz.py]
sfz(s17): return the check-code of the  sfz
[getch.py]
getch(): return a charater when the user press a key
[std.py]
print() and input(): as builtin functions, but they has some improvement
o: an instance of <class 'simpcout'>, subtract o from several str consecutively
endl='\n'
[prt.py]
fixing, not supported
[str033.py]*
color(c,s): return string s by color-code c
[checkfile.py]*
check(d,**rule): show the user a list to select a file or a folder
 |  start from directory d
 |  rule: the rule for checking
     |  dir: if it's True, allow a direction
     |  file: if it's True, allow a file
     |  other may be _xxx, if it's True, allow the corresponding suffix name .xxx
[tbsocket.py]
class server(host,port,num=1): be a server by socket, and listen num sessions
 |  acpt(): accept a request end return the session object c
 |  close(a): if a=='c', close the session, or else close the socket
 |  recv(): recept a string and retutn it
 |  send(): send a string
class client(): be a client by socket
 |  close(): close the socket
 |  recv() and send() like server

[end]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tbutil-3.3.25.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tbutil-3.3.25-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file tbutil-3.3.25.tar.gz.

File metadata

  • Download URL: tbutil-3.3.25.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for tbutil-3.3.25.tar.gz
Algorithm Hash digest
SHA256 40e9afa08c9e29be77c4914287bcd30fa40ae24bd36ecc8a64f5758d9150206a
MD5 d3331b814912d0e6d9ba876d89b157e0
BLAKE2b-256 c9d66cd93cd9944ef81c78f9dbf5808e92b024a58309e91ab9354f1229ca6623

See more details on using hashes here.

File details

Details for the file tbutil-3.3.25-py3-none-any.whl.

File metadata

  • Download URL: tbutil-3.3.25-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for tbutil-3.3.25-py3-none-any.whl
Algorithm Hash digest
SHA256 462b22e7eabcbf7a8c5ce80501ed7f3c9bb748bac9a0ecd8136516580e7aa619
MD5 b048bdc067e47c3c7a4f8b2f505880e4
BLAKE2b-256 23fa1eb256ca4f9a861c0a3dac02bf571ab80933c6609a2d604f812b3212536d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page