Some python package collab

So I wanna make a Python package with a bunch of class (e.g. String, Number) and I would like to collab.

  • I wanna join the collab
0 voters
1 Like

Could you elaborate more on this collaboration?

4 Likes

@SnakeyKing what exactly would the classes purpose be? Can you elaborate more on what you are doing (you should lay out the full plan, so we can understand better).

2 Likes

Adding more methods, and making a better version of the normal types.

1 Like

@SnakeyKing wdym by making them better?

1 Like

Well, I’m making a bunch of types/classes

1 Like

Adding more methods.

1 Like

@SnakeyKing what do you mean by more methods?

class methods. for example, replace is a method of str.
so you could do:

mystr = str('Hello, *!')
mystr = mystr.replace('*', 'Joe')

@SnakeyKing can you share an example of the methods you will be adding?

all methods, or the extra ones?

__init__
__eq__
__ne__
__lt__
__gt__
__le__
__ge__
__add__
__sub__
__mul__
__truediv__
replace
__getitem__
__setitem__
__delitem__
lowercase
uppercase
__iadd__
__isub__
__imul__
__itruediv__
...
1 Like

Maybe I’ll join this, but if I don’t, please save yourself a ton of time and inherit str and int.

2 Likes

I shall join all collaborations

this seems kinda useless but I’m bored so why not

2 Likes