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.
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 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'm looking for some sort of naming scheme for my virtual environments.
How do you usually name them? Is there naming convention for python virtual environments?
If you are storing your environment inside the project folder some common names are env, venv, .env, .venv, but besides that, I don't think there are any common conventions.
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 5 years ago.
Improve this question
I just start an online Python course and the first approach is using the console commands to create some files, moving around with dir, etc.
I know how to program in Java but I always used Eclipse to do my projects.
It is worth to learn how to do stuff using command lines in CMD, or it is irrelevant if we have good IDEs that we can use.
Most programmers won't generally touch the windows shell. If you are going to become an advanced programmer it is most likely that you will end up becoming familiar with the UNIX shell. Learning shell is a good idea, and if you are on the Windows platform I would recommend Cygwin as it allows you to learn the UNIX style shell while working in Windows.
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 6 years ago.
Improve this question
I am using Python 3.4 and I wish to convert my .PY file into a single .EXE file. I have heard of Py2exe, cx_freeze and Pyinstaller. Are any of these better than the others?
Also, my Python source code calls upon external resources, such as Firefox. How do you ensure that the functionality of Firefox is included, given that the person I am handing the app to might not even have it installed on their PC?
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.