Top | Newest First | Oldest First
Northwest · M
A crash course on SW? that's not going to work well.
A Udemy course might be fine. Python? Are you a programmer?
A Udemy course might be fine. Python? Are you a programmer?
JoeyFoxx · 56-60, M
Do you know the difference between Linux and Python?
This comment is hidden.
Show Comment
This comment is hidden.
Show Comment
Bbgv14 · 31-35, F
@RightSaidFred Yeah, I bought the Udemy 5 day one actually. Looked good and was very affordable.
Thank you so much for your inputs. Now I will stop procrastinating with SW and start on it.
Thank you so much for your inputs. Now I will stop procrastinating with SW and start on it.
This comment is hidden.
Show Comment
Nibblesnarf · 26-30, M
I use Python on the regular, and Linux is my primary OS. There's still a ton that I don't know, but perhaps I can help. What do you need?
Bbgv14 · 31-35, F
@Nibblesnarf Yeah, thats what I started of yesterday with. Installed CentOS over Virtual Box VM. The only commands I recall from before are "cd" and "ls". I have to get into a bit of Loadbalancers at work, so I wanted to get used to the CLI and some commands for that. Show node, list etc. I think more or less I need to learn about "grep". I guess I need to find a server OS and go from there instead of a PC OS, not sure how similar the commands are.
Yep, I got the semantics,I guess. Getting syntax is the key. The "modules" are new, so thats something.
And thats the endgame. I want to learn how to script in python and use it do the show commands on the LBs. So long way to go..
Yep, I got the semantics,I guess. Getting syntax is the key. The "modules" are new, so thats something.
And thats the endgame. I want to learn how to script in python and use it do the show commands on the LBs. So long way to go..
Nibblesnarf · 26-30, M
@Bbgv14 Sounds like you're off to a good start.
I like how Python modules work, which might have something to do with it being my first language. Make sure you understand how "import [module]" differs from "from [module] import [something]".
A Python file (say, file.py) can be run from the CLI with "python file.py". If you insert a "#!/usr/bin/python" line at the beginning, you can simplify that to "./file.py".
It's also possible to execute CLI commands with a Python script. I've sometimes used Python's "subprocess" module for this. If you think that might be useful, maybe make Python do something simple like "ls -l" and use that code as a template for later on.
I like how Python modules work, which might have something to do with it being my first language. Make sure you understand how "import [module]" differs from "from [module] import [something]".
A Python file (say, file.py) can be run from the CLI with "python file.py". If you insert a "#!/usr/bin/python" line at the beginning, you can simplify that to "./file.py".
It's also possible to execute CLI commands with a Python script. I've sometimes used Python's "subprocess" module for this. If you think that might be useful, maybe make Python do something simple like "ls -l" and use that code as a template for later on.
Bbgv14 · 31-35, F
@Nibblesnarf Thanks! I will have to figure that out.
I suppose I could claim to be.
SW-User
I'm closer to a Trekkie, sorry.
SW-User
🙋♂️