can't use Python in Materialise Mimics

2022-03-26 Thread Timo Meijer
/watch?v=iVBCNZykcrc&ab_channel=MaterialiseMedical But unfortunately it does not work. Could you help me out? Kind regards, Timo Meijer 0031651634920 Verzonden vanuit Mail<https://go.microsoft.com/fwlink/?LinkId=550986> voor Windows -- https://mail.python.org/mailman/listinfo/python-list

Re:

2018-06-10 Thread Timo Furrer
Can you be more specific. What did you try? In which environment? What was the error message you got? On Sun, Jun 10, 2018 at 6:32 PM sagar daya wrote: > Couldn't install any module from pip > Plz help??? > -- > https://mail.python.org/mailman/listinfo/python-list > --

Re: syntax question

2018-06-02 Thread Timo Furrer
+ 3 Cheers, Timo On Sat, Jun 2, 2018 at 1:12 PM Sharan Basappa wrote: > Can anyone please tell me what the following line in a python program does: > > line = lambda x: x + 3 > > I have pasted the entire code below for reference: > > from scipy.optimize import fsolve >

Re: Daemon strategy

2016-02-06 Thread Timo Furrer
Twain, _Following the Equator_ | > _o__) | > Ben Finney > > -- > https://mail.python.org/mailman/listinfo/python-list > -- *Timo Furrer* https://github.com/timofurrer tuxt...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Reading from stdin first, then use curses

2013-08-31 Thread Timo Schmiade
Hi again, sorry for replying to my own mail, but is there really no solution? Can curses really not be used in this situation? Thanks again, Timo On Sun, Aug 11, 2013 at 02:05:11PM +0200, Timo Schmiade wrote: > Hi all, > > I wrote a replacement for urlview to properly extract URLs fr

Reading from stdin first, then use curses

2013-08-11 Thread Timo Schmiade
do-terminal (pipe) * curses is not able to accept user input from the pseudo-terminal The question is: How do I read from stdin first and afterwards allow curses to read user input? Thanks in advance and kind regards, Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Embedding Python in a shell script

2011-06-17 Thread Timo Lindemann
On Fri, 17 Jun 2011 22:15:57 +0200, Hans Mulder said: > On 17/06/11 19:47:50, Timo Lindemann wrote: >> On Fri, 17 Jun 2011 00:57:25 +, Jason Friedman said: >> >> >> >>> but for various reasons I want a single script. Any alternatives? >> >> yo

Re: Embedding Python in a shell script

2011-06-17 Thread Timo Lindemann
On Fri, 17 Jun 2011 00:57:25 +, Jason Friedman said: > > but for various reasons I want a single script. Any alternatives? you can use a here document like this: #! /bin/bash /usr/bin/python2 << EOPYTHON def hello(): print("Hello, World"); if __name__ == "__main__": hel

Re: How to create a (transparent) decorator with status information?

2011-04-19 Thread Timo Schmiade
On Tue, Apr 19, 2011 at 08:20:05AM -0600, Ian Kelly wrote: > On Tue, Apr 19, 2011 at 1:12 AM, Timo Schmiade wrote: > > Just one question remains now: What is a "Borg" in this context? > > http://code.activestate.com/recipes/66531/ > -- > http://mail.python.o

Re: How to create a (transparent) decorator with status information?

2011-04-19 Thread Timo Schmiade
er Brilliant! I didn't realize you could use member functions as decorators, too! That way, you can easily create closures to self, solving all the problems I was seeing. Just one question remains now: What is a "Borg" in this context? Thank you. Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: How to create a (transparent) decorator with status information?

2011-04-19 Thread Timo Schmiade
store it in an > object and use an instance method as the decorator: Yes, this is the same idea that Wayne came up with. Thank you as well, that helped me understand decorators a lot more. Kind regards, Timo -- http://mail.python.org/mailman/listinfo/python-list

How to create a (transparent) decorator with status information?

2011-04-18 Thread Timo Schmiade
ors and am thinking in completely wrong directions? Thanks in advance! Kind regards, Timo -- http://mail.python.org/mailman/listinfo/python-list

type error raise

2010-05-27 Thread timo verbeek
what is the problem with this code? _base={"repeat":False,"string":"Progres has failed","works":True} print _base class dictreturn(_base):pass this error Traceback (most recent call last): File "", line 244, in run_nodebug File "C:\Documents and Settings\Owner\Desktop\Python\assistent new \us

Re: creating addon system

2010-05-22 Thread timo verbeek
Is there not an other way to create a fast addon system? A module or something like that -- http://mail.python.org/mailman/listinfo/python-list

creating addon system

2010-05-21 Thread timo verbeek
What is the easiest way in python to create a addon system? I found to easy ways: * using a import system like this: for striper in stripers: if striper["enabled"]: exec("from strip import %s as _x"%striper["striper"]) string = _x.start(string) * using exec

Re: Human word reader

2010-05-15 Thread timo verbeek
On May 15, 1:02 pm, timo verbeek wrote: Place starts always with for -- http://mail.python.org/mailman/listinfo/python-list

Human word reader

2010-05-15 Thread timo verbeek
I'm planning to create a human word program A human inputs a string "Give me the weather for London please." Then I will strip the string. "weather for london" Then I get the useful information. what:"weather" where:"london" After that I use the info. I need help with getting the useful informatio

Re: Getting a Python program to run of off a flash drive?

2010-04-01 Thread timo verbeek
On Apr 1, 12:48 am, Abethebabe wrote: > I wanted to know if there was a way I could get a Python program to > run off of my flash drive as soon as the computer (Windows) detected > the device? > > For example I could have a a simple program that would create a text > document on the computers desk

Re: Using python 3 for scripting?

2009-03-23 Thread Timo Myyrä
Not too keen on working with Solaris either. Did some small configuration last time I worked there and it was all a mess. I'm trying to convince them to switch to OpenBSD :) Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python 3 for scripting?

2009-03-22 Thread Timo Myyrä
I might get summer job in doing some 2nd tier support and doing some scripting besides that in Solaris environment. I gotta see what kind of scripts are needed but I'd guess the 2.6 would be the safest option. Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python 3 for scripting?

2009-03-22 Thread Timo Myyrä
Ok, I think I'll stick with the 2.6 then. I recall it gave warnings about things that are deprecated in 3.0 so it will make porting the scripts to 3.0 easier. I might try 3.0 once I know what kind of scripts are needed. -- http://mail.python.org/mailman/listinfo/python-list

Using python 3 for scripting?

2009-03-22 Thread Timo Myyrä
Hi, I'll have to do some scripting in the near future and I was thinking on using the Python for it. I would like to know which version of Python to use? Is the Python 3 ready for use or should I stick with older releases? Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: filter in for loop

2008-08-28 Thread Timo
glob import iglob def ipathnames(pattern): return (abspath(n) for n in iglob(pattern)) for xmlfile in ipathnames('*.xml'): -- timo -- http://mail.python.org/mailman/listinfo/python-list

Mac OS distultils probelm

2008-05-19 Thread Timo
there seems to be a strange problem inside distutils. I looked at that source code but couldn't make any sense out of it. Any idea of what could cause this and how this could be fixed would be greatly appreciated Thanks Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Q: Class Privacy (or lack of)

2006-07-28 Thread Timo
_slots__ = ('bar',) def func(self): return 123 x = MyClass() x.instance_var_not_defined_in_the_class = 456 ==> AttributeError: 'MyClass' object has no attribute 'instance_var_not_defined_in_the_class' x.func = 789 ==> AttributeError: 'My

Re: What is Expressiveness in a Computer Language

2006-06-22 Thread Timo Stamm
Claudio Grondi schrieb: > Looking this thread growing it appears to me, that at least one thing > becomes evident here: > > Xah unwillingness to learn from the bad past experience contaminates > others (who are still posting to his trolling threads). This is actually one of the most interesting

Re: John Bokma harassment

2006-05-24 Thread Timo Stamm
John Bokma schrieb: > Timo Stamm <[EMAIL PROTECTED]> wrote: > >> Tim N. van der Leeuw schrieb: > [...] >>> but since I've stopped following threads originated by him >> That's all you need to do if you are not interested in his posts. > > Yo

Re: John Bokma harassment

2006-05-24 Thread Timo Stamm
ppreciate his posts. > but since I've stopped following threads originated by him That's all you need to do if you are not interested in his posts. Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Software Needs Philosophers

2006-05-22 Thread Timo Stamm
ction about your junk filters. Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: What Languages to Hate

2006-04-29 Thread Timo Stamm
John Bokma schrieb: > > I have warned this user that excessive offtopic cross-posting is not > allowed,[...] > I just wrote to the abuse department at dreamhost, telling them that your accusations are highly exaggerated. Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations

2006-03-17 Thread Timo Stamm
[EMAIL PROTECTED] schrieb: > In comp.lang.perl.misc Timo Stamm <[EMAIL PROTECTED]> wrote: >> Other charsets than US-ASCII are widely accepted in non-english >> newsgroups as long as the charset is properly declared. > >> Xah's posting was properly encoded an

Re: Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations

2006-03-17 Thread Timo Stamm
via google groups. Maybe it's the reader which > is 'non-compliant' ? Other charsets than US-ASCII are widely accepted in non-english newsgroups as long as the charset is properly declared. Xah's posting was properly encoded and will display fine in every decent newsreader. Timo -- http://mail.python.org/mailman/listinfo/python-list

Thread safe object cache without locking

2005-09-15 Thread Timo
ns correct? Do you have ideas for improvements (especially regarding speed)? I'm restricted to Py2.3+ compatibility. Thanks, Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Inconsistent reaction to extend

2005-09-09 Thread Timo
(4) returns a list and Python's list.extend() returns None. Extend is a in-place operation. -- timo -- http://mail.python.org/mailman/listinfo/python-list

Re: Erroneous line number error in Py2.4.1 [Windows 2000+SP3]

2005-04-07 Thread Timo
Martin v. Löwis wrote: > Timo wrote: > > Does anyone have a clue what is going on? > > No. Please make a bug report to sf.net/projects/python. > Done: http://sourceforge.net/tracker/index.php?func=detail&aid=1178484&group_id=5470&atid=105470 BR, Timo --

Erroneous line number error in Py2.4.1 [Windows 2000+SP3]

2005-04-06 Thread Timo
tion warning (just like they should be doing). My environment: Windows 2000 + SP3. BR, Timo -- http://mail.python.org/mailman/listinfo/python-list

Re: html tags and python

2005-03-30 Thread Timo Virkkala
on to your problem (the solution would be to use JavaScript), but if I was a user, I'd rather type in the day number myself than have to choose from a 31-long dropdown. Why don't you just give the user a text field and then validate the input. Just my 2 cents.. -- Timo Virkkala -- http://

PyOpenGL issues (glutGetModifiers())

2005-03-06 Thread Timo Finnilä
Hi, I'm having some weird issues with Python 2.4 and PyOpenGL 2.0.2.01 (and also with older versions). When I call glutGetModifiers from event handler functions (set using glutMouseFunc, glutMotionFunc etc...), it just says: "GLUT: Warning in foo: glutCurrentModifiers: do not call outside core

Re: Faster way to do this...

2005-03-03 Thread Timo Virkkala
of 2, 4, 8 etc. as well as other things. range(2, 100, 4) How about you fire up the interactive python and try help(range) ;) -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and version control

2005-02-09 Thread Timo Virkkala
at home. Or after 10 minutes of learning the commands, that is. And as someone already suggested, TortoiseSVN is a great front-end for SVN. It integrates with the Windows shell very nicely. http://subversion.tigris.org/ http://tortoisesvn.tigris.org/ -- Timo Virkkala -- http://mail.python.org/mai

Re: python code with indention

2005-02-08 Thread Timo Virkkala
Xah Lee wrote: is it possible to write python code without any indentation? 1) Why in the name of Xah Lee would you even want to? 2) If you need to ask questions this simple, are you sure you are the right person to write tutorials? 3) Do you even read the replies you get? -- Timo Virkkala

Re: Newbie alert

2005-02-02 Thread Timo Virkkala
is used. Check case. You'll find the problem :) -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] daily tip website

2005-01-28 Thread Timo Virkkala
Xah Lee wrote: Thanks to those who have made useful comments. They will be assimilated. The comments, or those who have made comments? "Corrections are futile. You will be assimilated." --Xah Lee -- Timo Virkkala -- http://mail.python.org/mailma

Re: [perl-python] 20050127 traverse a dir

2005-01-27 Thread Timo Virkkala
The Flow wrote: Do you want to be taken seriously? First, stop posting. Second, learn perl. Third, learn python. No. Second, learn Python. Third, learn Perl (optional). :) But we do agree on the first. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: python without OO

2005-01-27 Thread Timo Virkkala
reversed(x) x.reverse() y = x.reversed() -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: python without OO

2005-01-27 Thread Timo Virkkala
Davor wrote: Timo Virkkala wrote: This guy has got to be a troll. No other way to understand. not really - it was not my intention at all - but it seems people get upset whenever this OO stuff is mentioned - and what I did not expect at all at this forum as I believed Python people should not be

Re: python without OO

2005-01-26 Thread Timo Virkkala
This guy has got to be a troll. No other way to understand. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: Why tuples use parentheses ()'s instead of something else like <>'s?

2005-01-06 Thread Timo Virkkala
anything to do with the tuple. They are just used for disambiguation. It's the commas that define the tuple. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: Other notes

2005-01-06 Thread Timo Virkkala
[EMAIL PROTECTED] wrote: Andrew Dalke: (BTW, it needs to be 1 .. 12 not 1..12 because 1. will be interpreted as the floating point value "1.0".)< Uhm, I have to fix my ignorance about parsers. Cannot a second "." after the first tell that the first "." isn't in the middle of a floating point number

Re: Should I always call PyErr_Clear() when an exception occurs?

2004-12-21 Thread Timo Virkkala
rograms in Python would have been a LOT nicer. Less challenging, sure, but definitely more fun. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: lies about OOP

2004-12-14 Thread Timo Virkkala
P makes data encapsulation so much easier. Writing correct code with minimum effort should be the first goal, speed issues (at that level) should be brought into the game later on. You should ask your co-worker if he also puts all his data in global variables :) *wink* -- Timo Virkkala -- http

Re: Python vs. Perl

2004-12-13 Thread Timo Virkkala
;s unfair! That approach leads to Python every time! Oh wait, that was the purpose.. :) -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: creating generators from function

2004-12-08 Thread Timo Virkkala
Simon Wittber wrote: I guess this changes my question to: Can I convert a function containing an infinite loop, into a generator which will yield on each iteration? Why don't you just use threads? It would probably be easier in the long run... -- Timo Virkkala -- http://mail.python.org/ma

Re: How is Python designed?

2004-12-02 Thread Timo Virkkala
ou'll probably find your answer at http://www.python.org Take a look at the Docs -> Language Reference and PEP sections. -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list

Re: Closing files

2004-11-29 Thread Timo Virkkala
do it? -- Timo Virkkala -- http://mail.python.org/mailman/listinfo/python-list