×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

cross-compile of kstars

  • Posts: 2876
  • Thank you received: 809
Do you have a text editor that shows you the hidden characters so that you can make sure it is all the same? To be honest, this is what I hate the most about python.
5 years 2 months ago #33335

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 14
It's exactly how I pasted the code above - with spaces
5 years 2 months ago #33337

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 14
I just used my local copy of emacs (I've been using that editor for 25 yrs!) - no tabs... all spaces.... in fact, Emacs has a python mode which is showing me the correct indents
5 years 2 months ago #33338

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Hmm, see if this works. Just remember to change the .txt to .py


File Attachment:

File Name: kstars.txt
File Size:4 KB
5 years 2 months ago #33339
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 14
That seems to be working now! Nice 1

Phil
5 years 2 months ago #33340

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Yeah, as I said, stupid python and its syntax issues.
The following user(s) said Thank You: Phil Shepherd
5 years 2 months ago #33341

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
Python is really easy to use as long as it doesn't have syntax problems. . ..
5 years 2 months ago #33342

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 14
LOL - that just about covers all the other languages I use day-to-day :woohoo:

Thanks for the help, Rob - appreciated

Phil
5 years 2 months ago #33343

Please Log in or Create an account to join the conversation.

Time to create page: 0.497 seconds