background preloader

IronPython.net Open Source

IronPython.net Open Source

Python game development Dive Into Python 3 Skulpt Free Interactive Python Tutorial setuptools 1.4 Installation Instructions The recommended way to bootstrap setuptools on any system is to download ez_setup.py and run it using the target Python environment. Different operating systems have different recommended techniques to accomplish this basic routine, so below are some examples to get you started. Setuptools requires Python 2.6 or later. The link provided to ez_setup.py is a bookmark to bootstrap script for the latest known stable release. Windows 8 (Powershell) For best results, uninstall previous versions FIRST (see Uninstalling). Using Windows 8 or later, it's possible to install with one simple Powershell command. > (Invoke-WebRequest | python - You must start the Powershell with Administrative privileges or you may choose to install a user-local installation: > (Invoke-WebRequest | python - --user Unix (wget) Unix including Mac OS X (curl)

Read–eval–print loop Overview[edit] The read function accepts an expression from the user, and parses it into a data structure in memory. For instance, the user may enter the s-expression (+ 1 2 3), which is parsed into a linked list containing four data elements.The eval function takes this internal data structure and evaluates it. In Lisp, evaluating an s-expression beginning with the name of a function means calling that function on the arguments that make up the rest of the expression. So the function + is called on the arguments 1 2 3, yielding the result 6.The print function takes the result yielded by eval, and prints it out to the user. The development environment then returns to the read state, creating a loop, which terminates when the program is closed. REPLs facilitate exploratory programming and debugging because the programmer can inspect the printed result before deciding what expression to provide for the next read. Uses[edit] Implementation[edit] (loop (print (eval (read)))) Functionality[edit]

Online Python Tutor - Learn programming by visualizing code execution Excel VBA Tutorial - Easy Excel Macros VBA (Visual Basic for Applications) is the programming language of Excel and other Office programs. 1 Create a Macro: With Excel VBA you can automate tasks in Excel by writing so called macros. In this chapter, learn how to create a simple macro. 2 MsgBox: The MsgBox is a dialog box in Excel VBA you can use to inform the users of your program. 3 Workbook and Worksheet Object: Learn more about the Workbook and Worksheet object in Excel VBA. 4 Range Object: The Range object, which is the representation of a cell (or cells) on your worksheet, is the most important object of Excel VBA. 5 Variables: This chapter teaches you how to declare, initialize and display a variable in Excel VBA. 6 If Then Statement: Use the If Then statement in Excel VBA to execute code lines if a specific condition is met. 7 Loop: Looping is one of the most powerful programming techniques. 8 Macro Errors: This chapter teaches you how to deal with macro errors in Excel. 12 Array: An array is a group of variables.

ipython - How can I use ptiPython with Flask-Script together? Summarize Spreadsheet Data With Excel's Array Formulas Excel Data Management Subtotals can reveal very useful management information. For example, managers might be interested to learn that sales increased by 10% last month. Array formulas provide a way by which Excel users can discover such useful information. Introducing the Data To explain the power of array formulas I'll use this database. I named each column of data with the label shown in row 1. By assigning names in this way we anchor the names in the gray border rows, rows 2 and 15. Introducing Array Formulas, Example 1 Let's begin our examination of this data by summarizing the sales for Jill and Joe. Here's the formula for the cell shown: J3: {=SUM(IF(Seller=$I3,Total,0))} Notice the braces that surround this formula. Here's the key to understanding how array formulas work: Each array formula creates temporary arrays in memory, and then the outside function returns the results from that array. Finally, the SUM function returns the sum of this temporary array: 25,680. Example 2 Example 3

Jupyter and the future of IPython — IPython Welcome to the Tclers Wiki! Downloads - the bpython interpreter You can get bpython by downloading the latest release, cloning the git repo or using your system's package manager. bpython has the following dependencies: PygmentsrequestsSphinx != 1.1.2 (for the documentation only)mock (for the testsuite only)babel (optional, for internationalization)curtsies >= 0.1.18,< 0.2greenleturwid (for bpython-urwid only) If you are using Python 2 before 2.7.7, the following dependency is also required: requests[security] If you have problems installing cffi which is needed by pyOpenSSL, please take a look at cffi's documentation. Release tarball The latest release for bpython is 0.15 and you can download it on our release page. Git repository The development version is available with git; use the following command: git clone If you get stuck, join #bpython on irc.freenode.net or send an email to the mailing list (more info). easy_install/pip or Packages Debian David Paleino maintains the bpython package. Fedora Ubuntu Solaris

Related: