[Tutor] Question about install.py

2012-01-18 Thread sp6
Hello, I'm new to Python and was wondering if someone could answer a question I have. Say that I have a python library, arithmetic-0.5, located at /X/arithmetic-0.5 I'd like to run setup and install it. But I guess since /X/arithmetic-0.5 is not in install.py's default search path, it comes b

[Tutor] To: Wayne Werner , re Reg. Expressions Parenthesis

2012-01-18 Thread Chris Kavanagh
For some reason I didn't get this email, found it in the archives. I wanted to make sure I thanked Wayne for the help!!! On Tue, Jan 17, 2012 at 3:07 AM, Chris Kavanagh <[hidden email]> wrote: Hey guys, girls, hope everyone is doing well. Here's my question, when using Regular Expressions, t

Re: [Tutor] Installing Modules

2012-01-18 Thread Walter Prins
Hi, On 18 January 2012 18:07, Downey, Patrick wrote: > I'm currently running Python version 2.7 through IDLE on a Windows machine. > I'm trying to use numpy and scipy. I downloaded both modules from the scipy > website and unzipped the files into: > C:\Python27\Lib\site-packages > Generally, ma

Re: [Tutor] Installing Modules

2012-01-18 Thread Jerry Hill
On Wed, Jan 18, 2012 at 1:07 PM, Downey, Patrick wrote: > I'm currently running Python version 2.7 through IDLE on a Windows machine. > I'm trying to use numpy and scipy. I downloaded both modules from the scipy > website and unzipped the files into: > C:\Python27\Lib\site-packages > That is not

Re: [Tutor] Installing Modules

2012-01-18 Thread Alan Gauld
On 18/01/12 18:07, Downey, Patrick wrote: I'm trying to use numpy and scipy. I'll leave those specifics to those who use them, but... specified by the environment variable PYTHONPATH." Unfortunately, I haven't figured out how to look at PYTHONPATH, so I don't know where it's looking. Do i

Re: [Tutor] Installing Modules

2012-01-18 Thread Nate Lastname
Have you looked at help(sys)? sys stores the PYTHONPATH variable. Just run >>> import sys >>> help(sys) at the python prompt. On 1/18/12, Downey, Patrick wrote: > Hello, > > I'll start by saying that I have a math/stats background, not a computer > science one. I've found lots of great material

[Tutor] Installing Modules

2012-01-18 Thread Downey, Patrick
Hello, I'll start by saying that I have a math/stats background, not a computer science one. I've found lots of great material to help with Python programming, but have had a much harder time getting my head around setup issues, like installing modules. I'm currently running Python version 2.7 th

Re: [Tutor] something about sum, integer and delta function

2012-01-18 Thread lina
On Tue, Jan 17, 2012 at 10:25 AM, Lie Ryan wrote: > On 01/16/2012 12:57 AM, lina wrote: >> >> Hi, >> >> are there some modules can be used to do below things like: >> >> sum and delta function, and intergeration. > > > Are you trying to graphically render an equation, calculate the results of > eq

Re: [Tutor] Facebook apps with python

2012-01-18 Thread Alan Gauld
On 18/01/12 13:34, karthik s wrote: Well, my question is simple.. How do I create facebook apps with python. I have no idea, I never use Facebook. But given this is a list for peiople learning the Python language it might be too specialised a question, you might be better on the general Pytho

Re: [Tutor] (no subject)

2012-01-18 Thread Alan Gauld
On 18/01/12 12:00, Selwyn Mileham wrote: Trying to print to printer using python 3.2.2 Get error load dll error can’t find win32print. So what are you trying? You don't give us much to work with here? Also you're more likely to get an answer from one of the Python windows lists rather than o

Re: [Tutor] Facebook apps with python

2012-01-18 Thread Ranjith Kumar
Please try this karthik https://www.google.com/search?client=ubuntu&channel=fs&q=how+to+create+facebook+app+using+python&ie=utf-8&oe=utf-8 On Wed, Jan 18, 2012 at 7:04 PM, karthik s wrote: > Well, my question is simple.. > > How do I create facebook apps with python. I have couple of interestin

[Tutor] Facebook apps with python

2012-01-18 Thread karthik s
Well, my question is simple.. How do I create facebook apps with python. I have couple of interesting/ funky programs and want to make them as apps. So, 1. What all things I should know for writing facebook apps. 2. I read that we should first upload our app to 'google app engine' and need do

Re: [Tutor] (no subject)

2012-01-18 Thread Wayne Werner
On Wed, Jan 18, 2012 at 6:00 AM, Selwyn Mileham wrote: > Help someone > > Trying to print to printer using python 3.2.2 > > Get error load dll error can’t find win32print. > > It is in site library > What have you tried? If you get an exception, please post the exact text of the trac

[Tutor] (no subject)

2012-01-18 Thread Selwyn Mileham
Help someone Trying to print to printer using python 3.2.2 Get error load dll error can't find win32print. It is in site library Thanks Selwyn ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.pyt

Re: [Tutor] Reg Ex Parentheses

2012-01-18 Thread Kushal Kumaran
On Wed, Jan 18, 2012 at 9:53 AM, Chris Kavanagh wrote: > Hey guys, girls, hope everyone is doing well. > > Here's my question, when using Regular Expressions, the docs say when using > parenthesis, it "captures" the data. This has got me confused (doesn't take > much), can someone explain this to

Re: [Tutor] Class vs. instance

2012-01-18 Thread Alan Gauld
On 18/01/12 02:13, Stayvoid wrote: class A: def __init__(self, data): self.data = data print self.data I'm trying to understand this function-like syntax: A('foo').__init__(42) You would not normally call any method with a double underscore pre/poist f