Skip to content

Commit 1a8b298

Browse files
updating rendered version
1 parent 2090b5c commit 1a8b298

File tree

3 files changed

+17
-22
lines changed

3 files changed

+17
-22
lines changed

_sources/where_to_put_your_code.rst.txt

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,23 @@ Many scientists and engineers that do a little coding find they have a collectio
3232
Options for Handling Your Code Collection:
3333
------------------------------------------
3434

35-
1) Keep your code in one place, and copy and paste the functions you need into each new project.
35+
**(1)** Keep your code in one place and copy and paste the functions you need into each new project.
3636

37-
.. centered::
37+
.. centered:: **DON'T DO THAT!**
3838

39-
**DON'T DO THAT!**
40-
41-
**REALLY!**
39+
.. centered:: **REALLY!**
4240

4341

4442
It is really NOT a good idea to simply copy and paste code around for use with each project. You will end up with multiple versions scattered all over the place ...
4543

46-
.. centered::
47-
48-
**you will regret that!**
49-
44+
.. centered:: **You will regret that!**
5045

51-
2) Put your code in a single directory and add it to the ``PYTHONPATH`` environment variable
5246

47+
**(2)** Put your code in a single directory and add it to the ``PYTHONPATH`` environment variable
5348

54-
**DON'T DO THAT!**
49+
.. centered:: **DON'T DO THAT!**
5550

56-
**REALLY!**
51+
.. centered:: **REALLY!**
5752

5853

5954
``PYTHONPATH`` is shared by all installs of Python. What with Python2, Python3, virtual environments, etc -- it's really not a good idea.

0 commit comments

Comments
 (0)