The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
149 views

Python - defining exit method before importing

This breaks nothing (in my experience), but lots of things "don't break anything" and are still wrong. #! /usr/bin/env python """Short description of this module.""" def ...
0
votes
1answer
71 views

Is it okay to check in changes to import statement on opensource projects on a commit? [duplicate]

There are some guidelines out there (eg scala guidelines) and I'm wondering if it's okay to do some tidying up when committing other changes or if the commits should be more focused and to the point? ...
2
votes
1answer
181 views

Python - Importing modules and visibility

Consider the following code: a.py import os def print_rand(): print os.urandom() And another module: b.py from a import * In this code, I end up with an os variable getting imported from ...
7
votes
4answers
428 views

When to import names into the global namespace? (using x::y, from x import y etc.)

I've been programming in various languages for about 10 years now. And I still haven't figured out when it is a good idea to import something into the global namespace (using x::y in C++, from x ...
-1
votes
4answers
452 views

Importing java.awt.* does not automattically imports java.awt.event.*?

In the Java programming language, why does importing of java.awt.* does not automatically import java.awt.event.* too? Now, you guys may say that it's because it's java.awt.* and not something like ...
0
votes
2answers
207 views

Ideal “intermediate” file format to use for structured/styled text?

I have files that I want to make available in an variety of formats: HTML PDF EPUB Plain Text (maybe) Most of the files will be sourced in doc, docx, or rtf format, so that needs to be considered. ...
39
votes
4answers
5k views

Experience of Python's “PEP-302 New Import Hooks”

I'm one of the developers of Ruby (CRuby). We are working on Ruby 2.0 release (planned to release 2012/Feb). Python has "PEP302: New Import Hooks" (2003): This PEP proposes to add a new set of ...
5
votes
2answers
521 views

Development Patterns for dealing with Data Import / Export

I have a ASP.NET web based application that allows the end user to export data to a flat file format. (essentially taking a point-in-time backup of their work) At a later date they can re-upload ...
2
votes
2answers
454 views

Script/tool to import series of snapshots, each being a new edition, into GIT, populating source tree?

I've developed code locally and taken a fairly regular snapshot whenever I reach a significant point in development, e.g. a working build. So I have a long-ish list of about 40 folders, each folder ...
-2
votes
1answer
136 views

Script/tool to import series of snapshots, each being a new revision, into Subversion, populating source tree? [closed]

(NOTE: Also asked on stackoverflow.com - http://stackoverflow.com/questions/4604365/script-tool-to-import-series-of-snapshots-each-being-a-new-revision-into-subver since programmers includes ...