User contributions
Jump to navigation
Jump to search
- 14:23, 16 March 2018 diff hist +7 Python:Strings →Advanced
- 14:20, 16 March 2018 diff hist +19 Python:Files
- 13:51, 16 March 2018 diff hist +147 Python
- 13:48, 16 March 2018 diff hist +86 N Python Created page with "Generic things: ;import getopt :Module to parse the commandling argguments (sys.argv)"
- 13:14, 16 March 2018 diff hist +64 m Python:JSON
- 13:13, 16 March 2018 diff hist +63 m Python:Strings →Regular Expressions (regexp)
- 13:10, 16 March 2018 diff hist +170 N Python:JSON Created page with ";import json :Enable json functions ;json.dumps(dict, indent=4) :Return the dict nicely structured. Indent each level with 4 spaces. :Can be used on other datatypes too."
- 15:49, 15 March 2018 diff hist +13 m Python:Strings →Match Objects
- 15:44, 15 March 2018 diff hist +42 Python:Strings →Match Objects
- 13:54, 15 March 2018 diff hist +323 Python:Classes
- 13:25, 15 March 2018 diff hist +564 Python:Classes
- 13:18, 15 March 2018 diff hist +86 m Python:Classes
- 13:15, 15 March 2018 diff hist +44 N Python:Classes Created page with "Create your own classes Classes should have"
- 17:03, 14 March 2018 diff hist +1 m Python:Strings →Basic
- 16:53, 14 March 2018 diff hist +13 m Python:Files →Read from standard input
- 16:50, 14 March 2018 diff hist +195 Python:Files →Read from standard input
- 16:29, 14 March 2018 diff hist +85 Python:Operators →Assignment
- 16:02, 14 March 2018 diff hist +109 Python:DataTypes →Range
- 15:55, 14 March 2018 diff hist +170 Python:Operators
- 10:00, 14 March 2018 diff hist +160 Regular Expressions
- 12:12, 11 March 2018 diff hist +56 Regular Expressions →Perl
- 12:08, 11 March 2018 diff hist +52 Perl
- 12:02, 11 March 2018 diff hist +1 m Perl →Things that do work
- 17:37, 6 March 2018 diff hist +138 Perl
- 17:38, 26 February 2018 diff hist +915 Regular Expressions
- 14:26, 24 February 2018 diff hist +75 N Awk Created page with ";awk '{ for(i = 1; i <= NF; i++) { print $i; } }' :Itterate over all fields"
- 11:54, 15 February 2018 diff hist +126 Perl
- 10:54, 15 February 2018 diff hist +73 Perl
- 17:12, 14 February 2018 diff hist +280 Perl
- 14:59, 13 February 2018 diff hist +80 N OpenSSL/SSH Created page with ";openssl rsa -text -noout -in id_rsa :Print out key attributes (o.a. key length)"
- 18:32, 12 February 2018 diff hist +30 Perl
- 16:49, 12 February 2018 diff hist +16 m Perl
- 16:47, 12 February 2018 diff hist +180 N Perl Created page with "I'm leaving Perl, traded it for Python. Some shortcuts I'd like to remember ;use Data::Dumper ;print Dumper($variable) :Print out the contents of $variable in a structured fo..."
- 09:55, 11 February 2018 diff hist 0 m Python:Databases
- 13:07, 10 February 2018 diff hist +10 m SQL
- 13:00, 10 February 2018 diff hist +155 SQL
- 12:52, 10 February 2018 diff hist +738 SQL
- 11:41, 9 February 2018 diff hist +17 m MSwindows
- 11:40, 9 February 2018 diff hist +503 N MSwindows Created page with "If you are forced to use MSwindows this may help ;set now=%date:~<start>,<len>% :Get a substring from date ;for /F %%i in (<filename>) do set var1=%%i :Read filename and se..."
- 23:24, 5 February 2018 diff hist +2,724 N RRD Created page with "Round Robin Databases by Toby Oetker [https://oss.oetiker.ch/rrdtool/] In the example below: ;start :First date in the database in epoch (seconds since January 1, 1970). date..."
- 22:04, 5 February 2018 diff hist +33 Help:Wiki
- 13:20, 31 January 2018 diff hist +126 N SQL Created page with ";LPAD(<value>,<no>,<char>) :Left fill <value> with <char> until <no> length ;concat(<value1>,<value2>) :Concatenate 2 strings"
- 23:21, 27 January 2018 diff hist +76 m Python:XML →Flatten XML
- 23:15, 27 January 2018 diff hist +3,212 Python:XML
- 20:43, 23 January 2018 diff hist +112 Python:Strings →Regular Expressions (regexp)
- 23:13, 22 January 2018 diff hist +394 N Python:Control structures Created page with "Category:Python To catch all exceptions (not wise) ==Exception handling== <syntaxhighlight lang=python> try: block except: blockifexceptionisthrown </syntaxhighli..."
- 21:45, 21 January 2018 diff hist +49 Python:Strings →Basic
- 21:07, 21 January 2018 diff hist +20 m Python:Functions
- 22:44, 20 January 2018 diff hist +349 N Python:Functions Created page with "List of all build in functions [https://docs.python.org/3/library/functions.html] ;len(obj1) :Return the number of elements in obj1 (string, list, tuple, set) ;max(obj1) :Re..."
- 22:37, 20 January 2018 diff hist +259 Python:DataTypes →Object types
- 22:12, 20 January 2018 diff hist +103 Python:DataTypes →list
- 22:07, 20 January 2018 diff hist +99 Help:Wiki
- 23:49, 17 January 2018 diff hist 0 Python:Strings →Regular Expressions (regexp)
- 23:32, 17 January 2018 diff hist +129 Python:Strings
- 23:02, 17 January 2018 diff hist +287 Regular Expressions
- 22:03, 17 January 2018 diff hist 0 m Python:Strings →Basic
- 22:03, 17 January 2018 diff hist +208 Python:Strings →Searching
- 21:32, 17 January 2018 diff hist +568 Python:Files
- 14:02, 14 January 2018 diff hist +1,191 N Python:XML Created page with ";from xml.etree import ElementTree :Load XML-support ;tree = get_tree(filename) :Read the file into an XML-tree ;root = tree.getroot() :Get the tree root element object ;fo..."
- 13:51, 14 January 2018 diff hist +291 Help:Wiki
- 13:15, 14 January 2018 diff hist -4 MediaWiki:Sidebar
- 13:14, 14 January 2018 diff hist +2 MediaWiki:Sidebar
- 13:13, 14 January 2018 diff hist 0 MediaWiki:Sidebar
- 13:12, 14 January 2018 diff hist -2 MediaWiki:Sidebar
- 13:11, 14 January 2018 diff hist +187 N MediaWiki:Sidebar Created page with " * navigation ** mainpage|mainpage-description ** Local help ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * SEARCH * TOOLBOX..."
- 00:00, 14 January 2018 diff hist 0 Python:Strings →Basic
- 23:58, 13 January 2018 diff hist +19 m Python:DataTypes
- 23:56, 13 January 2018 diff hist +20 m Python:Operators
- 23:55, 13 January 2018 diff hist +20 m Python:Strings
- 23:33, 6 January 2018 diff hist +149 Regular Expressions
- 23:27, 6 January 2018 diff hist 0 Python:Strings →Regular Expressions (regexp)
- 23:27, 6 January 2018 diff hist +39 N Regular Expressions Created page with ";. :Match any character except newline"
- 23:26, 6 January 2018 diff hist +1 Python:Strings →Searching
- 23:20, 6 January 2018 diff hist +51 m Python:Strings →Searching
- 23:18, 6 January 2018 diff hist +61 Python:Strings →Searching
- 23:10, 6 January 2018 diff hist +2,325 Python:Strings →Searching
- 22:40, 6 January 2018 diff hist +703 Help:Wiki
- 22:25, 6 January 2018 diff hist +150 Python:DataTypes →Object types
- 21:25, 6 January 2018 diff hist +12 m Python:Strings →Advanced
- 12:57, 6 January 2018 diff hist +1,610 N Python:Strings Created page with "Strings are immutable, all methods return a new string =Formatting= ==Basic== ;str1.replace(old,new[,cnt]) :In str1 replace old by new (cnt times) ;str1.join(list) :Join l..."
- 12:15, 6 January 2018 diff hist +1,352 Help:Wiki
- 11:12, 6 January 2018 diff hist +352 N Python:Operators Created page with "Most operators work as usual. ;a / b :Divide to floating point (in python2 the result datatype is determined by the arguments datatype i.e. both arguments int => result is in..."
- 11:02, 6 January 2018 diff hist +17 m Python:DataTypes →Dictionary or dict
- 11:35, 4 January 2018 diff hist +643 N Python:Files Created page with "Category:Python ;glob.glob(filespec) :Return a list of files matching 'filespec'. Code example: <syntaxhighlight lang=python> import glob files = glob.glob(filespec) </sy..."
- 22:54, 3 January 2018 diff hist +26 m Python:Databases
- 22:52, 3 January 2018 diff hist +1,638 N Python:Databases Created page with "Category:Python See below for an example script ;import mysql.connector :Load module for mysql ;cnx = mysql.connector.connect(**cnxconfig) :Open database as defined in..."
- 22:41, 3 January 2018 diff hist +82 Python:DataTypes →Dictionary or dict
- 22:58, 2 January 2018 diff hist +18 Help:Wiki
- 22:51, 2 January 2018 diff hist +24 m Main Page
- 22:50, 2 January 2018 diff hist +2 Main Page
- 22:48, 2 January 2018 diff hist 0 N Category:Python Created blank page
- 22:34, 2 January 2018 diff hist +11 Main Page
- 22:19, 2 January 2018 diff hist +21 m Python:DataTypes
- 22:09, 2 January 2018 diff hist +38 Main Page →Getting started
- 22:08, 2 January 2018 diff hist +831 N Help:Wiki Created page with "Wiki formatting setting not to forget: ;<nowiki><syntaxhighlight lang='bash'></nowiki> ;<nowiki></syntaxhighlight></nowiki> :Block of code formatted for the specified languag..."
- 23:33, 31 December 2017 diff hist +84 Python:DataTypes →list
- 23:31, 31 December 2017 diff hist +532 Python:DataTypes →Object types
- 23:11, 31 December 2017 diff hist +1,196 N Python:DataTypes Created page with "=Object types= Objects are iterable if they can contain more than 1 ordered objects (string, list, tuple, dict) Objects are mutable if their content can be changed (list, set,..."
- 23:40, 23 December 2017 diff hist +270 N Wiki:About Created page with "Well, it finally happened me too. I reinstalled the MediaWiki-software without checking if I had everything backed up properly (I was very sure I had). I have to start all o..." current
- 23:38, 23 December 2017 diff hist -44 m Main Page