brennerm / PyTricks

Collection of less popular features and tricks for the Python programming language
MIT License
3.07k stars 502 forks source link

Creating a basic type of categorization #58

Closed felipevolpone closed 6 years ago

felipevolpone commented 9 years ago

Hey guys, I just create a basic type of separation in the README.md and created some folders to add the snippets that belong to these subjects. If you agree with this way, I'll continue. Tks

brennerm commented 9 years ago

@felipevolpone, thanks for your proposal. I really like it so far. Here are some notes from my site:

felipevolpone commented 9 years ago

Hey @brennerm, answering your questions:

1) I would put files that involve use of the dunder methods of Python. (http://www.rafekettler.com/magicmethods.html, https://docs.python.org/2/reference/datamodel.html). I'm not sure that we've some snippet to this item.

2) OK

3) The links could send to the folder of that item. What do you think?

4) OK

brennerm commented 9 years ago

1) I can't find an example for now, but I agree with your opinion. 3) Agree :+1:

brennerm commented 9 years ago

Would you like to create the folders and move all files or shall I take care of this?

felipevolpone commented 9 years ago

I can do this, no problem.

brennerm commented 9 years ago

Thank you :)

felipevolpone commented 9 years ago

hey @brennerm, sorry for the delay. I'll do a pull request very soon.

felipevolpone commented 9 years ago

@brennerm verify what I did. I changed a little of my first proposal, but I think it's better now.

brennerm commented 9 years ago

Nice! What do you think about linking directly to the file?

felipevolpone commented 9 years ago

Sounds great, but some categories have more than just one file to link. What do you suggest?

brennerm commented 9 years ago

Yeah you're right. We can leave it as is.