Re: [Tutor] Interacting with stderr

2014-08-28 Thread Alan Gauld
On 28/08/14 07:30, Cameron Simpson wrote: On a tutor list, what's our stance on exploring the operation at a lower level so the OP gets a better feel for what's going on? I'm aware we don't need to agree on that stance:-) Its OK if the OP will understand it. Just explaining the detail of itse

[Tutor] Regression analysis using statsmodels: linear combinations

2014-08-28 Thread Shakoor Hajat
Hello I would very much appreciate any help with the following query: I am running a regression analysis in Python using statsmodels and wish to obtain the combined effect of a number of the explanatory variables in the model. I could simply sum the individual coefficients to obtain my effect e

Re: [Tutor] debug and execute python code in Mac

2014-08-28 Thread William Ray Wing
On Aug 27, 2014, at 8:08 PM, Sebastian Silva wrote: > I stumbled today upon this IDE for the mac http://plotdevice.io/ > > From the looks of it, it seems like a nice tool for teaching/learning Python. > Too bad it's mac only. If you try it, do share your experience. I don't use > non-free oper

Re: [Tutor] debug and execute python code in Mac

2014-08-28 Thread Chris “Kwpolska” Warrick
On Thu, Aug 28, 2014 at 2:41 PM, William Ray Wing wrote: > On Aug 27, 2014, at 8:08 PM, Sebastian Silva > wrote: >> Too bad it's mac only. If you try it, do share your experience. I don't use >> non-free operating systems, so I can't try it myself. > > Just as an aside — Apple has stopped charg

Re: [Tutor] Interacting with stderr

2014-08-28 Thread Crush
So, are yall done arguing haha...jk! Seriously, thank you for taking the time to pick this issue apart with me. Cameron your "learning" comment was right on; my ultimate goal in posting here is to learn and of course to figure out my code. As far as the pipe in... "avconv -v verbose -re -anal

Re: [Tutor] Regression analysis using statsmodels: linear combinations

2014-08-28 Thread Alan Gauld
On 28/08/14 12:20, Shakoor Hajat wrote: I would very much appreciate any help with the following query: I am running a regression analysis in Python using statsmodels and wish to obtain the combined effect of a number of the explanatory variables in the model. I could simply sum the individual

[Tutor] Tutoring

2014-08-28 Thread abid saied
Hi, would anyone like to provide some face to face guidance/tutoring? My post code is BL3 2LR, I’m happy to offer a nice meal, my wife makes some really good curries! thanks. Abid Saied abidsa...@gmail.com ___ Tutor maillist - Tutor@python.org

Re: [Tutor] Tutoring

2014-08-28 Thread Alan Gauld
On 28/08/14 13:02, abid saied wrote: would anyone like to provide some face to face guidance/tutoring? > My post code is BL3 2LR, That looks like a UK post code? Are you in the UK? This list is international in membership, we have folks from the US, Canada, Australia, India, Japan, all over i

[Tutor] Import from project's lib directory?

2014-08-28 Thread leam hall
python 2.4.3 on Red Hat Linux. I'm starting a project and want to break the scripts into "input", "output", and "ddl". I'd like to have a "lib" library directory for local modules. The library directory would be at the same level as the others. How do I get the library modules? import '../lib/

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread Danny Yoo
On Thu, Aug 28, 2014 at 11:03 AM, leam hall wrote: > python 2.4.3 on Red Hat Linux. > > I'm starting a project and want to break the scripts into "input", > "output", and "ddl". I'd like to have a "lib" library directory for > local modules. The library directory would be at the same level as the

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread leam hall
On Thu, Aug 28, 2014 at 2:19 PM, Danny Yoo wrote: > On Thu, Aug 28, 2014 at 11:03 AM, leam hall wrote: >> python 2.4.3 on Red Hat Linux. >> >> I'm starting a project and want to break the scripts into "input", >> "output", and "ddl". I'd like to have a "lib" library directory for >> local modules

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread Danny Yoo
> > Fails on both Python 2.4 and 2.6 with either ".lib" or "..lib". > > ### code > #!/usr/bin/env python > > from ..lib import mymodule > > > In python/ddl, referencing ../lib/mymodule.py > > ./import_test.py > Traceback (most recent call last): > File "./import_test.py", line 3, in >

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread leam hall
On Thu, Aug 28, 2014 at 3:27 PM, Danny Yoo wrote: >> >> Fails on both Python 2.4 and 2.6 with either ".lib" or "..lib". >> >> ### code >> #!/usr/bin/env python >> >> from ..lib import mymodule >> >> >> In python/ddl, referencing ../lib/mymodule.py >> >> ./import_test.py >> Traceback (most re

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread Alan Gauld
On 28/08/14 19:03, leam hall wrote: python 2.4.3 on Red Hat Linux. I'm starting a project and want to break the scripts into "input", "output", and "ddl". I'd like to have a "lib" library directory for local modules. The library directory would be at the same level as the others. How do I get t

Re: [Tutor] Interacting with stderr

2014-08-28 Thread Cameron Simpson
On 28Aug2014 09:42, Crush wrote: As far as the pipe in... "avconv -v verbose -re -analyzeduration 1000 -ihttp://localhost:6498/ms2/1382097438004/0MediaPlayer+0+/octoshape+hVV+octolive.americaone.com+V+aone+V+live+V+ONECONNXTDEMO1_HD_flv/aoneliveONECONNXTDEMO1HDflv -c:v rawvideo -c:a pcm_s16le

[Tutor] Quick question for Tutor admin.

2014-08-28 Thread Crush
Am I allowed to attach screen shots to my emails? Bo ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Import from project's lib directory?

2014-08-28 Thread Cameron Simpson
On 28Aug2014 22:36, Alan Gauld wrote: On 28/08/14 19:03, leam hall wrote: python 2.4.3 on Red Hat Linux. I'm starting a project and want to break the scripts into "input", "output", and "ddl". I'd like to have a "lib" library directory for local modules. The library directory would be at the s

Re: [Tutor] Regression analysis using statsmodels: linear combinations

2014-08-28 Thread Cameron Simpson
On 28Aug2014 17:41, Alan Gauld wrote: On 28/08/14 12:20, Shakoor Hajat wrote: I would very much appreciate any help with the following query: I am running a regression analysis in Python using statsmodels and wish to obtain the combined effect of a number of the explanatory variables in the mo

Re: [Tutor] Quick question for Tutor admin.

2014-08-28 Thread Cameron Simpson
On 28Aug2014 18:25, Crush wrote: Am I allowed to attach screen shots to my emails? I am not the list admin, but generally no. Please insert plain text into your posts. Many lists strip attachments, and many people on technical lists are (deliberately) working in a purely text environment.

Re: [Tutor] Quick question for Tutor admin.

2014-08-28 Thread Danny Yoo
On Thu, Aug 28, 2014 at 3:25 PM, Crush wrote: > Am I allowed to attach screen shots to my emails? Hi Bo, If the informational content can be represented textually, then please try to avoid screenshots in favor of copy-and-paste. There are a few reasons for it. But one major reason why text is

Re: [Tutor] Regression analysis using statsmodels: linear combinations

2014-08-28 Thread Cameron Simpson
On 29Aug2014 08:45, Cameron Simpson wrote: It looks like he's using this: http://statsmodels.sourceforge.net/ Works in python 2 and 3, but does not seem to have a dedicated mailing list. Hmm. There's a mailing list here: https://groups.google.com/forum/?hl=en#!forum/pystatsmodels That is

Re: [Tutor] Quick question for Tutor admin.

2014-08-28 Thread Alan Gauld
On 28/08/14 23:25, Crush wrote: Am I allowed to attach screen shots to my emails? We can't stop you, but we prefer text. Not least because some members can't receive anything but text. Also some pay by the byte and images tend to be big and thus expensive. So you would limit the visibility and