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.1.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.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tbutil-3.3.25.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5fa8f057ab89b13088e9971b66928949a53c1973d83140eec3b1f38dbda6b640
MD5 50bac4f0d5460066c825ed9990a70371
BLAKE2b-256 018e53cb022e98f6973c466c22fe28aa1882b30439a5b7fd08c04aaee0178440

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tbutil-3.3.25.1-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24e5bd44fb4d19972c2d6e31e7de8d97365432583b1d146af5e21d13a4654465
MD5 3ce7d153d54df7be25e79afbcc5e72e4
BLAKE2b-256 bdbc5f0006ea1630bb91dd212f705c635b2eb6ba6d77beff20363f91d04dcb53

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