<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Udvikleren.dk - Seneste [windows8] forum tråde</title>
    <description>De seneste forum tråde i [windows8] på Udvikleren.dk</description>
    <link>http://www.udvikleren.dk/</link>
    <pubDate>Wed, 29 Apr 2026 00:11:25 GMT</pubDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Udvikleren.dk RSS Feeder</generator>
    <ttl>60</ttl>
    <item>
      <title>Python script på windows 8.1</title>
      <description>Hej.&lt;br /&gt;&lt;br /&gt;Jeg har svært ved at forstå nedestående script, men, kommentere det med # engang, også vil jeg høre om der er nogen der kan hjælpe mig med at forstå resten &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;&lt;br /&gt;&lt;br /&gt;Jeg har ikke den store forstand på Python, udover at sidst jeg rodede med det, gik det fortrinligt.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="codeboxheader" id="code_1929745318" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1929745318_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Python kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1929745318code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;!/usr/bin/env python&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt; from Tkinter m&amp;#229; v&amp;#230;re det biblotek som koden skal benytte sig af, et GUI biblotek&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt; Tkinter &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt; from tkFileDiaglog m&amp;#229; v&amp;#230;re endnu et biblotek som forst&amp;#229;r brugen af &amp;#229;bne filer&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt; tkFileDialog  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; askopenfilename   &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;En klasse, som man kender fra s&amp;#229; mange andre scripts/programmerings sprog&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; App:&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;def&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;__init__&lt;/span&gt;&lt;span style="color: #000000;"&gt;(self, master):&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;En variabel der holder p&amp;#229; en funktion med valget height=800&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        frame &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Frame(master, height&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;800&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        frame.pack()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;Stortset samme som Frame, en funktion i en variabel?&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        self.button &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Button(frame, text&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;QUIT&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, command&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;frame.quit)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.button.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;BOTTOM)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;Endnu en variabel smo holder p&amp;#229; en funktion?&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        self.text &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Text(frame)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;TOP)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;igen?&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        self.choosen &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; askopenfilename(initialdir&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;'&lt;/span&gt;&lt;span style="color: #800000;"&gt;./&lt;/span&gt;&lt;span style="color: #800000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text.insert(END, open(self.choosen).read())&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Tk()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;app &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; App(root)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root.mainloop()&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;De linjer jeg ikke har kommenteret er jeg meget i tvivl i hvad gør og hvordan de fungere, kunne man eventuelt få noget hjælp til at forstå det?&lt;br /&gt;&lt;br /&gt;Det overstående script virker fint og næsten efter hensigten, så satte en klasse ind som den skulle arbejde sammen med, dog uden held (Måske jeg ikke forstår klasser?)&lt;br /&gt;&lt;br /&gt;&lt;div class="codeboxheader" id="code_1091758570" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1091758570_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Python kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1091758570code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;#&lt;/span&gt;&lt;span style="color: #008000;"&gt;!/usr/bin/env python&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt; Tkinter &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; Tkinter as tk&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;from&lt;/span&gt;&lt;span style="color: #000000;"&gt; tkFileDialog  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; askopenfilename   &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; Ext(tk.Frame):&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;def&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;__init__&lt;/span&gt;&lt;span style="color: #000000;"&gt;(self, master):&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        tk.Frame.&lt;/span&gt;&lt;span style="color: #800080;"&gt;__init__&lt;/span&gt;&lt;span style="color: #000000;"&gt;(self)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; tk.StringVar()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        tk.Frame.&lt;/span&gt;&lt;span style="color: #800080;"&gt;__init__&lt;/span&gt;&lt;span style="color: #000000;"&gt;(self, master)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.scrollbar &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; tk.Canvas(master, borderwidth&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;0, background&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;#ffffff&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.frame &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; tk.Frame(self.scrollbar, background&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;#ffffff&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.txt &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; tk.Scrollbar(master, orient&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;vertical&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, command&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;self.scrollbar.yview)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.scrollbar.configure(yscrollcommand&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;self.txt.set)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.scrollbar.configure(width&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;500&lt;/span&gt;&lt;span style="color: #000000;"&gt;, height&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;200&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.txt.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;right&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, fill&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;y&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.scrollbar.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;left&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, fill&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;both&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, expand&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;True)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.scrollbar.create_window((0,0), window&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;self.frame, anchor&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;nw&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, tags&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;self.frame&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.create_scrollbar()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;def&lt;/span&gt;&lt;span style="color: #000000;"&gt; create_scrollbar(self):&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        tk.Label(self.frame, text&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;self.text).grid(column&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; App:&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;def&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;__init__&lt;/span&gt;&lt;span style="color: #000000;"&gt;(self, master):&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        frame &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Frame(master, height&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;800&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        frame.pack()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.button &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Button(frame, text&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;QUIT&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, command&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;frame.quit)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.button.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;BOTTOM)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Text(frame)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text.pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;TOP)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.choosen &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; askopenfilename(initialdir&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;'&lt;/span&gt;&lt;span style="color: #800000;"&gt;./&lt;/span&gt;&lt;span style="color: #800000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        self.text.insert(END, open(self.choosen).read())&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Tk()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;app &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; App(root)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root  &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Ext(root)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root.title(&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Arduino GUI /By Danni.Hansen.1985&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root.geometry(&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;800x300&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;Ext(root).pack(side&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;top&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, fill&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #800000;"&gt;both&lt;/span&gt;&lt;span style="color: #800000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, expand&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;True)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;root.mainloop()&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;</description>
      <link>http://www.udvikleren.dk/forum/46083/python-script-paa-windows-8.1/</link>
      <pubDate>Fri, 27 Jun 2014 17:36:38 GMT</pubDate>
    </item>
    <item>
      <title>geninstallere windows 8 uden cd - muligt?</title>
      <description>Jeg har erhveret mig en bærbar, uden cd eller dvd-rom. &lt;br /&gt;&lt;br /&gt;Ville installere en blodsheet c++ compiler, men fik en god gammeldas' omgang virus istedet. &lt;br /&gt;&lt;br /&gt;Min løsning er at forsøge at geninstallere OS, hele balladen.&lt;br /&gt;Alt går tabt, men det er ligemeget, jeg har backup ect. &lt;br /&gt;&lt;br /&gt;1) Kan man bruge et usb-stik istedet for en boot-cd?&lt;br /&gt;&lt;br /&gt;2) Hvis 'ja' - hvordan får jeg så fat i et "boot-usb-stik"?&lt;br /&gt;&lt;br /&gt;Vh tim</description>
      <link>http://www.udvikleren.dk/forum/42878/geninstallere-windows-8-uden-cd-muligt/</link>
      <pubDate>Sat, 22 Mar 2014 19:51:41 GMT</pubDate>
    </item>
    <item>
      <title>java-proplem med man metode </title>
      <description>hej jeg har prøvet at compile nogle pogrammer men jeg får fejl i &lt;br /&gt;main metoden mellem "puplic" og "static":&lt;br /&gt;&lt;br /&gt;   "puplic(fejl her) static void main"&lt;br /&gt;    </description>
      <link>http://www.udvikleren.dk/forum/42796/java-proplem-med-man-metode-/</link>
      <pubDate>Sat, 08 Feb 2014 20:25:50 GMT</pubDate>
    </item>
    <item>
      <title>HD ydeevne 100% i brug ved idle</title>
      <description>Hej udviklere,&lt;br /&gt;&lt;br /&gt;Jeg håber nogle af jer har forstand på hardware/bugs på computeren.&lt;br /&gt;&lt;br /&gt;Jeg har en Sony Vaio VPCEB3Z1E bærbar PC (ca. 2½ år gammelt).&lt;br /&gt;&lt;br /&gt;Den har ikke før har haft specielle problemer med ydeevnen, men den seneste måned har den opført sig lidt mærkeligt.&lt;br /&gt;&lt;br /&gt;Førhen da jeg kiggede på "processer" i Jobliste lå min harddisks-ydeevne som regel på 5-20% ved idle, og mellem 70-95% når jeg bruger mange programmer på én gang.&lt;br /&gt;&lt;br /&gt;Men jeg har det problem nu at jeg tændte min PC, og dropbox åbner op som noget af det første, og idet at dropbox synkroniserer, så står min harddisk på 100% konstant hvis jeg kigger i Jobliste. Programmerne der benytter harddisken mest bruger 0,1 MB/s på harddisken, og altså ingen på fx. 5-10 MB/s, som bliver brugt normalt ved filflytning, etc.&lt;br /&gt;&lt;br /&gt;Min computer blev simpelthen langsom, og det virkede som om at der var noget som blokerede for min harddisk (skrive og læse). Jeg kan bevæge musen, men når jeg ønsker at åbne et program, så sker der ikke noget de første 30-40 sekunder efter at jeg har klikket, så det er helt håbløst at forsøge at arbejde på PCen.&lt;br /&gt;&lt;br /&gt;Så jeg lukkede dropbox, og derefter faldt ydelsen der blev udført på harddisken til normalt, og så kunne jeg arbejde igen.&lt;br /&gt;&lt;br /&gt;Så nu kører jeg ikke dropbox på min PC mere (sikke en løsning), men til gengæld så opstår problemet hvis jeg har haft min PC i dvale/standby.&lt;br /&gt;&lt;br /&gt;Så snart jeg får min PC ud af dvale, så bliver den langsom igen, og disk-forbrug står på 100% konstant, og ingen programmer bruger mere end 0,1 MB/s.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Er der nogen der kender en løsning til dette problem?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EDIT: typos</description>
      <link>http://www.udvikleren.dk/forum/40254/hd-ydeevne-100-i-brug-ved-idle/</link>
      <pubDate>Sun, 25 Aug 2013 16:02:02 GMT</pubDate>
    </item>
    <item>
      <title>Windows 8 - Harddisk fejlsøgning</title>
      <description>Hej udviklere, ved godt at dette ikke er et relevant udvikler spørgsmål, men håber at nogle er eksperter indenfor dette!&lt;br /&gt;&lt;br /&gt;Jeg har haft nogle mærkelige udfald på min harddisk, hvor den (uden at have nogle programmer åbne) yder 100%. Derfor tænkte jeg at jeg kunne køre en fejlsøgning på harddisken, og til dette har jeg brugt den indbyggede i Windows.&lt;br /&gt;&lt;br /&gt;Fejlsøgeren startede med at sige 10 minutter, gik så ned til 2 minutter, og derefter så øgede den stille og roligt den estimerede varighed.&lt;br /&gt;&lt;br /&gt;Jeg har ladet min PC stå i cirka 5 timer nu, og fejlsøgeren siger nu (og hold nu fast) estimeret 16 timer tilbage.. Det virker som om at den slet ikke udfører noget arbejde på min harddisk, så overvejer at lukke for den.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://i.imgur.com/DJHjtge.jpg" rel="nofollow"&gt;Screenshot ses her&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nogen der kan hjælpe?</description>
      <link>http://www.udvikleren.dk/forum/40136/windows-8-harddisk-fejlsoegning/</link>
      <pubDate>Thu, 25 Jul 2013 18:23:32 GMT</pubDate>
    </item>
    <item>
      <title>Overførsel af zip-fil fejler</title>
      <description>Kære udviklere,&lt;br /&gt;&lt;br /&gt;Er der nogen der kan fortælle mig hvorfor min overførsel fejler? Jeg har en zip-fil jeg skal have overført fra min computer til min usb. Min usb har 14.8 GB plads, og filen fylder 4.99 GB. Den siger at filen er for stor:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://billedeupload.dk/images/4fy9.png" rel="nofollow"&gt;Link til billede&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Jeg forstår det simpelthen ikke.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;Det skal lige sige at det er den .mkv-fil inde i mappen som ikke kan overføres.</description>
      <link>http://www.udvikleren.dk/forum/39487/overfoersel-af-zip-fil-fejler/</link>
      <pubDate>Sat, 26 Jan 2013 09:07:26 GMT</pubDate>
    </item>
    <item>
      <title>Windows 8 hjaelp</title>
      <description>Hej&lt;br /&gt;&lt;br /&gt;Jeg har en apple MacBook pro. Jeg har installeret windows 7 via boot camp og det virker at skifte mellem mac og windows 7.&lt;br /&gt;&lt;br /&gt;Nu har jeg installeret windows 8 uden bootcamp via windows 7. Jeg har installeret mac\s cd som man skal installere efter man har installeret windows.&lt;br /&gt;&lt;br /&gt;N[r jeg trykker paa bootcamp og genstart fra mac os starter den fra windows 8 alligevel og ikke fra mac.&lt;br /&gt;&lt;br /&gt;Nogen der kan hjaelpe, og hvordan jeg kan undo windows 8 saa jeg faar windows 7 tilbage igen og mac&lt;br /&gt;&lt;br /&gt;I cd drevet staar der en old windows&lt;br /&gt;&lt;br /&gt;tak</description>
      <link>http://www.udvikleren.dk/forum/39354/windows-8-hjaelp/</link>
      <pubDate>Wed, 26 Dec 2012 20:53:42 GMT</pubDate>
    </item>
    <item>
      <title>Udvikling af Metro App i Windows 8 og Visual Studio 2012</title>
      <description>Kære udviklere,&lt;br /&gt;&lt;br /&gt;Jeg vil gerne springe ud i det. Jeg ønsker at udvikle en App i Windows 8 (kun til eget brug), og det skal ikke indeholde noget specielt. Jeg vil gerne arbejde i Visual Studio 2012, og udvikle app'en i C# (CSharp). Jeg har søgt lidt på nettet, men kan ikke rigtig finde nogen god tutorial/guide til det.&lt;br /&gt;&lt;br /&gt;Jeg udvikler til daglig i C# (Web-udvikling), så vil nogenlunde kunne følge med i sproget ved udviklingen af app'en.&lt;br /&gt;&lt;br /&gt;Så jeg ville bare høre om der var nogen af jer der måske kunne hjælpe lidt? Evt. med nogle gode links eller andet. Alt er velkommen som svar, da alt kan hjælpe mig på vej lige nu.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Et lille sidespring&lt;/b&gt;&lt;br /&gt;Har haft læst mig frem til at jeg skal gøre følgende:&lt;br /&gt;&lt;br /&gt;Åbn Visual Studio 2012&lt;br /&gt;Klik på 'Nyt projekt'&lt;br /&gt;Åbn menuen ud for 'Visual C#'&lt;br /&gt;Klik på 'Windows Store'&lt;br /&gt;Klik på 'Grid App (XAML)'&lt;br /&gt;Opret projekt&lt;br /&gt;&lt;br /&gt;Det har jeg så gjort. Men kan ikke finde ud af hvad jeg kan/skal og ikke kan/skal.&lt;br /&gt;&lt;br /&gt;Det ville glæde mig rigtig meget med lidt hjælp &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;</description>
      <link>http://www.udvikleren.dk/forum/39132/udvikling-af-metro-app-i-windows-8-og-visual-studio-2012/</link>
      <pubDate>Thu, 15 Nov 2012 18:22:14 GMT</pubDate>
    </item>
    <item>
      <title>Windows 8</title>
      <description>Hej&lt;br /&gt;&lt;br /&gt;Kan man køre Visual studio, sql server og Office pakken til Windows 8 som blev brugt til Windows 7?</description>
      <link>http://www.udvikleren.dk/forum/39129/windows-8/</link>
      <pubDate>Thu, 15 Nov 2012 09:57:41 GMT</pubDate>
    </item>
    <item>
      <title>Windows 8 - Tilbage til Windows vista</title>
      <description>Hej Udviklere &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;&lt;br /&gt;&lt;br /&gt;Jeg har for noget tid siden hentet og installeret Windows 8, men jeg er blevet meget træt af det så jeg vil gerne tilbage til mit Windows Vista. Problemet er, at jeg ikke ved hvordan jeg skal gøre det. Jeg har ikke CD'en med Windows Vista. &lt;br /&gt;&lt;br /&gt;Tænkte på om der på nogen måde var mulighed for at komme tilbage til det gamle?</description>
      <link>http://www.udvikleren.dk/forum/38054/windows-8-tilbage-til-windows-vista/</link>
      <pubDate>Mon, 04 Jun 2012 07:17:03 GMT</pubDate>
    </item>
    <item>
      <title>Kan man installere Win 8, ligesom Linux Ubuntu?</title>
      <description>Hej.&lt;br /&gt;&lt;br /&gt;Kan man installere Win 8, (oven i win. 7) ligesom Linux Ubuntu? altså på en cd.&lt;br /&gt;Så man kan slette det igen, ligesom et andet program?(Så man stadig har win. 7, og alle ens dokumenter og programmer?)&lt;br /&gt;&lt;br /&gt;Eller skal man have en af delene?&lt;br /&gt;&lt;br /&gt;Eller hvordan fungere det?</description>
      <link>http://www.udvikleren.dk/forum/38047/kan-man-installere-win-8,-ligesom-linux-ubuntu/</link>
      <pubDate>Sat, 02 Jun 2012 20:54:24 GMT</pubDate>
    </item>
    <item>
      <title>Gratis 3 dags code camp i sommerhus</title>
      <description>Tag med &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://danielfrost.dk/post/Deltag-gratis-i-en-Windows-8-Dev-Camp-i-et-sommerhus.aspx"&gt;http://danielfrost.dk/post/Deltag-gratis-i-en-Windows-8-Dev-Camp-i-et-sommerhus.aspx&lt;/a&gt;</description>
      <link>http://www.udvikleren.dk/forum/37945/gratis-3-dags-code-camp-i-sommerhus/</link>
      <pubDate>Wed, 23 May 2012 06:44:13 GMT</pubDate>
    </item>
    <item>
      <title>Windows 8 live</title>
      <description>&lt;a href="http://www.buildwindows.com/"&gt;http://www.buildwindows.com/&lt;/a&gt;&lt;br /&gt;hvis I vil følge live præsentation neotp nu (her kl 18)&lt;br /&gt;&lt;br /&gt;Det frie valg vi får med udvikling af apps til windows 8 siger max syg ud udmiddelbart, med mulighed for at vælge at lave en app javascript i visual studio 2011, eller c#, eller c++.. eller.. you name it :=)&lt;br /&gt;&lt;br /&gt;Man må sige, at MS nu omfavner skyen..&lt;br /&gt;Nice at man kan lave en app og uden at skrive en linie kode kan lave trial versioner... og kan tilgå billeder, om det er på filsystem eller på facebook eller what ever med 1 linie kode.. nemt integreret i windows 8..&lt;br /&gt;&lt;br /&gt;Ikke lige udviklings-mæssigt, men de startede lige windows 8.. og skærmen kunne ikke følge at starte før windows havde startet.. Så er det pludselig sjovt (vild pc dog)&lt;br /&gt;Understøtter diske på 208 TB .. 208 TB diske.. HOLY "###¤&lt;br /&gt;&lt;br /&gt;Kig med og skriv da endelig, hvad I tænker (og helst fra de af jer der ser med)</description>
      <link>http://www.udvikleren.dk/forum/35357/windows-8-live/</link>
      <pubDate>Tue, 13 Sep 2011 16:42:13 GMT</pubDate>
    </item>
  </channel>
</rss>