Bahram Aghaei

Results 17 issues of Bahram Aghaei

Hello there, I think, you should modify the type hints, since the `xdist` and `ydist` are both integer, so sum of them is going to be integer too, right? https://github.com/davecom/ClassicComputerScienceProblemsInPython/blob/57d5f945e20eab0b88bea202d5a01e7318a5a613/Chapter2/maze.py#L100-L105

I think it's good idea to add `list` option by which user can print all available terminal sessions has being captured up to now. Thanks

Hello there, Recently systemd guys added the [namespace](https://wiki.archlinux.org/index.php/Systemd/Journal#Per_unit_size_limit) feature, I want to log to a specific journal namespace inside my Python code, How can I achieve this behaviour? Can I...

Hi Bob, How is it going? Have you thought of supporting different web drivers? I did a bit of research, and it turns out they support the same functionality, but...

hacktoberfest

https://github.com/mhajiloo/persiantools/blob/a88112b5955cb8214e84467357bee61cc01242ba/persiantools/utils.py#L7 I think the message should be better than this, since we don't have string type in python. something like `"string must be str, not {}".format(string.__class__.__name__)`

I think you can write a new function like `convert_numbers` and accept `from` and `to` from the user. So? Then you don't need four functions that basically do the same...

It seems you don't need `utils` at all. You can use some kind of comprehension to make the code even much more readable and independent. ```python return ''.join( dic.get(char, char)...

People usually use `compile` object, when they want to use the sample pattern thousand of times, here you don't need it (maybe). https://github.com/mhajiloo/persiantools/blob/a88112b5955cb8214e84467357bee61cc01242ba/persiantools/utils.py#L9

https://github.com/mhajiloo/persiantools/blob/a88112b5955cb8214e84467357bee61cc01242ba/persiantools/utils.py#L14-L32 `isintance` takes a tuple of classes for the second argument. So you could basicly do something like this: ```python3 if not isinstance(value, (int, float)): raise TypeError('value should int or...