python Programming Glossary: years
Common pitfalls in Python [duplicate] http://stackoverflow.com/questions/1011431/common-pitfalls-in-python I was bitten again by mutable default arguments after many years. I usually don't use mutable default arguments unless needed..
Distributing my python scripts as jars with jython? http://stackoverflow.com/questions/1252965/distributing-my-python-scripts-as-jars-with-jython with jython I have been a python programmer for almost 2 years and I am used to writing small scripts to automate some repetitive..
Do you use the “global” statement in Python? http://stackoverflow.com/questions/146557/do-you-use-the-global-statement-in-python was a Python beginner I used global a lot and how nowadays years later I don't use it at all ever. I even consider it a bit un..
Python: is using “..%(var)s..” % locals() a good practice? http://stackoverflow.com/questions/1550479/python-is-using-vars-locals-a-good-practice example age ... name ... print hello name s you are age s years old locals Sometimes I use its cousin def example2 obj print..
python: list vs tuple, when to use each? http://stackoverflow.com/questions/1708510/python-list-vs-tuple-when-to-use-each have a choice for example if you have hello s you are s years old x then x must be a tuple. But if I am the one who designs..
What are the biggest differences between Python and Ruby from a philosophical perspective [closed] http://stackoverflow.com/questions/234721/what-are-the-biggest-differences-between-python-and-ruby-from-a-philosophical-pe idea to start learning it it will take you at least 1 2 years to become proficient whereas Python will take you a few months..
Why is ''>0 True in Python? [duplicate] http://stackoverflow.com/questions/2384078/why-is-0-true-in-python non hashable items in O N log N worst case time Over the years this pragmatical arrangement was eroded. The first crack was..
What kinds of patterns could I enforce on the code to make it easier to translate to another programming language? http://stackoverflow.com/questions/3455456/what-kinds-of-patterns-could-i-enforce-on-the-code-to-make-it-easier-to-translat for real languages than you expect. We have some 100 man years invested in just DMS and another 6 12 months in each reliable.. black holes. The hardest part of my job over the last 15 years is to try to prevent such assumptions from creeping in . Lots..
Which game scripting language is better to use: Lua or Python? [closed] http://stackoverflow.com/questions/356160/which-game-scripting-language-is-better-to-use-lua-or-python the game. I know that Lua has been very popular in recent years and Python has horrible white space issues however it is making.. Reuben Thomas wrote a very nice bitlib for Lua several years ago now but it is not so easy to find unless you know where..
Python variable scope question http://stackoverflow.com/questions/370357/python-variable-scope-question variable scope question I've been programming for many years and recently started learning Python. The following code works..
Suggestions for a Cron like scheduler in Python? http://stackoverflow.com/questions/373335/suggestions-for-a-cron-like-scheduler-in-python time expression but in Python. Cron has been around for years but I'm trying to be as portable as possible. I cannot rely..
Best way to create a simple python web service [closed] http://stackoverflow.com/questions/415192/best-way-to-create-a-simple-python-web-service python web service closed I've been using python for years but I have little experience with python web programming. I'd..
Python list comprehension rebind names even after scope of comprehension. Is this right? http://stackoverflow.com/questions/4198906/python-list-comprehension-rebind-names-even-after-scope-of-comprehension-is-thi it was one of Python's dirty little secrets for years. It started out as an intentional compromise to make list comprehensions..
Python import MySQLdb error - Mac 10.6 http://stackoverflow.com/questions/4730787/python-import-mysqldb-error-mac-10-6 components as time goes on. I've had good success over the years with MacPorts others prefer Fink or the newer HomeBrew . With..
int((0.1+0.7)*10) = 7 in several languages. How to prevent this? http://stackoverflow.com/questions/6439140/int0-10-710-7-in-several-languages-how-to-prevent-this but when I think of all the bugs I must have made over the years the question is how can I determine Hey this might cause a riddiculous..
Why learn Perl, Python, Ruby if the company is using C++, C# or Java as the application language? [closed] http://stackoverflow.com/questions/84340/why-learn-perl-python-ruby-if-the-company-is-using-c-c-sharp-or-java-as-the the static language that you have been using for several years Update After seeing the first few responses it is clear that..
How to learn Python: Good Example Code? [closed] http://stackoverflow.com/questions/918/how-to-learn-python-good-example-code I feel like I am starting to leave my formative toddler years and ready for some more serious code. Most everything I see..
How do I translate a ISO 8601 datetime string into a Python datetime object? http://stackoverflow.com/questions/969285/how-do-i-translate-a-iso-8601-datetime-string-into-a-python-datetime-object in to during my usage and it hasn't been updated in a few years. dateutil by contrast has been active and worked for me import..
|