💡 Starting Python on Linux? Here’s a Quick Cheat Sheet If you're beginning your journey with Python in a Linux environment, these basic commands are essential 👇 🔹 Run a Python file python3 file.py 🔹 Check Python version python3 --version 🔹 Make a script executable chmod +x file.py 🔹 Run the script directly ./file.py These may look like small steps, but they form the foundation of working with Python in real-world environments—especially in Cloud and DevOps roles. I’m currently learning and transitioning into Cloud & DevOps, and sharing these small but important learnings along the way. 📌 Save this post if you’re just getting started—it might come in handy. #Python #Linux #DevOps #CloudComputing #PythonForBeginners #LinuxCommands #TechLearning #CareerTransition
Python on Linux: Essential Commands for Beginners
More Relevant Posts
-
Worked on a Cloud File Upload System using Python and Flask. The idea was simple—upload and access files securely through a web interface. Set it up inside a virtual machine and handled basic file storage, upload, and retrieval features. This project gave me hands-on experience with backend development, working in a Linux environment, and understanding how file handling works in real applications. Still learning, but this was a good practical step. #Python #Flask #CloudComputing #BackendDevelopment
To view or add a comment, sign in
-
I broke my laptop's Python environment 3 times in one month. Different projects needed different versions. One pip install would quietly destroy another project. Then I learned Docker — and everything changed. Here's what Docker actually does (no jargon): → It wraps your app + its dependencies into a box called a container → That box runs the same on your laptop, your teammate's Mac, and a Linux server → You stop saying "it works on my machine" — because it works everywhere My first Dockerfile was 5 lines: ``` FROM python:3.11 WORKDIR /app COPY . . RUN pip install -r requirements.txt CMD ["python", "app.py"] ``` That's it. No more environment disasters. I'm a CS student learning DevOps in public — this was my week 1 win. Have you had your environment broken by dependency conflicts? How did you fix it? #Docker #DevOps #LearnInPublic #CS #BackendDev
To view or add a comment, sign in
-
-
Linux is free Docker is free Kubernetes is free Git is free GitHub is free Python is free Node.js is free Go is free PostgreSQL is free MySQL is free MongoDB is free Redis is free Terraform is free Ansible is free Jenkins is free Prometheus is free Grafana is free NGINX is free Apache is free VS Code is free Postman is free Figma is free Vercel is free Netlify is free AWS is free tier GCP is free tier Azure is free tier ChatGPT is free Claude is free Gemini is free Perplexity is free Hugging Face is free Ollama is free Stable Diffusion is free TensorFlow is free PyTorch is free LangChain is free What’s stopping you to build and ship?
To view or add a comment, sign in
-
-
Linux is free Docker is free Kubernetes is free Git is free GitHub is free Python is free Node.js is free Go is free PostgreSQL is free MySQL is free MongoDB is free Redis is free Terraform is free Ansible is free Jenkins is free Prometheus is free Grafana is free NGINX is free Apache is free VS Code is free Postman is free Figma is free Vercel is free Netlify is free AWS is free tier GCP is free tier Azure is free tier ChatGPT is free Claude is free Gemini is free Perplexity is free Hugging Face is free Ollama is free Stable Diffusion is free TensorFlow is free PyTorch is free LangChain is free What’s stopping you to build and ship?
To view or add a comment, sign in
-
𝐖𝐡𝐲 𝐃𝐨𝐜𝐤𝐞𝐫 𝐛𝐚𝐬𝐞 𝐢𝐦𝐚𝐠𝐞𝐬 𝐦𝐚𝐭𝐭𝐞𝐫 𝐦𝐨𝐫𝐞 𝐭𝐡𝐚𝐧 𝐲𝐨𝐮 𝐭𝐡𝐢𝐧𝐤 Spent an hour debugging a Dockerfile. The code was fine, the container just wouldn't build. Turned out my slim Python base image was missing the system libraries needed to compile the Postgres driver. 𝐒𝐰𝐢𝐭𝐜𝐡𝐢𝐧𝐠 𝐭𝐡𝐞 𝐛𝐚𝐬𝐞 𝐢𝐦𝐚𝐠𝐞 𝐟𝐢𝐱𝐞𝐝 𝐢𝐭 𝐢𝐧 𝐦𝐢𝐧𝐮𝐭𝐞𝐬. Slim images are great until your dependencies have dependencies that go all the way down to the OS. Sometimes it's not even slim vs full, it's which version of slim you're on. Dropping the base from 3.14 to 3.12 was the actual fix. CoderCo #DevOps #Docker #Containers #Cloud #Linux
To view or add a comment, sign in
-
Linux is free Docker is free Kubernetes is free Git is free GitHub is free GitHub Actions is free GitLab is free Python is free Node.js is free Go is free PostgreSQL is free MySQL is free MongoDB is free Redis is free Terraform is free Ansible is free Jenkins is free Prometheus is free Grafana is free NGINX is free Apache is free VS Code is free Postman is free Figma is free Vercel is free Netlify is free AWS is free tier GCP is free tier Azure is free tier ChatGPT is free Claude is free Gemini is free Perplexity is free Hugging Face is free Ollama is free Stable Diffusion is free TensorFlow is free PyTorch is free LangChain is free What’s stopping you from becoming the greatest engineer?
To view or add a comment, sign in
-
🚨 »»» 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 𝗨𝗽𝗱𝗮𝘁𝗲: 𝗣𝘆𝘁𝗵𝗼𝗻 𝗼𝗻 𝗔𝘇𝘂𝗿𝗲 𝓐𝓹𝓹 𝓢𝓮𝓻𝓿𝓲𝓬𝓮 (𝓦𝓲𝓷𝓭𝓸𝔀𝓼) 𝗥𝗲𝘁𝗶𝗿𝗲𝗺𝗲𝗻𝘁 ¯\_(ツ)_/¯ Microsoft is retiring Python runtime support for Azure App Service and Azure Functions on Windows, effective 𝗠𝗮𝗿𝗰𝗵 𝟯𝟭, 𝟮𝟬𝟮𝟳. 𝗪𝗵𝗮𝘁 𝘁𝗵𝗶𝘀 𝗺𝗲𝗮𝗻𝘀: ⚠️ Python applications on Windows-based Azure services will stop executing ⚠️ Your configuration and content remain preserved, but apps won't run ⚠️ Technical support for these workloads ends on this date ⏰ 𝗔𝗰𝘁𝗶𝗼𝗻 𝗥𝗲𝗾𝘂𝗶𝗿𝗲𝗱: Migrate your Python applications to Linux-based services before the deadline to ensure uninterrupted operation. ✅ 𝗥𝗲𝗰𝗼𝗺𝗺𝗲𝗻𝗱𝗲𝗱 𝗣𝗮𝘁𝗵 𝗙𝗼𝗿𝘄𝗮𝗿𝗱: ▸ Azure App Service on Linux (fully supported) ▸ Azure Functions on Linux (fully supported) 🎯 𝗡𝗲𝘅𝘁 𝗦𝘁𝗲𝗽𝘀: Create new Linux-based instances and redeploy your Python workloads well ahead of March 31, 2027, to allow adequate testing and transition time. 💡 Plan your migration today to avoid service disruptions. 🔗 𝗥𝗲𝗮𝗱 𝘁𝗵𝗲 𝗳𝘂𝗹𝗹 𝗮𝗻𝗻𝗼𝘂𝗻𝗰𝗲𝗺𝗲𝗻𝘁: https://lnkd.in/gG7UMRs2 #Azure #Python #CloudComputing #DevOps #Migration #TechUpdate
To view or add a comment, sign in
-
Linux is free Docker is free Kubernetes is free Git is free GitHub is free GitHub Actions is free GitLab is free Python is free Node.js is free Go is free PostgreSQL is free MySQL is free MongoDB is free Redis is free Terraform is free Ansible is free Jenkins is free Prometheus is free Grafana is free NGINX is free Apache is free VS Code is free Postman is free Figma is free Vercel is free Netlify is free AWS is free tier GCP is free tier Azure is free tier What is your Excuse?
To view or add a comment, sign in
-
DevOps looks fancy from the outside. AWS dashboards Python automation scripts Cool web Uls CI/CD pipelines Everything looks modern and powerful. But when production actually breaks... Suddenly everyone is back to: ssh into the server checking logs in /var/log running random Linux commands writing a quick Bash script to fix something 😅 And that's when you realize something interesting. Behind every fancy cloud platform... behind every automation tool... there is stil: 🐧Linux 💻 Bash 🔨CLI tools Quietly running the entire internet. No fancy UI. No colorful dashboards Just a terminal... and someone who knows what they're doing. DevyOps lesson l learned: You can ignore Bash and Linux at the start. But sooner or later... the terminal will find you.🥲 #DevOps #Linux #Bash #CloudComputing #AWS #Techhumor #CloudEngineer #Automation
To view or add a comment, sign in
-
-
Hyperparameter Optimization Machine Learning using dragonfly #machinelearning #datascience #hyperparameteroptimization #dragonfly Dragonfly is an open source python library for scalable Bayesian optimisation. Bayesian optimisation is used for optimising black-box functions whose evaluations are usually expensive. Beyond vanilla optimisation techniques, Dragonfly provides an array of tools to scale up Bayesian optimisation to expensive large scale problems. These include features/functionality that are especially suited for high dimensional optimisation (optimising for a large number of variables), parallel evaluations in synchronous or asynchronous settings (conducting multiple evaluations in parallel), multi-fidelity optimisation (using cheap approximations to speed up the optimisation process), and multi-objective optimisation (optimising multiple functions simultaneously). Dragonfly is compatible with Python2 (>= 2.7) and Python3 (>= 3.5) and has been tested on Linux, macOS, and Windows platforms. https://lnkd.in/gPQUfsR9
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development