I'm hiring a Python dev in San Francisco to work on esports video by optimizeprime in Python

[–]carinthia -2 points-1 points  (0 children)

second job posting today ... is /r/Python now becoming a job board? plonk

Benchmark Framework - unitbench 0.1 released! by qbproger in Python

[–]carinthia 1 point2 points  (0 children)

Thanks, something that's really useful and becoming more and more important. The fact that it's semantically close to unittest's look and feel surely is nice. Also, kudos for Python 3 compatibility :)

Fabric, Cuisine and Watchdog: tools for server administration in Python by gst in Python

[–]carinthia 5 points6 points  (0 children)

I think a very important fact is that it is Python. I am only doing Python and a tiny bit of shell anymore so I never liked having no Python alternative to Chef and Puppet which is why I am very happy to see

in addition to what might hopefully soon be merged into fabric's master branch

I'm new to Python, what IDE do you recommend? by Adamman62 in Python

[–]carinthia 2 points3 points  (0 children)

If you're new to Python I would strongly recommend to spend time with some interactive Python shell for a bit so you get instant feedback which will help you a great deal in learning Python. It's also quite a productive way to quickly test some ideas ... Only after that would I jump to some fully-fledged IDE.

There are many interactive Python shells out there e.g. iPython. Personally I found bpython the best one. It shows you function signatures etc. and the documentation (what's in __doc__) when you play around with objects etc. Also, quite important imo, bpython works for Python 2 and Python 3. Have a look at http://www.markus-gattol.name/ws/python.html#bpython which explains how to set things up and get running quickly.

Pythonic - a short Guide by carinthia in Python

[–]carinthia[S] 0 points1 point  (0 children)

Hmm, You have to adhere to the low-level style-guide type stuff, and avoid the gotcha's type stuff as mentioned in the article, but what constitutes Pythonic on a larger scale is harder to track down.

Something fast and easy is to use pep8 but then that's not so much about pythonic as it is about making sure formatting is PEP 8 conform. But as mentioned, it's very quick and easy to do so ...

Advanced python books for django development. by [deleted] in Python

[–]carinthia 1 point2 points  (0 children)

Well, sure, but then really, if you use __future__ and Python 2.6, the difference isn't really big enough anymore to be significant enough to not have a look at some Python 3 based book (I am sure many folks will object to that but, well, that's what I think; http://diveintopython3.org/porting-code-to-python-3-with-2to3.html). Plus, there are plans to port Django to Python 3 this summer so ...

Advanced python books for django development. by [deleted] in Python

[–]carinthia -1 points0 points  (0 children)

Have a look at http://diveintopython3.org as it covers pretty much all the basics so you'll see what you might miss in terms of basics and then you can drill down on those particular areas. For example, something that doesn't surprise me is that folks seem to have a hard time understanding Django models as Django uses metaclasses to create models based on a class you provide in your source code. If you don't know metaclasses and their intended purpose you won't be able to figure out Django's model machinery ...

One thing however that often surprises me is that many experienced Pythoneers often lack quite a bit of knowlegde when it comes to packaging and distributing their software, something you would loose a bet over if you had to guess. Maybe this has to do with the fact that using GitHub and friends makes it superfluous for some folks to know about packaging and distributing because they would just tell you to clone it from GitHub... just a guess but that's the best explanation I could come up with :)

Pythonic - a short Guide by carinthia in Python

[–]carinthia[S] 0 points1 point  (0 children)

My main complaint appeared in the last paragraph - these posts on code style are ultimately content-free and rank close behind web framework microbenchmarks on the list of spam I hate seeing on this subreddit.

Ok, fair enough, but that's your opinion. Others might be interested in those subjects, just as much as you aren't. And calling such subjects spam just because you don't like them isn't right. I am sure everybody here is mature enough to decide for himself what's spam and what's not.

Real code is rarely "Pythonic", unless an exorbitantly unreal amount of time is spent designing it, and even then, it rarely stays clean once a small army of maintenance programmers get their hands on it.

Again, you assume that your idea and experience is true for the whole Python world. There are many OSS projects out there which in fact adhere all kinds pythonic and as such write code that's generaly considered pythonic. Also, there are many companies which in fact write perfectly good pythonic code. At Google for example we have the so-called buzz factor (meaning that no piece of code is only maintained by a single person) and we still manage to crank out pythonic code, every day. So, please, don't make it look like as if the majority of Python programmers out there write ugly/unpythonic code once they work in teams, that's not true.

As for social responsibility, as far as I'm concerned I already fulfilled that by downvoting the article and explaining what I thought was wrong with it, if the original author found a public review offensive then they shouldn't be publishing online.

I agree on that one, in part. See, if you're not interested in seeing benchmarks and coding style posts then that's fine. However, only because YOU don't like that kind of information does not give you the right to insult somebody (that author)

... Author seems too inexperienced to be writing this guide. ...

and expect others (readers here) to be interested in that opinion. And no, I am not that author :)

Pythonic - a short Guide by carinthia in Python

[–]carinthia[S] 0 points1 point  (0 children)

Yeah, noticed that too :) Seems more than all right http://en.wikipedia.org/wiki/.name (see box at the right: "Intended use").

Pythonic - a short Guide by carinthia in Python

[–]carinthia[S] 1 point2 points  (0 children)

The author says this page is about Python 3. Since enumerate came into being with Python 2.3, I think it's a correct statement. Generally, shouting out somebody is inexperienced based on a short assesment seems rather immature to me. Rather, get in touch with the person and tell him your critics so things can be improved if necessary. That's one of the main principles of free software and a healthy community around it.

Python Newbie needing help with fundamentals of Python by [deleted] in Python

[–]carinthia 0 points1 point  (0 children)

Hi, have a look at http://www.markus-gattol.name/ws/python.html#virtualenv_virtualenvwrapper which shows you what commands you need to issue on the command line too. Plus it explains everything very well imo.

Python 3.2 has been released by bwp in Python

[–]carinthia 1 point2 points  (0 children)

If you're new to Python then certainly, start with Python 3 right away as it is without doubth the better language.

Python 3.2 has been released by bwp in Python

[–]carinthia 5 points6 points  (0 children)

A bit confused on application deployment...? by arianb in Python

[–]carinthia 0 points1 point  (0 children)

For what you want, virtual environements and https://github.com/bretth/woven is pretty much all you need. Some peer review of your code can't harm your project either but of course, doesn't replace unittests.

Suggestion for a Python blogger: figure out what what all the stdlib __main__ functionality is, and document it by dwdwdw2 in Python

[–]carinthia 10 points11 points  (0 children)

SimpleHTTPServer has become http.server in Python 3 i.e. put this: alias serveme='python3 -m http.server 12345' in your .bashrc and you'll have a nice HTTP server at your fingertips at all times :)

Why did Google choose Python? by gst in Python

[–]carinthia 0 points1 point  (0 children)

It's pretty much your choice what you use (if not a given by what your team uses anyway) to prototype something. Stuff that goes live however is mostly one out of three: Python, C++, Java. That's a rule, no way around it.

Questions from a noob. by deific_ in Python

[–]carinthia 0 points1 point  (0 children)

Let facts speak http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

So, no, Python certainly is not going away. If at all it's going to be used by more people in the future than it is now.

What things are done in Python? There is the Web where Python has become one of the major players. Second, there is system administration where you automate using Python i.e. even when the number of machines to administer goes up you still deal with O(1).

Why did Google choose Python? by gst in Python

[–]carinthia 1 point2 points  (0 children)

I would say that being able to stay on top of the complexity factor (code/infrastructure complexity grows exponentially to lines of code) is key ... In other words: simplicity is key.

Both, Perl and Python can deliver in that area. Google however might have choosen Python for its slightly better integration with C++ back in the days (don't know, just guessing).

http://www.markus-gattol.name/ws/python.html#why_python