background preloader

Think Python

Think Python
Related:  source code

Online Python Tutor - Learn programming by visualizing code execution Stack Overflow Introduction to Electrical Engineering and Computer Science I | Electrical Engineering and Computer Science Unix - The vi Editor Tutorial There are many ways to edit files in Unix and for me one of the best ways is using screen-oriented text editor vi. This editor enable you to edit lines in context with other lines in the file. Now a days you would find an improved version of vi editor which is called VIM. Here VIM stands for Vi IMproved. The vi is generally considered the de facto standard in Unix editors because: It's usually available on all the flavors of Unix system.Its implementations are very similar across the board.It requires very few resources.It is more user friendly than any other editors like ed or ex. You can use vi editor to edit an existing file or to create a new file from scratch. Starting the vi Editor: There are following way you can start using vi editor: Following is the example to create a new file testfile if it already does not exist in the current working directory: $vi testfile As a result you would see a screen something like as follows: |~~~~~~~~~~~~"testfile" [New File] Operation Modes: Set Commands:

AT&T Labs Research - Yoix What is Yoix...? The Yoix scripting language is a general-purpose programming language that uses syntax and functions familiar to users of C and Java. It is not an object oriented language, but makes use of over 150 object types that provide access to most of the standard Java classes. Because the Yoix interpreter is built entirely using pure JavaTM technology, it means that Yoix applications are cross-platform, GUI-capable and both network and thread friendly, yet Yoix developers find themselves insulated from the more cumbersome and tricky parts of coding the same functionality directly in Java. Pointers? When people hear that the Yoix language includes pointers, their first reaction is usually a knee-jerk revulsion. An interpreted language written in Java? By the way, how do you pronounce Yoix? Yoix is pronounced like the English word "yoicks", whose pronunciation is given in the dictionary as "yoiks".

2. Using the Python Interpreter — Python v3.3.2 documentation 2.1. Invoking the Interpreter The Python interpreter is usually installed as /usr/local/bin/python3.3 on those machines where it is available; putting /usr/local/bin in your Unix shell’s search path makes it possible to start it by typing the command: to the shell. Since the choice of the directory where the interpreter lives is an installation option, other places are possible; check with your local Python guru or system administrator. (E.g., /usr/local/python is a popular alternative location.) On Windows machines, the Python installation is usually placed in C:\Python33 , though you can change this when you’re running the installer. set path =% path % ; C : \ python33 Typing an end-of-file character ( Control-D on Unix, Control-Z on Windows) at the primary prompt causes the interpreter to exit with a zero exit status. The interpreter’s line-editing features usually aren’t very sophisticated. Some Python modules are also useful as scripts. 2.1.1. 2.1.2. 2.2. 2.2.1. 2.2.2. #! 2.2.3.

UniversoDigital | Linux, Python y Fedora Qt Project

Related: