Re: [Tutor] PYTHONPATH (Mac OS X)

2011-12-30 Thread Stayvoid
>You don't have any option. >You either type in the full path or you get the user to tell you >in some way - either with a prompt or via an input argument. OK, now I get it. How can I tell this to the end-user? Should I write a README file or what? I've tried to run lengthcounter_lutz from the f

Re: [Tutor] PYTHONPATH (Mac OS X)

2011-12-30 Thread Alan Gauld
On 30/12/11 13:11, Stayvoid wrote: I've tried to run lengthcounter_lutz from the file's folder and this worked out. cd /Users/Username/Python_modules/ python /Users/Username/Python_modules/lengthcounter_lutz.py You should only have needed: > python ./lengthcounter_lutz.py the ./ tells Linux

[Tutor] Drawing a figure

2011-12-30 Thread Stayvoid
Hey there! I want to write a program that can draw a figure using the coordinates specified by the user and calculate its area. An output should be saved in tiff or png. What should I use for this? Cheers. ___ Tutor maillist - Tutor@python.org To uns

Re: [Tutor] Drawing a figure

2011-12-30 Thread Alan Gauld
On 30/12/11 14:12, Stayvoid wrote: I want to write a program that can draw a figure using the coordinates specified by the user and calculate its area. An output should be saved in tiff or png. What should I use for this? You have lots of options. Since you are on a Mac you might want to try u

Re: [Tutor] Drawing a figure

2011-12-30 Thread Stayvoid
I think I'll stick with PyGTK. How to install it? This FAQ looks outdated: http://faq.pygtk.org/index.py?req=show&file=faq01.019.htp I've also tried to compile it from source: PyGTK asked for pkg-config and pygobject. Pygobject asked for pkg-config. Pkg-config asked for pkg-config and glib: conf

Re: [Tutor] Drawing a figure

2011-12-30 Thread Alan Gauld
On 30/12/11 18:49, Stayvoid wrote: I think I'll stick with PyGTK. I assume "stick with" implies you have previous experience with GTk? How to install it? Sorry, can't help there, but there are some other GTk users on the list, maybe some of them use Mac and can help? I know that there is