#1  
Old 14-08-2018, 05:44 PM
xelasnave's Avatar
xelasnave
Gravity does not Suck

xelasnave is offline
 
Join Date: Mar 2005
Location: Tabulam
Posts: 16,890
Python

When I got my Tandy 16k I managed a little programming in basic because things were very easy to get at and as the years went by I became more interested in using it to do something..I managed a simple address list for my them career in real estate sales.
If you wanted to print something you had to write a program really.

Line one print "Dear sir" sort of thing.

I had it in the office and as few had seen a computer it was a great conversation starter and really it was easier to keep an address book for the few buyers that I serviced.

I went on to an Osborne (small screen) which had word star and super cal so my need to program was no longer necessary and I drifted away from going down that road.

But I have read a little about Python and am thinking in an effort to not act old and somehow stimulate my brain I am thinking of trying to learn it.
I am just a mug and I wonder is this too hopeful and if I did learn it could I hope to reach a level where I could use it for something.
I remember sort of seeing something in one of the astro programs that you can write scripts in Python so I wonder if anyone here uses it in astronomy work.
alex
Reply With Quote
  #2  
Old 14-08-2018, 06:41 PM
kosborn's Avatar
kosborn (Kevin)
Registered User

kosborn is offline
 
Join Date: Mar 2018
Location: Canberra
Posts: 499
I remember looking longingly at the Tandy in my younger years and ended up getting a Sinclair ZX-81 as my first PC. If anyone knows what I'm talking about then they can guess at my age! I quickly moved from Basic to assembly language. There's lots of programming options available now but if you happen to embrace PixInsight, it has the ability to write Javascript plugins to do any extra things you might need.


Kevin
Reply With Quote
  #3  
Old 14-08-2018, 09:22 PM
lazjen's Avatar
lazjen (Chris)
PI cult member

lazjen is offline
 
Join Date: Dec 2012
Location: Flaxton, Qld
Posts: 2,064
I've heard of people mucking around with some python scripts and INDI. There's a tutorial you could try out: http://indilib.org/support/tutorials...pberry-pi.html
Reply With Quote
  #4  
Old 14-08-2018, 10:08 PM
ChrisV's Avatar
ChrisV (Chris)
Registered User

ChrisV is offline
 
Join Date: Aug 2015
Location: Sydney
Posts: 1,738
My first computer was an educ8!

I occasionally use python to store scripts for sharpcap. You can learn things like it on something like codeacademy.

And there's always arduino - coding with an application
Reply With Quote
  #5  
Old 15-08-2018, 09:39 AM
xelasnave's Avatar
xelasnave
Gravity does not Suck

xelasnave is offline
 
Join Date: Mar 2005
Location: Tabulam
Posts: 16,890
Thank you Kevin and Chris.
Alex
Reply With Quote
  #6  
Old 15-08-2018, 07:21 PM
acropolite's Avatar
acropolite (Phil)
Registered User

acropolite is offline
 
Join Date: Feb 2005
Location: Launceston Tasmania
Posts: 9,019
I don't think you're ever too old to learn. My first computer was a DSE system 80, Tricky Dicky's clone of the TRS80 which you had. I did some programming in basic and Assembly language, even managed to have some articles printed in APC magazine.

If you're going to get in to Python it's probably a good idea to get a Raspberri Pi, they cost bugger all and if your efforts go nowhere at least you can use the hardware as a good media player.
Reply With Quote
  #7  
Old 15-08-2018, 07:32 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
There are some experimental bindings for Python in PixInsight but they haven't been kept up to date or made it to production quality, unfortunately. If I manage to retire perhaps I'll fix that. Having written a PI script or two in Javascript I'd rather not do that even again
Reply With Quote
  #8  
Old 15-08-2018, 09:01 PM
kosborn's Avatar
kosborn (Kevin)
Registered User

kosborn is offline
 
Join Date: Mar 2018
Location: Canberra
Posts: 499
Quote:
Originally Posted by RickS View Post
Having written a PI script or two in Javascript I'd rather not do that even again

Colour mask for example. Essential for narrow band processing! Very useful!
Reply With Quote
  #9  
Old 15-08-2018, 09:11 PM
RickS's Avatar
RickS (Rick)
PI cult recruiter

RickS is offline
 
Join Date: Apr 2010
Location: Brisbane
Posts: 10,584
Quote:
Originally Posted by kosborn View Post
Colour mask for example. Essential for narrow band processing! Very useful!
Thanks, Kevin
Reply With Quote
  #10  
Old 16-08-2018, 07:05 AM
rcheshire's Avatar
rcheshire (Rowland)
Registered User

rcheshire is offline
 
Join Date: Apr 2010
Location: Geelong
Posts: 2,617
If you are using Linux... find the python...
Attached Thumbnails
Click for full-size image (astro1.png)
65.9 KB20 views
Click for full-size image (astro.png)
121.4 KB19 views
Reply With Quote
  #11  
Old 16-08-2018, 09:09 PM
rally
Registered User

rally is offline
 
Join Date: Sep 2007
Location: Australia
Posts: 896
Alex,


I have a bunch of Python books which I am happy to send to you on loan - so long as they come back !
I love my books



From beginners to advanced


I played around on the Mac but mostly the Rasp Pi


I registered for one of the free online Uni courses, but they expect you to complete all your assignments and studies, otherwsie you will drop out.
But its worthwhile getting to learn the basics first especially if you havent programmed since the 70s in Basic
My first computer was a System 80 with 16k ram too !
Still got it in a storage box - should check to see if it fires up one day !


Cheers


Rally
Reply With Quote
  #12  
Old 17-08-2018, 07:26 AM
xelasnave's Avatar
xelasnave
Gravity does not Suck

xelasnave is offline
 
Join Date: Mar 2005
Location: Tabulam
Posts: 16,890
Hi Rally
Thanks for your very kind offer however I have a little rule "Never a borrower or lender be" which I find removes one unnecessary complication in life.

I would love to get into Raspberry so I may get one and see where that takes me.
I know nothing qbout them but I expect that being able to include one in my set up could be useful.
Just about to leave for Brisbane for our big adventure and the Pink concert.
I am not a particular fan but the others are.
But I get to see a brother in law who I like, he is a black smith and often makes something for me when I visit.
Reply With Quote
  #13  
Old 17-08-2018, 07:31 AM
xelasnave's Avatar
xelasnave
Gravity does not Suck

xelasnave is offline
 
Join Date: Mar 2005
Location: Tabulam
Posts: 16,890
Quote:
Originally Posted by acropolite View Post
I don't think you're ever too old to learn. My first computer was a DSE system 80, Tricky Dicky's clone of the TRS80 which you had. I did some programming in basic and Assembly language, even managed to have some articles printed in APC magazine.

If you're going to get in to Python it's probably a good idea to get a Raspberri Pi, they cost bugger all and if your efforts go nowhere at least you can use the hardware as a good media player.
Thanks most encouraging.
I will follow your good advice.
Alex
Reply With Quote
Reply

Bookmarks

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 11:37 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Advertisement
Bintel
Advertisement
Testar
Advertisement