Skip to content

argomaintainer/chaofeng

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cháofēng

A low-level telnet bbs server framework base on eventlet. It's made up with love and respect.

更多的文档点这里

Hello,World!

from chaofeng import Frame, Server

class HelloFrame(Frame):

def initialize(self):
    self.write('Hello,World!\r\n')
    self.pause()
    self.close()

if __name__ == '__main__' :
    s = Server(HelloFrame)
    s.run()

Test it!

git clone https://github.com/argolab/chaofeng.git
cd chaofeng
python test.py

In client:

telnet localhost 5000

About

A simple telnet bbs server framework for python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%