Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a working Python ecosystem on Ubuntu.
Now I want to try Enthought Canopy. Will that installation mess up or interfere somehow with my current system?
Two examples to illustrate my confusion:
will this installation overwrite libraries in my current setup?
which python will start if I invoke ipython in a terminal?
No it wont:
http://docs.enthought.com/canopy/quick-start/install_linux.html
If the check box for making Canopy your default Python environment is checked the following line will be added your .bash_profile or .profile files:
source ~/Enthought/Canopy_32bit/User/bin/activate
But you can always uncheck the box.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I usually start building up code in a jupyter notebook, and then make that into a function/ class that I drop in multiple files. To access/ edit those files I used Xcode. Whereas this works more or less ok, it does require to reload the classes/ functions on the jupyter notebook every time I make a change and having to use two different softwares to code seems unsatisfying. What is the optimal way of going about this?
Have you tried PyCharm? It comes with an extension that runs Jupyter inside the IDE.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I need to run a python file, but I want to do it without using the command line. Is there any way to do this from the python shell or something?
You can, of course, use an Integrated Development Environment (IDE) that has a graphical "run" button.
Popular choices include:
Pycharm
IDLE
Spyder
PyDev
Atom
This can be done in Python Shell
Use execfile for Python 2:
>>> execfile('C:\\test.py')
Use exec for Python 3
>>> exec(open("C:\\test.py").read())
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I installed jorgenschaefer/elpy: Emacs Python Development Environment on emacs.
but find the grammar checking is annoying.
I noticed that vscode also employed the python/black: The uncompromising Python code formatter
The Python extension supports source code formatting using either autopep8 (the default), black, or yapf.
Editing Python Code in Visual Studio Code
but it display very clean
How could solve the problem in emacs
Close flymake to mute the prompts.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
i have heard this is an environment variable but Can someone tell me the purpose of PYTHONSTARTUP?
PYTHONSTARTUP is an environment variable you will define specifying the location of the path to a python file.
This python script will be run by python before starting the python interactive mode (interpreter). You can use it for various enhancements like preloading modules, setting colors. (Here) is a helpful post.
Developers use something called dotfiles to enhance the bash environment. Lookup github for sample dotfile scripts which enhances the bash. You can use it with a similar state of mind. Here is a github startup script.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I made a virtual environment to use Python 2.7 with Django 1.7, since the system's python is 2.6.6.
The virtual env has 5 folders inside of it by default. Should I keep all of them?
/bin/
/include/
/lib/
Where should I start my Django site? I'm thinking a new folder? Does it even matter or is there an industry standard?
You should just start it in the main virtualenv directory.
You certainly shouldn't remove any of those subfolders: you need them for the correct functioning of the virtualenv and the code it contains.