Adding feature class into ArcGIS 10.3 mxd using python script
Adding shapefile or feature class as layer in ArcMap using ArcPy
This question is regarding the minecraft Beta 1.8 prerelease -- I have a beautiful house in single player survival which I'd like to record while flying.  I want to be able to change the game mode of my survival map to creative to be able to fly through it without installing a mod. I know it is possible if you run the map on a multiplayer server via the command /gamemode &lt;user&gt; 0|1 but I want to achieve this in single player :)  I think this would be possible through editing your level.dat file as I think that's where the game mode for the map is stored. How do you join or create a server in multiplayer? Minecraft item right/left click detection I'm trying to split a string up into words and punctuation, adding the punctuation to the list produced by the split.  For instance:  &gt;&gt;&gt; c = "help, me" &gt;&gt;&gt; print c.split() ['help,', 'me']   What I really want the list to look like is:  ['help', ',', 'me']   So, I want the string split at whitespace with the punctuation split from the words.  I've tried to parse the string first and then run the split:  &gt;&gt;&gt; for character in c: ...     if character in ".,;!?": ...             outputCharacter = " %s" % character ...     else: ...             outputCharacter = character ...     separatedPunctuation += outputCharacter &gt;&gt;&gt; print separatedPunctuation help , me &gt;&gt;&gt; print separatedPunctuation.split() ['help', ',', 'me']   This produces the result I want, but is painfully slow on large files.  Is there a way to do this more efficiently? Why is the Converse to Lagrange's Theorem False? Ubuntu 19.04 problems install upgrades How do I fix a NoSuchMethodError? I can't (vote to) close a question I voted to close before but then retracted? For example...  I closed a vote for 'too broad'. But then I realized I wanted to close it as a specific duplicate of another question instead. So I retracted my close vote.  That worked. But I can't now vote to close as duplicate and the title says I already voted to close.  Maybe this is intentional but it doesn't feel that way. What is the solution to the Squirrel sequence of letters question? Determining the dimension of span$\{AB-BA : A,B \in M_{n \times n}(\mathbb R) \}$ Let $S$ be the subspace , of  $M_{n \times n}(\mathbb R)$ (the vector space of all $n \times n$ real matrices ) , generated by matrices of the form $AB-BA$ , where $A,B \in M_{n \times n}(\mathbb R)$ , then how do we prove that $\dim S=n^2-1$ ? The only thing that I can determine is that the trace of all matrices of $S$ is $0$ . Please help Sublime Command not working in SSH server on Ubuntu 14.04? Naive visualization of space-time curvature Norman Window Optimization How do "pet" Walkers help ward off other Walkers? In both the comics and the show, Michonne first appears with two walkers that she essentially keeps as pets.    The comics sort of half-explain this - as per :     She notices walkers don't attack one another and hacks off the arms and lower jaws of Mike and Terry. She chains them up by their necks to use them as escorts for an escape that was successful.   In , we see that even if they still sort of smell like Walkers, the Walkers can smell/detect the living and will attack.  In ,      We see Andrea effectively making a new "pet" so that she can use to deter the Walkers that she comes across on her trip to the prison. Along the trip, she is shown to come within close range of Walkers, but they give her space when she points the "pets" in the right direction.   Why would the Walkers not just attempt to go around the "pets"? What about them creates an effective protective barrier? Changing affiliation on publication I am moving from one job to another (postdoc to tenure track) this summer and I have papers in several stages of being written, these go from handwritten notes with all the necessary arguments to under revision at a journal. All the papers will have my new contact information put on them but where is the line for changing affiliation? It seems obvious to me that the one that is still in the handwritten notes stage will get the new affiliation and that the ones under revision won't. So somewhere in between is a line.   Where is it?  There are some similar questions so far (see  and  but they do not seem to be quite the same situation since I am not changing fields and the appointments are not concurrent. I have already read the question about  but this is not what I want, I want to be able to click on the file in Dash or in Nautilus and be able to open it with the specified app.  For example I have this case right now:  When I click on an EXE file it does not get executed by Wine, instead I get the following:    If I try to look for Wine in the Open With context menu option it is there. I am fine executing it from there the first time, but then the following times Wine does not appears selected in the main Context menu:    I then went to Properties to the Open With Tab to look for Wine. It was not in the Default apps nor was it in the Recommended ones when I clicked and search on Show other applications    This is not limited to EXE extensions. It also has happened with MKV files, MP4 files, JPG, PNG, MP3 and even SVG and CSS. So instead of trying to find a way of solving it for one, I want a way that can be done to any type of extension that can:   Make the app the default of that extension Appear on the context menu in Nautilus when I right click on the file Appears on the "Open With" tab on the Property window of the file Correctly executes the specified app when I click on the file with Dash   This might sound like it should be common sense for an app to execute the file but it does not always work like that. So for the cases where it actually does not work, how to fix it. A reset of the extension?, An update of the files that can open said extension?, an addition of the app via a command line or GUI tool? Checking via ArcPy if ArcMap is in edit session? The temperature and pressure everywhere inside the Sun reach the critical point to start nuclear reactions - there is no reason for it to take such a long time to complete the reaction process.  Just like a nuclear bomb will complete all the reaction within $10^{-6}$seconds.  Why does most of the hydrogen of the Sun still not react even though it reaches the critical point, and why take stars billions of years to run out of fuel? Why do I need to type `./` before executing a program in the current directory? While executing a C program, a.out, using the Ubuntu terminal, why do I always need to type ./ before a.out, instead of just writing a.out? Is there solution for this? Is the function strcpy always dangerous?