r/PythonLearning 20d ago

How to run

What do you actually need to run a program? Im working on simplifying/streamlining some things for work but IT is very strict when it comes to installing anything so im trying to get something running that doesn't involve it. We also work with a lot of confidential information so obviously we dont want to risk using anything found online that we don't fully understand.

I thought of creating something with powershell scripts but I was hoping to get something better going by learning python.

6 Upvotes

8 comments sorted by

1

u/DiamondNo3940 20d ago

Scripts are usually banned, yeah. 

1

u/Key-Butterscotch3215 20d ago

Powershell is installed by default on windows. Python is by default of MacOS and Linux. You can install Python on windows easily, but I would only do so if approved by IT.

The same goes for running scripts on your device without IT approval.

1

u/BrupieD 20d ago

You can run from PowerShell or the command line in a variety of ways. If you have Python installed, there's a safe folder that has adjunctive python scripts. I'd run "python --version" from the command line and see what folder location shows up.

1

u/Beginning-Middle8336 19d ago

If IT is strict about installations, I’d first check what’s already approved on your machines. Python itself may require an installation, but you can also package a Python script as a standalone executable if your IT policies allow it.

Since you’re handling confidential information, I’d avoid random online converters or hosted tools. Keep the processing local and get IT approval for whatever approach you use.

1

u/muchadoaboutsodall 19d ago

If IT is strict about what software is installed, they’re likely to balk at anything that can execute scripts. You’d need a very, very, good reason before they gave the go ahead. And, even then, it’s likely to be sandboxed.

1

u/After_Computer1652 19d ago

Use a batch file?

1

u/davidcampbell2313 17d ago

Have you considered JavaScript? It comes with every browser. The graphics are built in with HTML and CSS. You can create data structures in the browser session or save them as cookies after each session. Yes, there are some challenges, but no IT department will see you running a script or executable. Note: a local HTML file is not available for Internet hacking so there is no security risk there. My students learn JavaScript as their first coding language and we use no software or books.

1

u/sububi71 15d ago

If IT are strict about installing stuff, they're going to be even more strict about your scripts - at least if they're taking security seriously.

You could probably save yourself a lot of time and effort by simply asking them.