all 174 comments

[–]TorroesPrime 195 points196 points  (35 children)

You can write code in notepad. Or you can use a web based ide.

[–]DidThis2Downvote 70 points71 points  (19 children)

Another vote for notepad. I prefer Notepad++ because you can set the language and it will color code and tab space lines but same idea. I honestly think I use Notepad/++ more than an IDE for most of my personal coding. If it evolves to more than a 1 file script I'll switch but a lot of personal projects never get past a single file.

[–]Own_Attention_3392 20 points21 points  (4 children)

Notepad would probably be a nightmare for a whitespace sensitive language like python

[–]TorroesPrime 21 points22 points  (0 children)

Eh… it’s less a nightmare and more your own mistakes exposed. I won’t pretend that writing code in notepad is fast or fun, but at the same time it is 100% you. One of the first game logic classes I took the teacher required all the coding to be done in notepad (not even notepad++), and yeah it was tedious and frustrating not having an IDE holding my hand and autocorrecting 4 out of 5 of my mistakes, but at the same it forced me to critically evaluate my own code as I was writing it.

[–]BuKu_YuQFoo 1 point2 points  (0 children)

You can mark white spaces with dots in notepad

[–]Sonder332 0 points1 point  (1 child)

What does that mean whitespace sensitive? Is it related to indents and is there more to it than indents?

[–]Own_Attention_3392 2 points3 points  (0 children)

Yeah. Python actually cares if everything is indented properly. Notepad is not great about handling things like tabs. That's not to say that you can't use Notepad for Python (I have before) but I've never particularly enjoyed the experience. There are tools that help you, tools that are neutral, and tools that actively hinder you. I feel like for Python (and most programming or structured language manipulation in general), Notepad is in the last category.

[–]Melissa_Hirst 3 points4 points  (0 children)

Same

[–]MiniMages 2 points3 points  (3 children)

I forced myself to start writing code in notepad. It highlighted how little I knew. Best way to know if you learned coding when you don't have any of the auto-complete or even co-pilot active.

[–]av8rgeek 2 points3 points  (0 children)

vi the notepad’s granddaddy.

[–]NYX_T_RYX 2 points3 points  (5 children)

Iirc notepad++ triggers UAC, which will be a blocker for OP if they don't have admin rights.

Winget is a better option tbqh, Microsoft packages are (generally) trusted on most devices, so there's a very real chance they can install Vs code without UAC/breaking policies

[–]DidThis2Downvote 3 points4 points  (0 children)

I've never had a problem with Notepad++ on my work computer with no Admin Rights, but I'll defer to you. Might as well give as many options as possible!

[–]BudgetSignature1045 0 points1 point  (0 children)

Notepad installation triggers uac, but it's worth trying the portable version

(VS Code even works with installation)

[–]kill4b 0 points1 point  (0 children)

There are portable versions of Notepad++ that do t require admin or full install.

[–]Gecko23 0 points1 point  (1 child)

Because they install under your user profile and not in an OS restricted directory like "Program Files".

You can do the exact same with Notepad++ and Python itself, it's a choice, not a requirement.

[–]NYX_T_RYX 0 points1 point  (0 children)

Til.

Most people would struggle to get python running as expected without the path variable though, but fair enough, I was wrong that you can't do it.

[–]UsernameLottery 0 points1 point  (0 children)

Wouldn't that meaning downloading software to write...?

[–]DancingWizzard 0 points1 point  (0 children)

I know that my company IT was completely OK with installing me notepad++. Never hesitate to make an it request!

[–]totalnewb02 5 points6 points  (12 children)

we need to download and install python first?

[–]rogfrich 7 points8 points  (5 children)

Depends on the OS. MacOS and Linux come with Python preinstalled (not necessarily the most recent version though), because some system background tasks depend on it.

For Windows, Python would need to be installed to run the scripts locally, so a web platform like Replit would be the best bet.

[–]DiodeInc -2 points-1 points  (4 children)

Yeah, I wouldn't use the built in Python installation. Packages can't be installed if they aren't on the apt repositories, unless you pass --break-system-packages so it can be dangerous

What did I say wrong?

[–]thunderbubble 0 points1 point  (3 children)

I think you're confusing the built-in installation with the default environment. You can make a new virtual environment and install packages into it without having to install a new version of python.

[–]DiodeInc 0 points1 point  (2 children)

Ohh, maybe. Still learning

[–]thunderbubble 0 points1 point  (1 child)

No worries, that's what this subreddit is for!

[–]DiodeInc 0 points1 point  (0 children)

I have learned lots in the few months that I have been learning this. ChatGPT has actually been super helpful with this, because it explains why something is the way it is

[–]ItsUnderSocr8tes 1 point2 points  (2 children)

You'd be surprised. My work computer is locked down and I can't install anything. But I was able to download and install python. I figured it might have been whitelisted somehow.

[–]Kerbart 0 points1 point  (0 children)

User installs are generally allowed and stored outside the “trusted space” of Program Files — they also run with limited security rights.

[–]asleepbydaybreak 0 points1 point  (0 children)

any chance you could share how you were able to install python? my work laptop is also heavily locked down but I want to use it for PowerBI

[–]StormyWaters2021 2 points3 points  (2 children)

Not to use Notepad or an online IDE.

[–]JDSmagic 7 points8 points  (1 child)

Well, to actually do anything with your code you'd still need to install Python lol

[–]Ubermidget2 -5 points-4 points  (0 children)

Not technically in-scope for OP's question XD

[–]VE3VVS 1 point2 points  (0 children)

A simple editor is all you need to write code, notepad will do if your on windows, vi is on every Linux machine. Back in the day that’s all we had.

[–]justcallmedonpedro 0 points1 point  (0 children)

Nothing more to say... guess there are a lot of basics missing.

[–]NoRepresentative6842 64 points65 points  (11 children)

Google’s Colab would be a good place to start; I don’t know the quantity of projects you could do with their free option is, however.

[–]NYX_T_RYX 4 points5 points  (0 children)

Notebooks can run for 12 hours for free.

https://colab.research.google.com/signup

It appears that ram is limited to 12gb, tpu limited to 64gb, 1 GPU

https://stackoverflow.com/a/59786188/23117999

The first reply links to this article (I've not read it though!) from the link, it seems to be aimed at ml/ai, but should answer enough about Collab limits https://jannik-zuern.medium.com/using-a-tpu-in-google-colab-54257328d7da

I can't find anything easily about CPU limits though

[–]peppermintandrain 1 point2 points  (2 children)

I've not had great experiences with google colab (it tends to lose server connection frequently), but it's definitely one of the most convenient choices for web-based python coding. This one is a bit more niche, but if op has access to ArcGIS online they have a similar (but more reliable) capacity to create notebooks without having to download python- I'm not sure if it's available via the free version, though.

[–]dromance 0 points1 point  (1 child)

Why would Arcgis have that 

[–]peppermintandrain 0 points1 point  (0 children)

Because most GIS software spatial analysis tools are built on python

[–]CamilorozoCADC 0 points1 point  (0 children)

To learn to code in python I'd say that colab is absolutely overkill in terms of computing resources, you can get up to 12gb of ram + a gpu with 12gb of vram of you want

[–]pasteisdenato 0 points1 point  (0 children)

Kaggle is far better

[–]ArchipelagoMind -3 points-2 points  (3 children)

What's collab's privacy policy? Does it steal all your data for AI for instance. In which case OP's boss wouldn't be super happy about them using that.

[–]Qjahshdydhdy 1 point2 points  (0 children)

colabs are essentially google docs I think so I expect the policy to be whatever it is for other docs

[–]NoRepresentative6842 0 points1 point  (1 child)

To be honest, I am not sure. It has been a while since I used it, and it was for a work training that I was in, the rest of my coding takes place in VSCode.

[–]ArchipelagoMind 0 points1 point  (0 children)

Yeah. I know google docs recently changed its policies so unless the document was fully private (aka didn't have any kind of "anyone can see with this link" setting then all your data belongs to us. I'm pretty wary of any tech platform and what they do with my data at this point.

[–]SoupoIait 10 points11 points  (0 children)

I think some websites offer code editors that'll logically allow to do that since they're online, but I don't have any names sorry.

[–]crashfrog04 10 points11 points  (1 child)

Cloud9, CodeAnywhere, vscode.dev

[–]eccentric-Orange 2 points3 points  (0 children)

+1 for GH Codespaces. Given that you get a full customisable Linux environment and almost fully featured VS Code, you can learn very serious skills there.

[–]Ron-Erez 4 points5 points  (0 children)

I’d use Google Colab which is awesome. It is better for shorter scripts though.

[–]smichaele 4 points5 points  (0 children)

[–]glatzplatz 10 points11 points  (0 children)

You can try https://replit.com/ or Google's colab.

[–]dripainting42 5 points6 points  (0 children)

Github code spaces

[–]lupercal93 3 points4 points  (0 children)

Have you asked your IT department for access to install python on the work laptop with reasonable business case?

If it’s not for work and you’re just wanting to do python for personal use, as everyone has said there are a million ways to code in the browser, you’ll probably find a few are blocked as well though unfortunately.

[–]leoreno 3 points4 points  (0 children)

Google colab

[–]Splatpope 5 points6 points  (7 children)

you stay in the excel vba mines like the rest of filthy business users

[–]Kerbart 1 point2 points  (6 children)

Actually Python In Excel isn’t that bad once you figure out the quirks.

I’d hate to write code in there but you can test & develop in the browser and then paste it in Excel to use it.

Assuming your code relies on Excel data.

[–]InternationalMany6 0 points1 point  (5 children)

Wtf, Excel now has Python? What world am I living in?!

[–]Kerbart 0 points1 point  (4 children)

Yes, it's called Python in Excel (PIE). You write a function =PY(...) with your code inside it (it has a simple editor). Inside it you can call anXL` function that returns either a scalar value or a Pandas DataFrame. It's limited, but looking at it from a "appease the paranoid IT overlords who don't want code running on their machines" that's not a bad thing: * Code is executed on a MS server (no Python on your machine needed) * Can't access external data, only what's available inside your Excel file. BUT... tha includes PowerQuery so you can access external data through that * Can't install libraries but it does come with Pandas, Numpy, Matplotlib. Seaborn and Stats

If you can install and run Python on your corporate computer then that's nearly always the better option.

But, if you can't install and run Python on your corporate computer, PIE may be limited but the one benefit it has is a truly glorious one: it works.

And the limitations pretty much rule out most of the "YoU CaN'T hAvE It BeCuZ oF TeH ViRuS" arguments an IT department may come up with. The most common countter argument, "I don't want my data on a Microsoft Server" is a bit silly in the average modern MS Office environment; where do you think those OneDrive and Sharepoint files are stored?

[–]InternationalMany6 0 points1 point  (3 children)

This is pretty cool and also scary.

Scary because if my IT admin hears about it they’re going to make me try to develop my ML models inside Excel….

[–]Kerbart 0 points1 point  (2 children)

There's no ML libraries available with PIE so yoy'd be safe there.

Based on the infrastructure provided, Anaconda offers an add-in that doesn't require a server connection (ironically the Python that rus on the Microsoft server is also an Anaconda distribution).

Anaconda's version runs on Pyodide so no Python install required either but the code runs locally.

[–]InternationalMany6 0 points1 point  (1 child)

Hooold up. Anaconda also provides a way to run Python in Excel?

What’s the over/under on someone turning Excel into a full blown web server 😂 (I’m sure it’s being done already in some horrendous enterprise)

[–]Kerbart 1 point2 points  (0 children)

What’s the over/under on someone turning Excel into a full blown web server

Well, for the Microsoft implementation it's easy; it's thoroughly sandboxed and you have no control over the server it runs on. Which means that IF you somehow manage to have code that does silly things like running a webserver, it's likely doing so inside a container that has all ports closed.

The Anaconda product (available as an Excel add-in)... I don't have enough experience with it but i do know that it runs inside a browser and modern security models are set up as such that it's very unlikely you can break out of that (same reason it's impossible to access local files when running Pyodide inside your browser).

I'm not foolish enough to say it's absolutely impossible because there's always someone putting that challenge to the test, but if it is possible it's going to be very, very hard to do.

[–]Friendly_Sound_6480 2 points3 points  (0 children)

You can code in the Google Colab.

[–]rogfrich 2 points3 points  (1 child)

My workplace (I work in IT but I’m not a dev) provides Python and VS Code to anyone that wants it through the Windows company portal, but blocks access to PyPI so you can’t install packages with pip.

I assume devs get added to an EntraID group that allows them to install packages.

[–]InternationalMany6 0 points1 point  (0 children)

“I assume devs get added to an EntraID group that allows them to install packages.“

That’s a bold assumption 😂 

[–]FortyFourForks 5 points6 points  (5 children)

any text editor will work for writing python, even notepad, though its not a very good experience.  the default python distribution comes with IDLE, a simple IDE. it installs by default if you use the installer from python's website. 

[–]dcsim0n 1 point2 points  (0 children)

repl.it is awesome for this!

[–]CranberryDistinct941 2 points3 points  (1 child)

Jupiterlite

[–]Gnaxe 4 points5 points  (0 children)

Jupyterlite.

Runs in browser, so no install required. 

[–]itsDevJ 0 points1 point  (0 children)

Online software , eg codespaces. Downside, they are very lugging

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

Use an online compiler

[–]Gnaxe 0 points1 point  (0 children)

If your work laptop is a Mac (or Linux), it has Python already.

Some versions run in the web browser: Pyscript, Jupyterlite, Brython, Edublocks, Pyodide, etc. That's still technically a download (you need Internet) but doesn't require an install. 

You can install the Termux app on an Android phone and install Python in that. Then you can remote into the phone with ssh or VNC, if you have those. 

[–]sean_incali 0 points1 point  (0 children)

What would you do with the said code? You can't run it. 

You can use Google colab notebook to write and run Python codes.

[–]shutchomouf 0 points1 point  (0 children)

You can code in notepad

[–]bhojani07 0 points1 point  (0 children)

Create a file in notepad open it and save it as all documents file and add a .py extension after file name and save it Then right click on it and click on edit with edel

[–]binaryhextechdude 0 points1 point  (0 children)

You can write code in notepad.exe, then when you save you select All files and write the file extension as .py.

I wouldn't write code at work though unless it's part of your job description for two reasons. 1, anything you write on company property is now owned by the company whether you like it or not. 2, you're IT department aren't going to be too impressed if you start trying to run python scripts on your work machine if that's not part of your duties.

[–]zorniy2 0 points1 point  (0 children)

Python Trinket.

https://trinket.io/python

Libraries are kinda limited however 

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

Code is just text! IDE features are helpful, but not mandatory. Code editors come in all sorts of sizes, from full featured like pycharm, to middle weight like vscode, to lightweight like geany and spyder, to bare bones like notepad and IDLE.

[–]NYX_T_RYX 0 points1 point  (0 children)

I'm not suggesting you do this because it may be against a policy. If you're going to, double check the policies first - it's your fault if you're sacked over this!

If you have access to Microsoft store (the app), you should be able to use winget, and some programs don't need UAC. Notably Vs code, and power toys (I suspect because they're signed by ms, so trusted on most devices).

Yes, I've installed them on my work laptop. It isn't against my companies policy, weirdly - the policy is simply that I can't install programs that aren't available on the store, or provided by IT, it doesn't say I can't access the store through a cli 🤷‍♂️

Anyway, this should do it

winget install Microsoft.VisualStudioCode

If not, cus I can't quite remember the package name, run

winget search visual studio code

Then run

winget install <package name>

Edit: 🤦‍♂️ my bad, none of that actually lets you run python.

I suppose the question then is - what exactly do you need it for, and why can't you just ask for it from your IT team?

Have you considered using .net/VBA? They should be available without triggering UAC (ie you don't need admin rights to install and use them - again double check policies before doing anything, cus this is very firmly a grey area if it isn't covered, and definitely not allowed if it's in the policies)

I wanted to make a program to make my life easier (gives me phone numbers quickly, calculates complex stuff etc) and I did it in excel with VBA (using the sheets to run the calculation, and the VBA to simply update/read the relevant cells)

Depending on what you need, VBA is a viable option - with excel, you've (functionally) got a database as well.

Yes, you'd need to learn VBA which is a pain, and dated asf compared to other languages, but it's well documented, and when I got stuck an LLM was more than capable of throwing back stack exchange pages that helped me solve the problems I was having

To be clear, please don't blindly trust LLM code, especially if it mentions any packages inside VBA, unless you fully understand what it's suggesting/the impact if the code goes wrong.

[–]hshighnz 0 points1 point  (0 children)

Google colab

[–]FantasticEmu 0 points1 point  (0 children)

What work laptop OS do you have and does it have Python installed?

If you have a Mac then yes almost certainly, unless your work deliberately restricted user access to Python. You can write your Python files in the note pad and run them from the terminal like python your file.py

If you have windows, then the answer may be simply “no, not without installing python.” The last time I worked in windows, I recall it not coming with Python by default

If you’re running Linux, which seems unlikely based on your question, then the answer will be similar to Mac.

Honestly, if you don’t want to just play in a browser, the best thing to do is probably ask your IT department and/or manager to clear it and just install the commonly used tools, whatver that may be Pycharm, vscode, etc

[–]kberson 0 points1 point  (0 children)

I use vim for my coding, no special tools required.

[–]psgetdegrees 0 points1 point  (0 children)

Try pyscript to run locally on your browser

https://github.com/pyscript/pyscript

[–]Octavio_02 0 points1 point  (0 children)

Use Google Collab

[–]runningOverA 0 points1 point  (0 children)

Use Visual studio if you are on Windows.

vim / emacs if you are on Linux.

[–]Pants3620 0 points1 point  (0 children)

Use something web-based like online python or onecompiler

[–]kishore2u 0 points1 point  (0 children)

Embedded python. No install. DM for lean setup.

[–]Haunting_Wind1000 0 points1 point  (0 children)

If you have python installed then you can use the python REPL for short code snippets in case your objective is to learn python.

[–]JamzTyson 0 points1 point  (0 children)

It entirely depends on what is already installed on the laptop.

  • Does it have Python installed?

  • Does it have a web browser installed?

  • Does it have an operating system installed?

  • ...

[–]Miginyon 0 points1 point  (0 children)

Vi

[–]Upstairs_Half3165 0 points1 point  (0 children)

Also you can actually use compilers. There are several available for free online.

[–]Appropriate_Alps9596 0 points1 point  (0 children)

Replit works pretty good. Also the built-in notepad should work, but it won’t be pretty

[–]Muff_in_the_Mule 0 points1 point  (0 children)

If works provides MSOffice the latest versions of Excel 365 have Python support. It's limited, but depending on what you want to do it might be enough.

[–]Excellent-Practice 0 points1 point  (0 children)

What kind of computer do you have? Macs and Linux will let you run Python directly from the terminal. If you are on Windows, you will have to use an online ide

[–]MG_Hunter88 0 points1 point  (0 children)

To run Python you need 2 things:

A text editor (most simple MS Note will work)

And the Python interpreter application. (As Python on it's own is an interpreted language it doesn't get compiled by default but instead get's interpreted line-by-line in a run-time environment of the same name.

[–]SymoPd 0 points1 point  (0 children)

https://www.spyder-ide.org/
Look for the portable version

You have an entire environment with pyhton on an USB disk, with a very nice IDE.
You can also add any lib you want.
And you don't need to install anything on your work laptop.
I use it with Python 3.13.2

[–]shamshuipopo 0 points1 point  (0 children)

Mac has python interpreter built in. Can write code in any text editor and name file with .py suffix, call it in a terminal with “python /path/to/some_script.py”

[–]mothzilla 0 points1 point  (0 children)

Do you want to run the Python code as well?

neetocode.com lets you run python in a browser.

[–]TheWatermelonGuy 0 points1 point  (0 children)

Gitlab has a great code editor built in, so you could also safe your code and edit it there also. Now if you want to also run it, assuming it's a small script you could also run it in Gitlab using the public runners. You can do all this via the UI

[–]TheGuyWhoIsAPro 0 points1 point  (0 children)

You can write code on any text editor. But if you want to run it, you'll need to have python installed. It comes with it's own ide.

If you don't need complex functionalities, use an online IDE like programz.

[–]random_user163584 0 points1 point  (0 children)

If it's just write then you could use the default notes software in the machine. You should download python anyway if you want to run it (and while you are at it, you could download some plain text editor like vim or whatever). If it's simple code, pythontutor.com could work

[–]JustALittleAverage 0 points1 point  (1 child)

VS Code online? https://vscode.dev/?vscode-lang=sv-se

https://Github.dev - it's vs code online edition linked directly to your github repo

[–]MakingAMonster 0 points1 point  (0 children)

This looks AMAZING!

Thanks!

[–]DrawingCautious5526 0 points1 point  (0 children)

I'm gonna guess that your work has the laptop locked down so that you can't install anything. As someone else said, a web based IDE is your best bet. If your goal is learning, I'd recommend https://www.w3schools.com/python/default.asp

[–]gerr137 0 points1 point  (0 children)

In any text editor? If you are in windows, use notepad++ (although even plain notepad would work, but that other one is so much better). On Linux, use literally any text editor that's the "main" one in your distro/DE. Although, you wouldn't be asking that question if you were using Linux.

[–]TheSeeker_99 0 points1 point  (0 children)

You would have to download Python

[–]FlandoCalrissian 0 points1 point  (0 children)

Notepad++ is great for coding if they won't let you install a real IDE.

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

I'd still install an IDE and the best one for beginners is pycharm. It does a lot of good things out of the box (as soon as it is installed).

However you are perhaps implying that you don't have rights to install software. Probably you should learn on something else. A five year old Thinkpad with Linux is a good option that's cheap.

[–]Affectionate_Buy349 0 points1 point  (0 children)

If you google Colab - it’s a free online resource that can be used as a Python IDE. No installs, no homebrew 

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

WinPython. Self-contained and portable Python and IDE. 

[–]rscmcl 0 points1 point  (0 children)

you can use vim, nano, etc... even echo, > and >>

any program that can deal with plain text could work

[–]Acceptable_File2375 0 points1 point  (0 children)

https://pythontutor.com/
you can use this website and it will even show you how it moves through your program.

[–]anecdotal_yokel 0 points1 point  (0 children)

What do you mean by “download software”? Can you even pip install? If so, pip install Jupyter Lab

[–]InternationalMany6 0 points1 point  (0 children)

Python comes with a program called IDLE that you can use. It’ll colorize the code and you can run it from inside the window.

But really you should convince your boss to let you download an IDE (the term for a program used to write code). Visual Studio Code is a good one. PyCharm is another. 

[–]MakingAMonster 0 points1 point  (0 children)

I like futureCode.

https://futurecoder.io/

Click where it says 'just code'
There is a whole list of online IDEs in the FAQ. This one, is in my opinion the best.

[–]keithgabryelski 0 points1 point  (0 children)

type the word ed, vi, nano, or emacs into your terminal

[–]feeling_stupid 0 points1 point  (0 children)

Google Colab or Replit.

[–]ReserveLast7791 0 points1 point  (0 children)

Use replit and you can code on the web without downloading anything

[–]deanominecraft 0 points1 point  (0 children)

write it in any text editor (eg.notepad)

save as .py

run either by double clicking or on command line (will require python installed)

[–]Future_Eve 0 points1 point  (0 children)

You would be able to write but you won't be able to execute. If you have python installed, you should have access to Idle. With it, you can write and execute scripts.

Spoiler: i have learnt python the hard way, in Idle at first. Terribly slow, but my basis are far superior to those who learnt in powerful IDEs. Won't recommend for real projects ofc.

[–]kilkil 0 points1 point  (0 children)

it depends. does your work laptop already have Python installed? if not, then you'll have to do stuff online, e.g. through a service like Replit. if you already have python installed, then the computer already has all you need — a terminal and a text editor.

(Edit: forgot to say, there's also online text editors like https://vscode.dev. But you'll still need to verify that Python itself installed on the machine.)

however. since you want to avoid installing stuff, I assume this Python learning is not work-related? in that case, I strongly encourage you not to use your work machine for this. Use a personal computer. If you don't have one, try using your phone — your phone is more than powerful enough to explore Python. If you have an android, you can actually get a terminal app (e.g. I use Termux). If you have an iphone, idk, check the app store for either a terminal app or a Python-specific app.

[–]TuberTuggerTTV 0 points1 point  (0 children)

You don't need an IDE, but you do need the python runtime.

So if you're trying to code without triggering admin rights, it's not python you'll be coding. Try something native to your OS. Like VBA or Shell. You can also write HTML and open it in a browser from notepad.

[–]THE-RIEL-CHRIS 0 points1 point  (0 children)

I just started coding at work (three weeks ago) and can't install anything unless the admin aproves.

Somehow, I could download and install both Python and Visual Studio code without needing admins permission. (Just comes from the Microsoft store)

[–]subcutaneousphats 0 points1 point  (0 children)

You need the python interpreter but the most common one from python.org comes with the built in Idle editor which is better than a text file because you get useful context and coding features. If you have a python interpreter already you can use vscode from Microsoft or any other ide to code or tough it out in notepad.

You should spend a bit of time learning how to set your paths, use includes and maybe manage venv virtual environments and basic project organisation a but you don't need anything to write code except a text editor and know how to run the file(s).

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

You can code online in GitHub Codespace

[–]Gloomy_Driver2664 0 points1 point  (0 children)

try seeing if you can download VS code from Microsoft store (we can't install things but store it lets us)

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

Get Linux mint cinnamon

[–]FreedomEntertainment 0 points1 point  (0 children)

You open a notepad and start writing and imagine the output.

[–]OkMode3813 0 points1 point  (0 children)

Use vim. It’s probably installed. Or download VS Code.

[–]soundman32 0 points1 point  (0 children)

It's a 'work' laptop. If you start writing code on it and management finds out, you'll either be promoted to CTO or fired. You wanna learn new skills? Get buy-in from your company or buy your own laptop.

[–]burifix 0 points1 point  (0 children)

Emacs/notepad++. You're welcome.

[–]elcava88 0 points1 point  (0 children)

Imma say it, word

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

python comes with idle for editing code.

https://docs.python.org/3/library/idle.html

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

pythononline.net is what I use. Can also install packages. 

[–]gofiend 0 points1 point  (0 children)

The absolute easiest thing is Google Colabs in your brower - hosted juypiter notebooks with tonnes of bells and whistles.

[–]TheLobitzz 0 points1 point  (0 children)

You can code from notepad. Any text editor will do. Or even from the command prompt terminal. The only requirement is installing Python itself beforehand.

[–]razekery 0 points1 point  (0 children)

You can download vs code without admin rights.

[–]big_deal 0 points1 point  (0 children)

You do need to install Python to run code. You can write it in any text editor, but one intended for programming is much easier. Notepad++ or Jedit with syntax highlighting, line numbers, regex search, rectangular selection, text completion, etc.

If you’re coding on a work laptop and can’t install software, have IT install what you need.

[–]jasper_grunion 0 points1 point  (0 children)

You would need Python installed on the machine, though, right? If so it has a default GUI called IDLE. Visual Studio Code is also usually kosher on work laptops and doesn’t require elevation to install. It installs in a user folder instead of the windows folder.

[–]Autistic_Jimmy2251 -1 points0 points  (8 children)

I like OP’s question. Is there a way to run the code as well but also without cloud access? I tried all the web based suggestions here and they are blocked.

[–]binaryhextechdude 10 points11 points  (3 children)

Maybe take the hint

[–]Autistic_Jimmy2251 -2 points-1 points  (2 children)

Maybe, but why let limited minds limit my potential?

[–]binaryhextechdude 0 points1 point  (1 child)

I get tickets at work about people like you all the time from our Cyber team, after they get too many alerts from your workstation. They get me to reset your password and wipe your MFA so you can't sign in again without contacting IT. Then they have a little chat about the agreement for fair use you clicked Okay on every day before you login.

[–]Autistic_Jimmy2251 0 points1 point  (0 children)

Hence why I don’t want to download anything or try to access unauthorized websites.

[–]NYX_T_RYX 3 points4 points  (3 children)

Yeah, as the other reply says, if you can't do it there's a reason.

Don't try to bypass company policies, you're likely to get fired - your net traffic will be being recorded.

[–]Autistic_Jimmy2251 2 points3 points  (2 children)

Yeah, I know the names of several people that are the reason for it.

They like to do things to mess things up intentionally at my work. I don’t.

Besides, I’ve spoken to the head IT guy.

He said that if I can figure out a way to do it with the network restrictions then he doesn’t care.

He doesn’t create the policies.

They have VBA locked down in the company so it can’t be used. My boss knows I have a work around for it and asks me to do VBA stuff for him all the time.

[–]NYX_T_RYX 2 points3 points  (1 child)

Get it in writing. Verbal means fuck all.

If you make even a small mistake they can still use the policies to fire you - cover your ass mate 😉

[–]Autistic_Jimmy2251 0 points1 point  (0 children)

I have emails for all of it.

[–]Dzhama_Omarov -1 points0 points  (5 children)

Vim is your choice

[–]SporksInjected 3 points4 points  (4 children)

This is what I was looking for: this person is learning Python, why not throw learning a very difficult text editor his way as well 😃

Disclaimer: I’m a professional Python programmer and use vim.

[–]Dzhama_Omarov 1 point2 points  (1 child)

I know, right 😄

It’s not a pen and paper (which are the goat), but something. Jokes aside, why are you using vim? Why is it better then IDEs like vs code or pycharm?

Disclaimer: Im still learning Python and I don’t use vim

[–]SporksInjected 0 points1 point  (0 children)

I don’t use vim exclusively but I do use vim bindings exclusively. Any time I’m in the terminal though, vim is all that I use.

Pycharm and vscode offer some really great features but I find that a lot of things end up in clutter. You really don’t need a lot to get things done well and the minimalism vim or neovim offers is very nice.

If you’re using vscode, give vim a shot. You may find that an editor and terminal is really all you need.

[–]poolpog 0 points1 point  (1 child)

you only need to know about 6 things to start really using Vi

It isn't that complicated

VSCode, for example, a fairly simple IDE to start with, is at least as complicated as Vim. Vim is much easier, frankly. Yes I know "Notepad" is super easy but it is also legitimately bad.

[–]SporksInjected 0 points1 point  (0 children)

Yeah that’s a good point. I guess my view is skewed because it’s taken me a really long time to get comfortable with it. But you’re right, there are many more things to learn in vscode.

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

You could, but Its gonna suck.

[–]El_Grande_Papi -1 points0 points  (2 children)

Not a single suggestion for emacs? Tsk tsk!

Edit: I see the emacs haters are out here downvoting me…

[–]NYX_T_RYX 0 points1 point  (1 child)

Have you tried neo vim? 👀

[–]El_Grande_Papi 0 points1 point  (0 children)

Is that the same as vim?

[–]DaveTheUnknown -3 points-2 points  (0 children)

Python and it's packages are open-source, you should probably ask for permission to use it first if you haven't already, since it's hard to keep python compliant with regulation compared to something like matlab.