import module unbelieveable behaviour

2009-07-15 Thread Peter Fodrek
ne be helpful for me to get more information about this problem because pydb does not show anything usable for me,please? I look forward hearing form you Yours faithfully Peter Fodrek -- http://mail.python.org/mailman/listinfo/python-list

Re: import module unbelieveable behaviour

2009-07-15 Thread Peter Fodrek
On Wednesday 15 July 2009 17:41:54 Diez B. Roggisch wrote: > Peter Fodrek wrote: .. > What does > > import nc > print nc.__file__ python Python 2.6 (r26:66714, Feb 3 2009, 20:49:49) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type "help", "copyrigh

Re: import module unbelieveable behaviour

2009-07-15 Thread Peter Fodrek
On Thursday 16 July 2009 02:18:52 Carl Banks wrote: > On Jul 15, 6:12 am, Peter Fodrek wrote: > That's a tricky one, indeed. > > Here's my guess: test.py is a symlink to a file in another directory. It is not true guess ls -la test.py -rw-r--r-- 1 peto users 1990 2009-07-1

Re: import module unbelieveable behaviour

2009-07-15 Thread Peter Fodrek
On Thursday 16 July 2009 07:38:23 Carl Banks wrote: > On Jul 15, 10:16 pm, Peter Fodrek wrote: > > On Wednesday 15 July 2009 17:41:54 Diez B. Roggisch wrote: > > > Peter Fodrek wrote: > > > > .. > > > > > What does > > > > > >

Re: import module unbelieveable behaviour

2009-07-15 Thread Peter Fodrek
On Thursday 16 July 2009 08:38:57 Peter Fodrek wrote: > On Thursday 16 July 2009 07:38:23 Carl Banks wrote: > > On Jul 15, 10:16 pm, Peter Fodrek wrote: > > > On Wednesday 15 July 2009 17:41:54 Diez B. Roggisch wrote: > sys.path.insert(0,'/usr/local/lib/heekscnc/&#x

Re: error when compiling source on linux

2009-07-17 Thread Peter Fodrek
On Friday 17 July 2009 06:44:26 aj wrote: > when I try to compile Python 2.6 from source code on ubuntu, I get the > message > /usr/bin/ld: cannot open output file python: Is a directory This says that there is directory in the sources with same name as will be named output It can only occur whe

Regular expression

2009-07-21 Thread Peter Fodrek
1) omits ',' in the a output 2) omits minus sign in the numbers... Would anyone recommend me what to change regular expression to add thesee two think to the output,please? Thank you for any help. I look forward hearing form you Yours faithfully Peter Fodrek -- http://mai

Re: Regular expression

2009-07-21 Thread Peter Fodrek
21.7.2009 v 16:50, MRAB: Peter Fodrek wrote: Dear conference! I have third party regular expression self.pattern_main = re.compile('(\s+|\w(?:[+])?\d*(?:\.\d*)?|\w\#\d +|\(.*?\)| \#\d+\=(?:[+])?\d*(?:\.\d*)?)') [snip] It handles file correctly with two exceptions 1) omits &#

Re: Embedded Systems development using Python

2010-09-06 Thread Peter Fodrek
On Monday 06 September 2010 13:02:56 VGNU Linux wrote: > Hi List, > Can Python be used for embedded systems development ? It is hard to say yes or no. For hard Real-time systems or hard Real-time parts of complex system answer is no, in another type of embedded systems yes or maybe > If Yes can