Anyone there using python on LINUX? How is your experience? Pros and cons? Which platform(Windows, Linux, Mac, Ubuntu) is the best one, one should go for to use python along with all its packages and functionality? Any other useful information would be greatly appreciated. Thanks!
Hi, I have anaconda installed, so typing:
which python
just returns the anaconda path, however, I need to unearth the standard install location as a script is annoyingly asking for python2.7. Google unfortunately only tells you how to install it, and I know that, I've just forgotten where the binary is usually located on linux and google won't tell me that no matter what I type in.
UPDATE: Thanks guys, I found it looking in /usr/bin/ and /usr/local/bin/ and to my delight, it's not there, Just upgraded to Linux Mint 20 and there is python3.8. lovely.
Hello, I developed a python software but I do not know where should I place it in the linux filesystem, in order to be able to run it from any command line. I do not want to use alias to do that, is there a sort of bin folder in the user directory where should I place my project?
The post why use Anaconda got a great response, I was hoping to ask a similar question: What are the benefits of Linux operating systems in comparison to other traditional operating softwares such as Windows and Mac?
I have been using Python for one year now quite consistently for data science, and I have heard that Linux is much better in many regards to Windows but I had never got a good understanding of what it does so much better.
I am curious what others are using and why? So far I have been using CentOS, because it is the default (mandatory) one in my organisation.
Edit: Thanks guys, I've been reading every single comment on here and learned about some really cool distros that I will definitely check out on my own time. Happy to read even more!
So a couple months ago I installed Linux completely on my old laptop and was wondering if it was still possible to learn Python as a complete noob in programming. Or will Linux get in the way of that? I don’t know Linux but I was hoping to learn alongside learning Python.
Unfortunately my newer laptop is a Chromebook and as we all know is not designed to program. I’m not looking to install this or that either because it’s a headache.
What do you guys think? Should I just wait and buy a new PC to program smoothly or is my plan sound?
Hello all, as the title suggests I'm fairly new with Linux and really would like to know which program I should use to code in Python on my Ubuntu OS. Please be thorough with your instructions.
I am a noob but I was distro hopping the other day and was using an operating system called Fedora.
So I learned a little bit about python a long time ago and because I was bored I decided to test out Fedora with Python.
I typed into the terminal nano test.py and then started to type in some a very simple piece of code. I then saved my file and then I executed my file in the terminal using python test.py
I noticed my file executed perfectly.
I then tried to replicate this on Windows and even installing Python was an inconvenience with vscode.
am I doing something wrong or is Linux just better to code in?
I understand its a matter of preference but I want to get an idea of what the learn python community thinks.
I don't know how to code in python but I want to learn and seeing how easy it was to get started in Fedora I am not more motivated to get started.
Does anyone know how to get the newer versions on linux? Because I only have python 3.11.2 but i need 3.13 or 3.14
Hello r/learnpython !
I have recently started programming in Python (which is also my first programming language) and I have done some reading where they say that "you should learn unix", or "install linux", etc and I was wondering, is it really worth installing linux just for python (or programming in general)?
I just want to say space isn't an issue for me. I have a 1TB hard drive so that's more than enough i feel to be able to run Windows and Linux dual booted.
I have read one other reddit thread that suggested using linux like command terminals. Is that also a viable option? What would you guys recommend? In the thread they recommend Cygwin and Git Bash.
Sorry, if this is in the wrong subreddit, I thought this would be the best place since I'm learning python specifically and not other languages (as of yet).
Thanks!
What do you reccomend more and why ? :D
Since my code will probably need to run on Linux machines in the cloud, would it be best for me to learn Python on Linux (even though I know neither at this time)?
I know that some commands (like file paths) are very different on the two operating systems and I am not sure that code that works in Windows will necessarily work in Linux without a lot of modification. Of course, if I use Firebase to store files and data I won't need to worry about paths so much.
Since I am new to Python, learning it and writing my code so that I can deploy it to Google's servers may be better done on Linux, but I am concerned that I am biting off too much to chew learning Python and Linux at the same time.
What would you suggest?
What is the the best Linux distro/ terminal to use to program pyhton? More specifically what did you use when you started out?
I’m just getting started with python and was wondering.
Edit: Should I use windows or Linux? What would be some differences (pros/cons)?
So for the last couple of months I've been learning to program in python on a Windows 8 laptop. For the most part, I've been writing scripts in IDLE but recently I have had cause to begin to use the command line which I am finding slightly cumbersome.
In particular, I'm finding that simply following Python documentation often does not work as it should, and that I often need to spend a large amount of time on stackoverflow etc. to find workarounds.
I'm also finding that in much of the documentation, blog postings, youtube videos, and posts in stackoverflow that most developers (say 90%) are working on Linux or OSx. It's often harder to find a solution for certain problems in Windows.
Also, I've observed that there can be quite a bit of extra work getting python up and running in windows. For example, I have had to mess about with Environment Variables so that I can run python from the command line and having done this I'm still running into some problems. On the other hand, I believe that Python comes bundles with most Linux / OSx packages.
So basically, as an outsider looking into Linux I have some questions which I would hope somebody could help with.
-
what are some general reasons for wanting to move over to Linux?
-
why am I seeing so many more (Python) developers work in Linux /OSx and so few using Windows?
-
can you outline any benefits I might begin to feel from programming in python using Linux over Windows?
-
are there any specific advantages with using Linux over Windows when working with Python web frameworks?
-
If I wanted to enter the Linux world, how could I proceed with my current laptop. I see two possible options but I don't know much about the pros/cons of either. The first would be to install linux inside a virtual machine. The second would be to install linux (say Ubuntu) onto a usb and just boot it from there.
I'm really excited to hear some thoughts on this. Thanks in advance.
Why is it a sentiment that Linux makes you a better Python programmer?
Where did you hear that? Linux does make for a better programming environment for almost any language, but it doesn't automatically make you a better programmer.
I have never heard of this sentiment, maybe you just misheard the fact that Linux comes pre-installed with python and also you can easily install python modules or whatever they're called from the package manager or pip, which is just a general convenience that Linux provides over windows.
I'd like to work with Python3.6 instead of the outdated Python3.5 and Python3.4 that come preinstalled in some of the Linux distros I'm currently using. I'd use three systems: Ubuntu 14.04 and Ubuntu 16.04 on my "working" computers, and Debian 8.10 jessie on my home-server.
I was searching around but found nothing that clear my mind. As I see I could add more recent repositories so my Python gets updated to 3.6, but it seems like it would mess my system.
I just want to keep my default Python versions that came with the system, so nothing is messed up, and then install a third Python version, the latest 3.6.x. Any hint? Thanks.
(BTW, going forward I'll try to use virtualenv on my projects, which I'll be writing in my Ubuntu systems and finally be executed on the Debian server).
Not CS major background, I don't know much about Linux, just know there is Linux.
Maybe the post/topic is silly.
I just google that both window and Linux can be installed in PC.
A lot of python course material mentioning Linux.
Question: Is it better to learn Python in Linux environment (I will figure out how to install Linux while keeping Window)? Or it does not matter (Window is fine)?
A friend, who is a math teacher, is looking to learn Python. He asked me which OS Python has the least problems with, because he already uses Linux and Windows.
I recently decided to dig more into the linux community and the OS and I really loved it! After a couple of searches and a bit of discussion on which distribution of linux to pick for programming (I decided to go with fedora, maybe I will switch to ubuntu in the future) I became so eager to install linux and get rid of windows. I don't hate windows but as an OS it is just so cluttered, unpolished, and unstable and I really don't like it that much except when it comes to gaming and since my laptop is so weak it can just run 2D games and simple 3D games that should not be a concern. Anyway, before switching I just wanted to ask the python community, is there something integral and important that I will miss on linux? For example I know some frameworks work only on windows (obviously like win32api or ctypes etc) but I have no idea how many of the frameworks are cross-platform or os-specific. I am know working with kivy and would like to dive more into image processing using scikit-image or opencv. Would image processing be a problem on linux? Or basically, how much will I gain or lose switching from windows to linux?
Hi,
I was just wondering why Linux has so many applications written in Python instead of for example another OpenSource Programming Language like Java. Apparently Python was already popular in the early days of Linux.
Is there a specific reason for this?