technomalogical

- friends
240 link karma
160 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

Multiple Django and Flask Sites with Nginx and uWSGI Emperor by kracekumarin Python

[–]technomalogical 6 points7 points ago

It's Python news. I'd rather see this here than a simple beginners question (which belongs on /r/learnpython).

Python Applets? by OpenGLNubin Python

[–]technomalogical 0 points1 point ago

+1 to the web service idea. If you're not super comfortable with web development, I'd suggest looking at Bottle or Flask as an easy way to wrap a CLI or library. I've used Bottle to do this in the past, but I'm sure Flask would be comparable.

I'll be participating in my first 'career day' at my son's school. Any tips? by kcunningin Python

[–]technomalogical 0 points1 point ago

+1. As much as I love Python, I plan to teach my kids Javascript first, since the web is something they'll be used to (future tense--they are 5, 3 and 15 weeks right now). Teaching them to use the javascript console and making live changes to a web page is both immediately gratifying and useful. Once they get the hang of that, I'll move on to a "proper" language like Python :)

A batch file to switch between Python 2.7 and Python 3.2 (Windows) by redditthinksin Python

[–]technomalogical 0 points1 point ago

Using Python on Windows can be tricky. bdist binary installers attempt to find the correct Python installer by checking the Windows registry. I did find out recently that the exe contains a zip of files very similar to an egg, and setuptools/distribute can install them. I'm hoping to work on adding pip support for this soon. However, there are some projects which distribute their packages as MSI executables. I don't think there's any current Python packaging tools support this.

Serve FTP with Python and PyFilesystem by willmin Python

[–]technomalogical 1 point2 points ago

TIL PyFilesystem can serve any of it's supported filesystem types over FTP, SFTP, and XMLRPC.

3D Programming in Python - Part 1 by 3stanin Python

[–]technomalogical 1 point2 points ago

Here's a free online "book" that provides a tutorial for modern OpenGL techniques. I haven't had a chance to try it out yet but it looks thorough and well put together. Source for the example code in the book is on BitBucket.

I started creating video tutorials about GUI development with Python and Qt. I would love any feedback! Five videos up for now, more to come by Deusdiesin Python

[–]technomalogical 0 points1 point ago*

If you're looking for a textual breakdown of each program, check out chapter 4 of "Rapid GUI Programming with Python" by Mark Summerfield. These tutorials use the code from this chapter.

edit: I missed Deusdies' attribution to the book in the introductory video. I wrongly assumed the code was ripped off. My apologies.

Didier Stevens's pdf-parser.py by jms_nhin Python

[–]technomalogical 0 points1 point ago

If you haven't checked the link, there are a number of tools available besides pdf-parser.py, including tools for making PDFs with embedded files and JavaScript, scanners to find those types of PDFs, and a tool to view data in malformed PDFs.

tcp broadcasting in Python? by magnuskiroin Python

[–]technomalogical 0 points1 point ago

Also consider Stack Overflow for those types of questions. Not only do they generally yield high-quality answers, but the question posting system will often suggest a similar question, perhaps with an answer that solves your problem.

TL;DR; use the right tool for the job.

How do you stay up-to-date and active in the Python community? by ckailiin Python

[–]technomalogical 0 points1 point ago

I would say choose the areas that interest you most. Even though I'm impacted by core dev discussions and decisions, that's not an area that interests me. I follow the tkinter-discuss and python-win32, which are the core modules I use the most.

PyCharm IDE Personal License 30% off ($99->$69) until 4/16 by stairmasterin Python

[–]technomalogical 0 points1 point ago

I'd love to hear the reasoning behind getting a WebStorm license. I do a fair amount of web front-end development, and I love the HTML/Django support in PyCharm. What does WebStorm include that's missing from PyCharm (and PHPStorm if you don't mind)?

As far as I know, these things are black magic. by Destructeratorin pics

[–]technomalogical 23 points24 points ago

Duh! Just plug it in to your Sony Discman's headphone jack!

PHP/Python/Ruby - Immoral? by cassandravoitonin Python

[–]technomalogical 0 points1 point ago

That leaves Ruby as the only immoral option. Discuss. :)

PAGE - A Python GUI Generator (in active development) by bsg75in Python

[–]technomalogical 1 point2 points ago

Thanks for the link, the screenshots do help sell a GUI generation tool. That home page sure could use some design love though (and at least one screenshot right at the top!)

Displaying a web page with Tkinter? by AMV_Ph34rin Python

[–]technomalogical 2 points3 points ago

Since you're willing to switch from tkinter to pygtk, you might as well give PySide or PyQt a try. Qt 4 ships with a webkit component that both PySide and PyQt expose.

Is a PSP Vita the best handheld system to get my 14 year old son for his birthday? by gaviidaein gaming

[–]technomalogical 1 point2 points ago

If he likes Gears, he might find something he likes. Smash is similar to other more "hardcore" fighting games, which the Vita also has. You won't find any Age of Empires games... yet. The touchscreen does leave it open for the possibility. Giant Bomb had extensive coverage of the launch lineup.

It really depends on the types of games he likes. I think he'll find first person shooters and fighting games on the system for a while. Whether he would play it as much as/more than an Xbox 360 (which is offering those same genres) is pretty much a guess.

Python mouse movements in a DirectX or OpenGL game? by Skenderbeuin Python

[–]technomalogical 1 point2 points ago

Or, for a more graphics/game centric audience, try http://gamedev.stackexchange.com/.

[Ask /r/Python] I have hierarchical data in a tab-delimited file. Is there a module that can parse this and return a structure analogous to an XML document tree? by omginternetsin Python

[–]technomalogical 3 points4 points ago

Another approach might be to use the csv module (with tab as the delimiter character) and then key off of the appropriate column to find the related records. This assumes that the file is small enough to read entirely into memory, however (I'm not sure how big the file is and dropbox is blocked for me at work).

Wanting to learn Python / Django... Some Questions first by IrishLaddin Python

[–]technomalogical 0 points1 point ago

Agreed. The best thing to do is get in the habit of writing code as compatible with Python 3 now as possible, to get those good habits in place. I found this guide to writing Python 2 and 3 compatible code in a free book on porting to Python 3, from this question on Stack Overflow about writing Python 3 compatible code in Python 2.7.

Wanting to learn Python / Django... Some Questions first by IrishLaddin Python

[–]technomalogical 1 point2 points ago

2.6 <= version < 3

Fixed that for you.

Waitress — Production-quality pure-Python WSGI server with very acceptable performance and no dependencies. by defnullin Python

[–]technomalogical 2 points3 points ago

Before I made it down this far, I thought "hmmm, someone will think this is sexist". Then I thought "hmmm, a different group would also consider it sexist if this were called 'Waiter' instead, since they used the male version of the word". I'm all for equal rights, but this seems kind of silly to me.

Now, if the logo for Waitress was a woman wearing a low-cut cheesecake outfit, maybe you're on to something :)

IdleX 0.8 released - now offers IPython shell support with embedded matplotlib figures by idle_guruin Python

[–]technomalogical 1 point2 points ago

2.7 has ttk it as well. ttk widget names match those of their vanilla tkinter counterparts. However, I'm not sure how difficult it would be to integrate those into IDLE.

I missed PyCon - what other conventions are coming up soon? by gadsdengraphicsin Python

[–]technomalogical 0 points1 point ago

You might consider OSCON. They have a Python track every year.

Ask Py/Reddit: How Can I Keep Track of Goings On at PyCon? by technomalogicalin Python

[–]technomalogical[S] 1 point2 points ago

This is almost better than being there! This is exactly the information overload I was hoping for. Thanks so much for the link!

view more: next