Solid Approach For Creating A Desktop Application

2016-10-09 Thread Mahan Marwat
I want to know what will be your approach creating a solid/reliable application in Python? i.e 1. Which GUI framework will you use i.e PyQT or what? (will you make it work removing the window default border) 2. What will you use for it's style/appearance i.e CSS or what? 3. Which tool will you us

Re: Snake Error 🐍

2015-11-05 Thread Mahan Marwat
> Was this on Windows? Yeh, Window 10. -- https://mail.python.org/mailman/listinfo/python-list

Snake Error 🐍

2015-11-05 Thread Mahan Marwat
When I am trying to paste this 🐍 in Python 3.5.0 IDLE. It crashes. Found it on this page: http://www.fileformat.info/info/unicode/char/1f40d/index.htm Does Python have any problem with other snakes? -- https://mail.python.org/mailman/listinfo/python-list

Python Hidden Code

2015-11-05 Thread Mahan Marwat
Repo `that` (Python Hidden Code) purpose is to collect all of the Python Easter Eggs, Idioms etc... in one place. If you have something to contribute, please send PR. Check it here: https://github.com/mahanmarwat/that -- https://mail.python.org/mailman/listinfo/python-list

Re: Django Calendar

2015-09-07 Thread Mahan Marwat
Django is not Python. This question better suits to Django group: https://groups.google.com/forum/#!forum/django-users -- https://mail.python.org/mailman/listinfo/python-list

Re: Why Python is not both an interpreter and a compiler?

2015-08-31 Thread Mahan Marwat
> Python programs *could* easily be compiled the same way, but it generally > hasn't been considered all that useful. If it hasn't been considered all that useful, then why the tools like cx_freeze, pytoexe are doing very hard! And if it is really easy, then why cx_freeze, pytoexe developer are

Why Python is not both an interpreter and a compiler?

2015-08-31 Thread Mahan Marwat
What I know about an interpreter and a compiler is: they both convert source code to machine code and the only difference is, an interpreter convert it, line by line while compiler convert the whole source file. Now if we compile a C source file on C compiler, it will produce a small executable

Is It Bug?

2013-12-07 Thread Mahan Marwat
Why this is not working. >>> 'Hello, World'.replace('\\', '\\') To me, Python will interpret '' to '\\'. And the replace method will replace '\\' with '\'. So, the result will be 'Hello, \World'. But it's give me 'Hello, World'. The result I want form the code is 'Hello, \World'. -

Is It Bug?

2013-12-07 Thread Mahan Marwat
Why this is not working. >>> 'Hello, World'.replace('\\', '\\') To me, Python will interpret '' to '\\'. And the replace method will replace '\\' with '\'. So, the result will be 'Hello, \World'. But it's give me 'Hello, World'. The result I want form the code is 'Hello, \World'. -