Manage PlItems

You may optionally enter a comparison operator (<, <=, >, >=, <> or =) at the beginning of each of your search values to specify how the comparison should be done.

Advanced Search
Displaying 171-180 of 300 results.
IDPlCodelangPlGroupPlItemTitleCode 
 
164PythonVariablenAuflistung aller Variablenimport pprint a="This is a test" b=1 c=True pprint.pprint(locals()) #{'__builtins__': <module '__builtin__' (built-in)>, # '__doc__': None, # '__name__': '__main__', # '__package__': None, # 'a': 'This is a test', # 'b': 1, # 'c': True, # 'pprint': <module 'pprint' from '/usr/lib/python2.7/pprint.pyc'>} pprint.pprint(globals())View Update Delete
93C#SonstigesSolidColorBrush von String KonventiereninputBox.BorderBrush = new BrushConverter().ConvertFromString("#FF7F9DB9") as SolidColorBrush;View Update Delete
48T-SQLDatenbankTabelleinhalt DB übergreifend kopierenINSERT INTO DestinationDB.dbo.Table1 SELECT * FROM SourceDB.dbo.Table1 -- Alternative -- bereits vorhandene Tabelle in der Ziel-DB löschen DROP TABLE DB_DESTINATION.dbo.TableCopy SELECT * INTO DB_DESTINATION.dbo.TableCopy FROM DB_SOURCE.dbo.TableOrginalView Update Delete
89C#KontrollstrukturenSwitch / Case Anweisung int i = 1; switch (i) { case 1: Console.WriteLine("Fall 1"); break; case 2: Console.WriteLine("Fall 2"); break; default: Console.WriteLine("Standard Fall"); break; }View Update Delete
75C#TypenkonvertierungString in Integer konvertierenint MyInt if (Int32.TryParse("125", out MyInt)) { // Parsing was successfull } View Update Delete
35JavaGUI, Komponenten allgemeinFocus setzenjTextfield1.requestFocus();View Update Delete
197PythonJSONJSON Daten speichernmyData_dict = {"key1":"value1"} fileObj = open('myData.json', 'w+') jsonDump = json.dumps(myData_dict) fileObj.write(jsonDump) fileObj.close()View Update Delete
126C#Encoding / DecodingDatei nach Base64 encodierenmyfile = "myPDF.pdf"; string ReturnValue = ""; if (System.IO.File.Exists(myfile)) { using (FileStream BinaryFile = new FileStream(myfile, FileMode.Open)) { BinaryReader BinRead = new BinaryReader(BinaryFile); byte[] BinBytes = BinRead.ReadBytes(Convert.ToInt32(BinaryFile.Length)); ReturnValue = Convert.ToBase64String(BinBytes); BinaryFile.Close(); } }View Update Delete
125PythonEncoding / DecodingDatei nach Base64 encodierenmyfile = 'myDoc.pdf' ReturnValue = open(myfile).read().encode("base64") # in ReturnValue ist nun der Base64-StringView Update Delete
159PythonTextdateienTextDatei auslesenmyFilename = "file.txt" fileObj = open(myFilename , "r" ) array = [] for line in fileObj: array.append( line ) fileObj.close()View Update Delete