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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

tbutil-3.3.25.3-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tbutil-3.3.25.3-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 de8811949f3b13788e93aa5cfe79bc961e768402d2b67436c444524c31ba5f7c
MD5 95a6b8d0f2eca30818183c3d726fc4e4
BLAKE2b-256 79bb182cc64ba1756dfee056ac5b7abff47079a2c835c35b8928168974b1a94c

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