Hi!
There are interesting online course
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2008/LectureVideos/index.htm
where I'm trying to learn Python.
Looks quite interesting and I would like to create a program which
should repeat a simply string several times with
On Thu, Oct 1, 2009 at 8:31 PM, Andrius wrote:
> Hi!
>
> There are interesting online course
> http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2008/LectureVideos/index.htm
> where I'm trying to learn Python.
> Looks quite interesting and I would like to create a prog
If your code's more than 10 lines long or so, put it on pastebin.com and
send us the link rather than inlining the whole thing. You could also send
it as an attachment.Your formatting is all screwed up and I can't read the
code at all, but I have an idea about your error.
On Wed, Sep 30, 2009 at
Hi,
I'm a 26 years old Italian engineer. Because to the fact that I'm an
astrophile and astronomical tool (expecially under Linux) are not so
common, I would like to develop some simple tool for some purposes.
Well, I'm not knew to software development but I've never used python.
So I want to list
wrobl...@cmich.edu wrote:
Thank you for the reply.. I tried putting the print repr(n)
before I defined 'n' with raw_input. My script looks like
this--
def divisible(n):
if n%3 == 0:
print n, "is divisible by 3"
else:
print n, "is not divisible by 3"
n= raw_input("enter
Dear All,
I have some php scripts which I don't want to rewrite in python. How can I
run php Scripts in python?
Thanks in advance
Googi G
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mail
Nicola De Quattro wrote:
> So I've to open an image (various formats, first I could need only
> .fits), to process the image in order to select the interesting strip
> containing the star and the spectrum (first image of the link posted,
> but I hope I can select the strip not only in the horizonta
On Fri, Oct 2, 2009 at 8:44 AM, Stefan Behnel wrote:
> Nicola De Quattro wrote:
> > So I've to open an image (various formats, first I could need only
> > .fits), to process the image in order to select the interesting strip
> > containing the star and the spectrum (first image of the link posted
On Fri, Oct 2, 2009 at 1:24 AM, ggi ggi wrote:
>
> Dear All,
>
> I have some php scripts which I don't want to rewrite in python. How can I
> run php Scripts in python?
>
> Thanks in advance
> Googi G
>
> ___
> Tutor maillist - Tutor@python.o
2009/10/2 Stefan Behnel :
> Without looking further into your problem, there are two (main) general
> purpose image manipulation libraries for Python (that I know of) that you
> may want to look at: PIL and ImageMagick. At least ImageMagick supports FITS.
There is a python module for fits files. N
On Tue, Sep 29, 2009 at 7:00 PM, Corey Richardson wrote:
> I haven't looked into this, but could you make a real time image using
> python? I think it would be most hard
> Anyway, I am having trouble with int(). I am trying to int(raw_input("some
> number")), but it returns
> Traceback (most r
Andrius wrote:
Hi!
There are interesting online course
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-00Fall-2008/LectureVideos/index.htm
where I'm trying to learn Python.
Looks quite interesting and I would like to create a program which
should repeat a simply string se
Hello Nicola!
For scientific computing there are the Numpy and Scipy libraries:
http://www.scipy.org/
For making graphs there is Matplotlib:
http://matplotlib.sourceforge.net/
You should join the mailing lists of these projects.
For the GUI I would use QT4:
http://doc.trolltech.com/4.5/index.h
I remember reading some Python tutorials that where written specifically
for Astronomers. Did a search on Google. This is not the tutorial I
originally read but maybe you will find it to be useful.
http://www.stsci.edu/hst/training/events/Python/readManDispImages_WU.pdf
Regards
Rudiger
On Fri,
Hi,
I am currently learning Python and I was wondering is there a shorter
way to do the following -
import os
homedir = os.environ.get('HOME')
if homedir:
print "My home directory is %s" % homedir
I do this in Perl -
my $home;
if ($home = $ENV{'HOME'}) { print "My home directory is $hom
Hello,
On Sat, Oct 3, 2009 at 3:56 PM, Didar Hossain wrote:
> homedir = os.environ.get('HOME')
>
> if homedir:
>print "My home directory is %s" % homedir
>
>
> I do this in Perl -
>
> my $home;
>
> if ($home = $ENV{'HOME'}) { print "My home directory is $home\n"; }
>
> Can I do a similar shor
On Fri, Oct 2, 2009 at 11:14 PM, Oxymoron wrote:
> Hello,
>
> On Sat, Oct 3, 2009 at 3:56 PM, Didar Hossain
> wrote:
>>
>> homedir = os.environ.get('HOME')
>>
>> if homedir:
>> print "My home directory is %s" % homedir
>>
>>
>> I do this in Perl -
>>
>> my $home;
>>
>> if ($home = $ENV{'HOME'}
17 matches
Mail list logo