Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Added best practice env/enc snippets#1

Merged
kevinsawicki merged 1 commit intoatom:masterfrom
kennethreitz:patch-1
Feb 28, 2014
Merged

Added best practice env/enc snippets#1
kevinsawicki merged 1 commit intoatom:masterfrom
kennethreitz:patch-1

Conversation

@kennethreitz
Copy link
Contributor

No description provided.

@mathiasbynens
Copy link
Contributor

I hadn’t seen this one. #4 is the same but shorter, and it doesn’t rename the snippet.

@kennethreitz
Copy link
Contributor Author

You don't always want both, they should be separate.

@lyndsysimon
Copy link

I concur with @kennethreitz - I only add a shebang line to my .py files that are intended to be run stand-alone. The vast majority of them are not, so they don't have a shebang.

I should also be specifying an encoding...

kevinsawicki added a commit that referenced this pull request Feb 28, 2014
Added best practice env/enc snippets
@kevinsawicki kevinsawicki merged commit e1ba914 into atom:master Feb 28, 2014
@kevinsawicki
Copy link
Contributor

Thanks, merged to master.

@kevinsawicki kevinsawicki self-assigned this Feb 28, 2014
winstliu pushed a commit that referenced this pull request Oct 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants