Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example: How to Translate TS Wechaty to Python #10

Open
huan opened this issue Mar 8, 2020 · 1 comment
Open

Example: How to Translate TS Wechaty to Python #10

huan opened this issue Mar 8, 2020 · 1 comment
Labels
🔥 enhancement New feature or request
Milestone

Comments

@huan
Copy link
Member

huan commented Mar 8, 2020

There's a 100 lines class named Image in charge of downloading the WeChat image to different sizes.

It is a great example for demonstrating how do we translate the TypeScript to Python in Wechaty Way:

Image Class Source Code

If you are interested in the translation and want to look at how it works, it will be a good start from reading and comparing those two Image class files in TypeScript and Python at the same time.

Link to Go: wechaty/go-wechaty#26

@huan huan added the 🔥 enhancement New feature or request label Mar 8, 2020
@huan huan pinned this issue Mar 8, 2020
@huan huan changed the title Example: How to Translate TypeScript to Python Example: How to Translate TS Wechaty to Python Mar 8, 2020
@huan
Copy link
Member Author

huan commented Mar 8, 2020

We are working on building an official Python Wechaty, it would be great if we have more python developers to join. Here's an example about how to contribute by rewrite TypeScript to Python in Wechaty Way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant