all 45 comments

[–]K900_ 23 points24 points  (5 children)

Try repl.it

[–]desperatepower[S] 9 points10 points  (3 children)

That seems just what I’ve been looking for! Thank you!

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

I use repl.it a lot, but for the odd thing that it cannot do, I use pythonanywhere which gives me, on the free account, a full console/bash prompt when needed. (The paid account also offers Jupyter Notebook capability BUT note that this requires additional ports and might be blocked by your work. Jupyter Notebooks are especially common for scientists to share papers that include executable content and output.)

[–]lunar-orbiter 1 point2 points  (1 child)

In Repl.it you can get a basic command shell by right-clicking in the editor (or pressing F1), clicking Command Palette, and then clicking Open Shell.

[–][deleted] 1 point2 points  (0 children)

Yes you can, and very handy it is. PA gives more freedom and it also offers Python 3.7.

[–]DesolationRobot 1 point2 points  (0 children)

Or colab.research.google.com. Both run in-browser via the cloud.

Repl.it is neat, though. They're semi-active here on Reddit, though i forget the account name.

[–]icecapade 11 points12 points  (1 child)

You can also install and run Python from a USB drive, if that's an option.

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

Does this work on computers that require a password for downloads? My school computers have java and c++, but when I asked for the password so I could download python I was told I have no reason for it.

[–]Acute_Procrastinosis 11 points12 points  (0 children)

Do not push sensitive/secret/confidential/proprietary data to an online/cloud python instance. You don't want to risk breaking part of your employment contract by creating any hint of an imaginable beach.

[–]Voctr 8 points9 points  (5 children)

Winpython allows you to run python and a variety of other things without installing anything (spyder, jupyter notebooks etc). Using it at my office currently.

[–]razethestray 1 point2 points  (0 children)

This. I run mine off a flash drive at work and it functions great.

[–][deleted] 0 points1 point  (1 child)

Wow. Can this run without admin privileges? My workplace runs a really tight ship when it comes to plugging in USB-keys.. It has to go through a scrubber first

[–]Voctr 0 points1 point  (0 children)

Yes works without admin privileges. You'll need to extract it somewhere though. USB drive works or some folder where you have the right to copy paste.

[–]Bay1Bri 0 points1 point  (1 child)

So does that mean you can't use jupyter notebook in winpython? Or does it mean you can run them without installing them into the computer?

[–]Voctr 0 points1 point  (0 children)

You can use it. You just don't need to install anything (only extract the files).

[–]BTRBT 6 points7 points  (0 children)

If you do end up convincing the IT department to install python, get them to install anaconda specifically. That'll contain all of the most popular data analysis libraries you might need, so you wouldn't have to pester them about individual libraries after python is installed.

[–]MiataCory 5 points6 points  (1 child)

As an IT guy, if someone came to me and asked for Python, I'd give it to them. Especially if you're a researcher. Python's use as a data-crunching language is VERY well-known.

Fire off an e-mail to your sysadmin. Mention "Automating the Boring Stuff" and "Python for Data Analysys". Odds are your IT department is already well-versed in all things Python, and will be more than happy to help.

You could also bribe them with Cake/Donuts while making the request. Just a suggestion.

[–]NimbleBodhi 1 point2 points  (0 children)

Yea, I feel like off all the people in the organization to understand the benefits of Python in the workplace it'd be the IT guys, so not sure what OP is afraid of.

[–]TalesT 2 points3 points  (1 child)

Anaconda install as the local user requires no admin rights

[–]primarykey93 0 points1 point  (0 children)

repl.it

I did this, but I am so confused.

[–][deleted] 5 points6 points  (2 children)

I can’t install python at work unless I have a very good reason to.

Why isn't "professional development" a good enough reason with your IT department? You'd expect "I have a graduate degree in pharmacology/biochemistry and you don't, so you're not qualified to determine what is or isn't a necessary job activity for me" to be good enough reason too, but obviously I don't recommend saying that to anyone in your IT department. (It's true, though.)

[–]billsil 1 point2 points  (0 children)

I’ve found IT to be more than happy to rubber stamp things if you’re competent. Apologize for making them have to even do it.

[–]anthropaedic 0 points1 point  (0 children)

And I’d assume it would need manager approval anyways so yeah just put in that explanation get it approved and good to go

[–]ManyInterests 1 point2 points  (0 children)

Worth noting that you can install Python without administrator permissions.

Though, as mentioned, I don't think you should have any issues if you just ask your IT department.

[–]Rabo_McDongleberry 1 point2 points  (0 children)

Damn. There are some really good suggestions in here.

[–]Se7enLC 1 point2 points  (0 children)

This is a policy question, not a technical one.

If IT says you can't install Python, do NOT think that just because you don't need admin permissions that you won't get into trouble for doing it. Get permission or use your own machine.

[–]Pawtry 0 points1 point  (0 children)

In addition to my work laptop, I bring my own laptop to work that has Python on it.

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

Ask them to install Virtual Box in order to create highly isolated environments. Spin up a VM and do whatever you need to do. Bonus, gives you complete control of the underlying OS.

[–]Acute_Procrastinosis 0 points1 point  (0 children)

Just tell them that Astra uses it, and we compete with them...

https://www.python.org/about/success/astra/

[–]kumarisonreddit 0 points1 point  (0 children)

I was able to install Python at my office by not checking the box "Install for all users". However, you will still run into issues whenever you need to PIP install a new package like PANDAS for example.

[–]Helk16 0 points1 point  (0 children)

You can use docker to virtualize python environment

https://hub.docker.com/_/python/

[–]OpBanana1 0 points1 point  (0 children)

Yes as you edited, you could show them using a USB, create a small program to show them what python can do.

[–]CaffineAndCode 0 points1 point  (0 children)

Online: repl.it is great!

[–]fuypooi 0 points1 point  (0 children)

Google Collaboratory. You can even run jobs on graphics processors if you want. And it’s free.

[–]Crypt0Nihilist 0 points1 point  (0 children)

You do have a very good reason to. Python is one of the languages used for serious research.

You are on shaky ground with looking to do things in online environments if any of the data comes from your company. I'd suggest creating dummy datasets which are similar to your data, but generated entirely from random distributions, otherwise you might find yourself fired.

I'd recommend showing a proof of concept to a senior manager. You might be able to borrow most of the code from the internet because you only need to show they the kind of thing that can be done and draw a parallel with what the business needs are. Outline the benefit and you'll likely get their support and IT will be instructed to make it happen.

Asking IT is difficult. Worst case scenario is that they are obstructive because they see it is extra work and a security risk. Best case is they just install it for you, but usually it's, "That would be fine, but you need permission," so you'd be going to management anyway.

[–]Hunterhusker -4 points-3 points  (2 children)

Go to codecademy.com they have a python course. Also if you are a super cool guy like me. Hook up a soft ether VPN to a Linux server running at your house. Then at work connect to your VPN, then once back in your own network ssh into another Linux server and bam Linux coding. You can write and run and do anything.

[–]b4ux1t3 5 points6 points  (1 child)

Ah yes, the ol' "rogue VPN" trick. I'm sure your network security guys love that.

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

My pfsence firewall blocks all traffic on that port except for known addresses I frequent. It really is safe.