Where is my emacs configuration file on Win7? [duplicate] - python

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Where can I find my .emacs file for Emacs running on Windows?
I am a total newbie to emacs.
I know I can edit a configuration file to change the behavior of my emacs editor and customize it for python editing. but I can't seem to find it.
Any help would be appreciated.

I'm on windows XP. But inside emacs i can open it using:
C-x C-f ~/.emacs
or
C-x C-f ~/.emacs.d/init.el
You then can also see to what ~ autocompletes to locate it.

I think GNU Emacs puts it in the Documents folder '_emacs'. I'm not at a Win 7 box right now to double check.

Related

Adding a run configuration in PyCharm for a python project [duplicate]

This question already has answers here:
How to set default PyCharm interpreter?
(7 answers)
Closed 1 year ago.
I opened a series of files to edit them and my run button is greyed out. I can't figure out exactly why, but I think it has something to do with the "add configuration" prompt nest to the run button. I don't know how to add a configuration and don't want to mess up my editor. I have the newest version of the community version of PyCharm.
Add Configuration is greyed out because maybe you haven't added python path to the project try adding it and you should be clear before posting questions maybe some code and pictures will help. Try this and let me know if this have solved your problem.

VS Code - can you display a Python shell [duplicate]

This question already has answers here:
How to execute Python code from within Visual Studio Code
(34 answers)
Closed 4 years ago.
When using Python IDLE I find the Python shell, with the >>> prompt very useful for testing syntax. Is there a way of getting a Python shell integrated in VS Code?
Maybe the answer is just to open Python IDLE in another window.
Apparently this is a duplicate of another question, but I did several searches on the words Python shell and didn't find anything that seemed relevant. Sorry.
Many thanks to Jaxi for the answer that you need to type Python in the Terminal Window.
stated here you can use ctrl+backtick to open a terminal window, then from there just type python and it will give you the python shell:
https://code.visualstudio.com/docs/editor/integrated-terminal

How do I stop the command prompt from appearing when I run my Python executable? [duplicate]

This question already has answers here:
Hiding console window of Python GUI app with py2exe
(4 answers)
Closed 7 years ago.
I compiled a Python GUI program using py2exe, and it works, but when I run it the command prompt appears in addition to my program window. I have read that I should change the python.exe file to the pythonw.exe file, but there isn't even a Python.exe file in the dist folder to begin with. Compiling a .pyw version of the file also does not fix this. How would I prevent this from happening?
Duplicate
You didn't post any code (which you should do), but I suspect you're using "console" instead of "windows" in setup.py.

Is it possible to make python into an executable file? [duplicate]

This question already has answers here:
Create a single executable from a Python project [closed]
(3 answers)
Closed 9 years ago.
Is there a way to make python an executable file on a mac, windows, or unix?
Nothing fancy in a GUI, but open a terminal window or a console window and run like somebody executed the application through terminal.
If there's no easy way to do this, can someone direct me to any reading material? Thank you!
You can use PyInstaller (http://www.pyinstaller.org/), there is also py2exe (http://www.py2exe.org/).
My experiences with PyInstaller on Linux show that it tends to place a lot of shared libs which may sometimes clash with your distribution so it's sometimes necessary to trim it down a bit afterwards.

Running a .py file from Sublime Text 2 [duplicate]

This question already has answers here:
Sublime Text 2 console input [duplicate]
(2 answers)
Closed 9 years ago.
Hi everyone I'm new to programming.
I am learning Python and I want to use Sublime Text as an IDE.
I've searched and found that it is impossible to run python code from sublime text2 without having the "eofError".
Now, I want to know if it was possible to launch the .py via a keyboard shortcut directly from sublime text, instead of saving it, and then returning to windows explorer and then double clicking on it.
I want it to open in a windows like this : http://image.noelshack.com/fichiers/2013/16/1366399189-nnnnn.png
Thanks.
I just found a solution here that does basically the same job as the "F5" key in IDLE.
Thanks everyone.
Great editor. Here is a resource for creating macros in Sublime Text 2:
http://webdesign.tutsplus.com/tutorials/workflow-tutorials/quick-tip-banish-repetitive-tasks-with-sublime-text-2-macros/
This previous post might also have what you are looking for:
Running Python interactively from within Sublime Text 2

Categories

Resources