This reference manual describes the syntax and core semantics of the language. The Python interpreter and the extensive standard library are available in source or binary form without charge for all major platforms, and can be freely distributed. Output: sys.getwindowsversion (major10, minor0, build19042, platform2, servicepack'') 19042 19042.
Obviously, check your schools formatting demands for dissertations/theses, and note that most style guides have explicit rules for software, and those would apply to computer languages as well. Python supports modules and packages, which encourages program modularity and code reuse. import sys version sys.getwindowsversion () print (version) print (version 2) You can directly reference the build element by index number print (version.build) Or by name. Running python-m tkinter from the command line should open a window demonstrating a simple Tk interface, letting you know that tkinter is properly installed on your system, and also showing what version of Tcl/Tk is installed, so you can read the Tcl/Tk documentation specific to that version.
for the simulations we used the Python programming language (Python Software Foundation, ). The most important component of citing a software package is the website, especially if it is open-source, as that allows others to dig into the details of your work but actually using the same tools!įor open-source software like Python, you could name the organization or give the website: Official documentation is available here. Test coverage is one of the top priority for this library: Coverage using Python 2.7: 98 Coverage using Python 3.x: 96 Documentation. It also describes some of the optional components that are commonly included in Python distributions. version ) 0.22.0 source: pandasversion. The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python. The Python Standard Library While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with Python. For these, there may be explicitly given papers to cite or the authors may provide preferred citation rules. However, you always can implement such support in your forks. To get the version of a package used in a Python script, use version attribute. Most computer languages used in academic research are not used alone but depend heavily on add-on components. Note that it is often good to include libraries or toolboxes as well as the languages used.
MATLAB and Signal Processing Toolbox Release 2012b, The MathWorks, Inc., Natick, Massachusetts, United States.
Likewise in citation lists and also in text, you often see something like: for the simulations we used Matlab (The MathWorks, Inc., Natick, Massachusetts, United States). For MATLAB, a mathematical programming language, I have often seen: Python Dictionaries Access Items Change Items Add Items Remove Items Loop Dictionaries Copy Dictionaries Nested Dictionaries Dictionary Methods Dictionary Exercise Python If.Else Python While Loops Python For Loops Python Functions Python Lambda Python Arrays Python Classes/Objects Python Inheritance Python Iterators Python Scope Python Modules Python Dates Python Math Python JSON Python RegEx Python PIP Python Try.A common choice I have seen is to cite the software by name and give a link to the website or name the company (for proprietary software) or both.