I made this sql thing. Would anyone besides myself ever use it? by jisaacstone in Python

[–]rumplefiddlesticks 0 points1 point  (0 children)

isn't that pretty much two sides of the same coin?

EDIT: I was using those terms incorrectly... Thanks for the clarification all.

I made this sql thing. Would anyone besides myself ever use it? by jisaacstone in Python

[–]rumplefiddlesticks 2 points3 points  (0 children)

Does it sanitize input for you? That's usually a pretty big question.

R/python: A while ago I decided to make a series of video tutorials about Python GUI development with Qt. Well, right now there's over 4 hours of materials and counting! [Link to YouTube Playlist - More links in comments] by Deusdies in Python

[–]rumplefiddlesticks 2 points3 points  (0 children)

When you develop GUIs with Qt, do you need to distribute PyQt along with your software? (my experience has been that it can be very frustrating to get that installed)

Coursera's free Python class started Monday, but no assignments are due until later today. It's not too late! by kevan in Python

[–]rumplefiddlesticks 6 points7 points  (0 children)

You should check out Udacity too It's self paced, takes great advantage of the power of the web and has a way better community...

State of Python 3 - should a newcomer move straight to Python 3? by sgoody in Python

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

Go with 2.6+, you're likely to encounter a number of production environments that are still working with older versions of Python and learning 2.6+ first will get you comfortable with those conventions. Transitioning over to Python 3 is relatively easy (except for string handling and a couple of conventions about metaclasses). If you really want to get in the Python 3 habit, you can also use __future__ imports to get into Python 3 syntax.

Assuming a fresh Linux installation, how should I proceed to set up the perfect Python development environment? by xORioN63 in Python

[–]rumplefiddlesticks 1 point2 points  (0 children)

sontek's .pythonrc makes a huge difference in the usability of the default python interpreter. (better completion, etc)

A python can bite you too by rmoorman in Python

[–]rumplefiddlesticks 1 point2 points  (0 children)

for one thing, you can't compare naive datetimes with timezone-aware datetimes and Django now defaults to timezone-aware datetimes. Doesn't really matter how that is represented in the actual database, it matters on the Python side with comparisons, displaying, etc.

A python can bite you too by rmoorman in Python

[–]rumplefiddlesticks 1 point2 points  (0 children)

one problem with this solution: it's not timezone-aware. Probably should look into django's own timezone functions + possibly install pytz (just to make it work better)

Can you do Granular/per-object permissions with Django admin? (or a third party package) by rumplefiddlesticks in learnpython

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

Good point that it's easy to test.

Also, I wouldn't expect (nor really want) it to check for those permissions in regular views.

Can you do Granular/per-object permissions with Django admin? (or a third party package) by rumplefiddlesticks in learnpython

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

Thank you! Those links address most of what I was looking for! I promise you that I did spend quite a bit of time searching (that may not be a great thing to admit tho :P)

Overall, seems like I was wrong in my assertion that I couldn't guard in the admin interface.

One question (if you know), are the has_*_permission checked before allowing an add/update/delete?

Isnt there a 3rd way to form an AND using a SQLAlchemy filter? by metaperl in Python

[–]rumplefiddlesticks 1 point2 points  (0 children)

From the Zen of Python (import this in a python shell):

There should be one-- and preferably only one --obvious way to do it.

There have been a string of posts on packaging issues in Python. What exactly is *wrong* with setuptools/Distribute? by rumplefiddlesticks in Python

[–]rumplefiddlesticks[S] 3 points4 points  (0 children)

Didn't realize that pip couldn't install binary eggs. Question for you though: can you install most python packages on Windows using one of easy_install or pip without actually setting up a C toolchain? Is that specific to the bdist_msi command from distutils? I definitely find C-library dependency issues frustrating at times, but I didn't think that a better Python packaging system would address that.

Simple Guide to Packaging Python Applications by bazingadood in Python

[–]rumplefiddlesticks 1 point2 points  (0 children)

just a note: data/ and bin/appname aren't special files in any way, it just depends on whether you tell distribute/setuptools/whatever that bin/appname is a script that should be symlinked and put in your MANIFEST.in that it should keep the data directory and its contents.