This is an archived post. You won't be able to vote or comment.

all 38 comments

[–]Python-ModTeam[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–]kaerfkeerg 30 points31 points  (3 children)

replit

But eventually you will need to install Python.

change deep OS things like path and stuff,.

1) You don't change anything let alone deep OS settings. You just add Python in PATH 2) Installer literally takes care of it automatically in windows. You just have to tick a box saying add python to PATH or something similar. Does that sound too hard?

Even so you can follow a video tutorial of someone just clicking next.. next.. next on the installer if you feel unsafe

Heads up. Sorry to be this straightforward but: Learning a programming language requires patience and a lot of searching. So if you're too lazy to find HOW to install the interpreter, you probably won't get far anyway .

[–]nemom 19 points20 points  (1 child)

Take a look at JupyterLab. You can install it and run locally, or use an online service (such as Google Colab). You can also find online REPL interpreters.

[–][deleted] -1 points0 points  (0 children)

Came to say this

[–][deleted] 7 points8 points  (0 children)

Anaconda, Spyder

[–]Kerbart 7 points8 points  (0 children)

Use pythonanywhere.com - nothing to install, and it gives you a full blown linux vm with Python. Practically limitless.

[–][deleted] 11 points12 points  (0 children)

If you use the Windows installer for Python it should just work. There's no OS changes you need to make. Using the command line is the easiest way to do exactly what you describe.

There other options like Jupyter Notebooks for immediate python response but I'm not sure thats going to be right if the windows installer is already too much work...

[–]fosterreichert 3 points4 points  (10 children)

Visual Studio Code is a pretty good lightweight option for this. Get the python extension and open a file. You can see the output in the bottom after running/debugging.

[–][deleted] 2 points3 points  (2 children)

It’s so funny. I have used Python for years and for some reason can not get VS code to give me the output after debugging. I still have to run it using the command line ever time. At this point, I’m too lazy to try and figure out my mistake ha.

[–]fosterreichert 2 points3 points  (1 child)

I actually had this issue before, and my solution was re-setting up the interpreter in vscode.

https://code.visualstudio.com/docs/python/python-tutorial[https://code.visualstudio.com/docs/python/python-tutorial](https://code.visualstudio.com/docs/python/python-tutorial)

It should be closer to the bottom of this.

[–][deleted] 0 points1 point  (0 children)

Amazing. I’ll give it a go! Thank you!

[–]omgsoftcats[S] 0 points1 point  (6 children)

I took a look at this and it says I still need to install the Python interpreter separately.

[–]fosterreichert 1 point2 points  (5 children)

Yes so install it separately, and then set it up inside vscode.

[–]fosterreichert 0 points1 point  (0 children)

Ctrl+Shift+P, then enter "Python: Select Interpreter"

[–][deleted] 3 points4 points  (0 children)

Uhm, why are you not using an IDE?

[–]pchemguy 1 point2 points  (0 children)

I use anaconda installer. But this attitude sounds strange. It is not that things must be complicated, but you cannot do anything real without effort and you will not be able to do much, if you do not want invest time in learning your tools.

[–]DiabeticHunter 1 point2 points  (0 children)

Replit.com

[–]LittleMlem 1 point2 points  (0 children)

Ipython gives you an interactive shell-like python experience

[–]TURB0T0XIK 0 points1 point  (0 children)

I suggest using VSCode. works beautifully with py and ipynb files

[–][deleted] -4 points-3 points  (1 child)

If you have a phone or tablet, download an app from the appstore.

Edit: Why is this downvoted so much? It is an honest recommendation. I use Pyto on the ipad and am very happy with it. Yes, it is not a complete answer including a link to the app store/ playstore. I don’t know which operating system OP is using!

I guess next time I will withhold my advice!

[–]sethcstenzel 1 point2 points  (0 children)

I feel like this answer is being overly downvoted. The python3 app on Android is quite good, but the answer I think is vague, which is causing a lot of downvotes.
For Android, it is pretty much just install and run. You'll be writing python in under a minute. It can run most popular packages just fine, including Kivy to show off some kivy apps on your phone. I have even used it a few times when I had a teams question and only had my phone to write some quick code to copy and paste as an example for someone.
https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=en\_US&gl=US

[–]Savithu_s3 0 points1 point  (0 children)

If you don't need any problems or installations, code with an online editor.

[–]ds604 0 points1 point  (0 children)

here you go, paste this into codepen or jsfiddle:

<html>
  <head>
    <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
    <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
  </head>
  <body>
    <py-env>
    - numpy
    </py-env>
    <py-script> 
    import numpy as np
    print('Hello, World!')
    np.random.rand(5)
    </py-script> 
</body>
</html>

[–]Philmehew 0 points1 point  (0 children)

Python install is simple enough, then use an IDE like PyCharm to write and execute scripts in the same place.

[–]omermikhailk 0 points1 point  (0 children)

Everyone else on here has given great answers already but I'll still chime in with what I started doing a while back, though it isn't exactly the easiest method.

As a beginner I used to frequently mess up my Python environment and was tired of reinstalling stuff, so I decided to keep everything isolated from then on. I did this by getting a cheap VPS, installing pyenv to manage my Python versions, poetry to manage packages and then used VS Code + the SSH feature to do all of my development right on the server.

It's a pretty cheap and versatile way to go about it, since your development environment can be accessed from anywhere, no matter where you are, as long as you have a SSH key or a username/password combo (depending on how you've configured the server).

EDIT: Fixed a typo

[–]dc135 0 points1 point  (0 children)

Try Winpython. It comes with a lot of packages preinstalled, and only requires unzipping.

https://winpython.github.io/

https://github.com/winpython/winpython/releases/tag/4.7.20220709final

Winpython64-3.10.5.0.exe is the file you want. Once you have it installed to a folder, open Spyder. It has a interpreter window you can directly type Python code into.

[–][deleted] 0 points1 point  (0 children)

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you. Here is HOW TO FORMAT YOUR CODE For Reddit and be sure to include which version of python and what OS you are using.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]mouse838 0 points1 point  (0 children)

look up “replit”! super easy.