[Tutor] Matrix

2004-12-19 Thread Bugra Cakir
hi, I want to create a matrix in Python. For example 3x4 how can i create this? thanks ___ Tutor maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/tutor

[Tutor] Help IDLE Compile Problem

2006-07-11 Thread Bugra Cakir
Hi,I have two Python source files within editing them via IDLE.I have a problem. The second file is used by the first file. Some partsi mean from the second file is used. But when i change the contents of the second file and while i'm running the first file with F5, change doesnt reflectto the runt

[Tutor] IDLE Caching

2006-07-23 Thread Bugra Cakir
Hi,I have a problem with IDLE on Windows.While I'm executing a python script in IDLE subsequenceediting and executions on the file sometimes doesn't reflect the changes.For example, i changed the file then save it, execute it, although i changed the file, IDLE shows the previous version of the file

Re: [Tutor] IDLE Caching

2006-07-24 Thread Bugra Cakir
class Tree:    def Tree(self):    self.rootNode = None    def Tree(self, rootNode):    self.rootNode = rootNode    def getRootNode(self):    return self.rootNode    def setRootNode(self, rootNode):     self.rootNode = rootNodeclass Node:    def Node(self):    self.content = ''  

Re: [Tutor] IDLE Caching

2006-07-24 Thread Bugra Cakir
Really, I have realized the difference Luke said. However sometimes IDLE runs theold version, this is the thing I cant realized.On 7/24/06, Luke Paireepinart <[EMAIL PROTECTED]> wrote: [snip code]> look at this code. Edit this code with IDLE. For example change one of> the 'self' statement> in the

Re: [Tutor] IDLE Caching

2006-07-24 Thread Bugra Cakir
So from the answers, i want to imagine how python exercise the codewhen you push the button execute. My guess before looking at the docsor other material,1. check python syntax 2. transform to byte code.3. execute the byte code. ___ Tutor maillist - Tut

Re: [Tutor] IDLE Caching

2006-07-24 Thread Bugra Cakir
let me dig into documentation before thinking in the blind :) thanks a lot Alan !On 7/25/06, Alan Gauld < [EMAIL PROTECTED]> wrote:> So from the answers, i want to imagine how python exercise the code > when you push the button execute. My guess before looking at the> docs> or other material,>> 1.

Re: [Tutor] Tutor Digest, Vol 31, Issue 26

2006-09-11 Thread Bugra Cakir
Hi,My thought is seperate main and utility functions to different files.For example there will be a Main.py and UsbUtil.py and from Main.pyyou can import usb functions. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor