Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Around in OS X
#3
(Jun-26-2019, 02:10 PM)Larz60+ Wrote: How do you expect to use something as complex as a computer language without knowing the very basics?
I strongly suggest that you spend the time to take a tutorial.
Recommended: https://www.python-course.eu/python3_course.php
or
https://interactivepython.org/runestone/...index.html

Well, I've worked with object-oriented scripting in Actionscript 2/3 and Javascript for a number of years. So it's not like I don't know anything about programming. Python is more like Java or C#, so...I hear you. It's a more complex language than what I'm used to. It's also got a slew of libraries. I didn't know it had a such a reach.

I'm used to mostly picking up an API and toying/running with it. For Python I was thinking that I might be able to treat it like SSH or VI editor but it seems that it needs a more directive based approach. Like it behaves more like a runtime language than an environment.

For instance, if I can find all the files in a directory that's great. But if there's no white space, it's totally illegible and only of useful for data. Know what I mean? Like if I have to to write out an entire path string then parse all this data just to look at where I am in a PWD (present working directory) I'm better off using Shell than Python for OS environment purposes. I'll use Shell to position myself then put together a Python code once in position if that's the case.

But I'm new at this and just trying to understand the just of this.

I hope that makes sense.
Reply


Messages In This Thread
Getting Around in OS X - by soupking - Jun-26-2019, 01:52 AM
RE: Getting Around in OS X - by Larz60+ - Jun-26-2019, 02:10 PM
RE: Getting Around in OS X - by soupking - Jun-26-2019, 02:27 PM
RE: Getting Around in OS X - by snippsat - Jun-26-2019, 03:23 PM
RE: Getting Around in OS X - by soupking - Jun-26-2019, 03:34 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020