r/learnpython • • Sep 15 '20

IT Denied My Request to Download Python Due to Security Reasons...

I used to have admin rights (data analyst) at my previous employer.

After starting my new role, as a sales analytics manager, I can’t even get python (or even a database application) installed...

Other than personal projects, any other creative ways to continue using python?

Edit: WOW! Thanks for all the feedback. I’ve addressed it to my manager and we’ve agreed to request it again after I propose a proper justification that backs up my needs to download Python. If it gets denied by IT again, my manager might go straight to the CEO but I don’t know if that’ll be necessary. Until then, I’ll have to familiarize myself with VBA again!

Suggestions to consider:

  • VM

  • Anaconda

422 Upvotes

182 comments sorted by

105

u/shiftybyte Sep 15 '20

Python can be used without admin rights.

https://sourceforge.net/projects/portable-python/

6

u/guillermohs9 Sep 15 '20

I just use the official installer and installed in on my user's appdata folder (default location without admin rights when "Install for all users" is unchecked). Then just use a virtualenv for each project. The tricky part was to get pip and a git client to work through a proxy. Still pending in my list are "portable" MySQL or PostgreSQL, stuck with SQLite for now.

Still, other answers' warning are valid. You shouldn't use something they explicitly refused to authorize. Dide they refuse to give you admin rights or forbid to install python?

1

u/jeffrey_f Sep 15 '20

works great and is installed into your home folder instead of system folders (which you would need admin for).

1

u/[deleted] Sep 15 '20

Installing packages may be tough if IT clamps things down

1

u/gitogito Sep 15 '20

Saving this for later.

-6

u/samketa Sep 15 '20

Python can be installed for a user without admin privileges. You guys know that, right?

0

u/[deleted] Sep 15 '20

[deleted]

77

u/shiftybyte Sep 15 '20

Depends on the IT actually, if they are denying this because they don't want to give administrative rights for the installer, then they won't care if you run an exe without it being installed at low privileges.

If they are denying Python because of some bullshit company policy, then ye, better be careful.

EDIT: also for OP, you can use online python for practice/ learning...

https://repl.it

27

u/RedEagle21 Sep 15 '20

It’s the later. Hm...how unfortunate, there’s a lot of work I was tasked to do that is easily automated.

39

u/fighter_foo Sep 15 '20

I was in the same position in my previous role at a bank. Talked to my manager and a friendly senior employee about my coding skills and projects and how I can easily automate a lot of their work too, they just went two steps ahead and got me the permission from their manager to install python.

Couldn't just pip install libraries tho, which was a bit of an issue but luckily they had a proxy server setup for small external downloads and was finally able to manually setup the libraries.

19

u/wtfismyjob Sep 15 '20

At a financial institution myself in IT and this is the way to go.

Why should IT give an eff about some basic data analyst requesting anything? Because they want it? No, make a business case, gain sponsorship and show how it benefits the entire organization that they now have to take time from their days to figure out how to administer this thing as opposed to something else they might be working in that might have higher priority, then ask. Seriously really rubs our department the wrong way when a low level employee just out of the blue demands some software or something.

Considerations (for regulated companies/industries) -

All code must pass through change management of some sort (version control + mandatory approval process) before being put into production. This includes scripts and analytics type stuff. This comes form regulators, not draconian policy. It’s meant to provide a “paper trail” of who wrote what, why, when they put it in production, how and why for that, what it even does etc. Think Office Space the movie type transactions skimming because there is no dual control in place, and possibly no separation of duties. Let’s not forget that IT probably has to run off a whole chain of change management documentation to change a workstation image too, and then maintain this one extra special image for just this one extra special employee.

Who really does guarantee that every module on PyPl is secure or operates and was developed along NIST or some other paradigm of secure development? Do you check every single line of source to make sure it doesn’t do stuff it’s not supposed to?

Who maintains all of this when you’re gone, or when you want to productionize? IT? What if they don’t have the skill set? Are they supposed to now hire a python dev to support your projects? End users love calling IT for anything computer and love bitching when IT is like, “I have no idea what that is. We didn’t install it.”

Is IT prepared to manage proxy settings, containers, various servers, environment managers, etc. which includes pushing patches to and for all of these things so their security metrics don’t suffer? They may simply not have the bulk staff to handle one more environment.

What happens when the other departments catch wind that IT let this analyst install something but not them. Now they all want their own unique set of stuff installed that IT now has to provide that much more patch, support and administrative work to.

Anyway, the right approach is like fighter_foo took and to gain traction through sponsorship and broad organizational appeal. Make sure everyone understands the underlying administrative costs and how that is going to affect IT resources. I’m sure the majority of the “No” OP’s IT department issued was the result of just out of the blue (to IT) asking if OP could install Python with no work done to show how it benefits the company, no management approval, no plan for implementation and maintenance, etc.

If I were OPs position I would put together a document of available IDE, package/environment managers, potential things like Jupyter servers, version control systems, change approval/documentation process, patch schedules, due diligence process for modules, etc. and organize it into a plan for executing an evolution of their role/department. Work with a few managers and departments to determine how to spread the resource (read people hours) costs so that it benefits more than OP. Like, if version control is spun up and a jupyter server or some other analytics suite with a python backend with some kind of enterprise package/environment manager system behind it, and not just OP, but IT, accounting etc can all access and use for real tasks they are doing now that would improved through this plan, then present to a group in a formal meeting/presentation setting. Basically, help IT help you.

9

u/[deleted] Sep 15 '20

Wow, your bureaucratic spirit must be a great asset to your employers.

The correct reaction is to actually try to understand the request, ask for more information etc... You just don't say no like a robot to something that can potentially increase the productivity of your company.

12

u/[deleted] Sep 15 '20 edited Sep 15 '20
  1. Bad bureaucracy stops people from doing their jobs.

  2. Good bureaucracy stops people from fucking things up

There's a few points this guy's getting at, just a bit abrasively.

I think the major takeaway is that it's really, really easy to make an unusable nightmare black box. Imagine if a manager (we'll call Bob) has $100k a year riding on a unique, in-house piece of software that literally one guy (Jerry) understands, and Jerry gets hit by a bus. Jerry's only documented what he's personally felt like documenting, and the piece of software literally runs on a single computer. If you put it on anything else, it breaks and dies.

This is not a ridiculous scenario. It's basically the default state of a software solution. And when this happens, Bob's gotta go to the "computer problem" guys and raise hell, because again, $100k a year rides on this software. Bob has to get this thing to work.

Eventually, Bob goes to his boss because IT gives him the finger, and Bob's boss goes to his boss, and then that guy schedules a call with some guys in IT, along with their manager. In this call, he asks IT one simple question: "Isn't it your job to make sure that this stuff works?"

This sort of situation is, again, not a ridiculous scenario. Flavors of this unfair situation are the sort of colossal headaches that folks like /u/wtfismyjob get tasked with solving. Perhaps this is why the info is presented so abrasively.

I will try to explain bits and pieces of his concerns. They are ultimately coming from a place of "let IT help you make this valuable thing", not "don't do anything new ever".

All code must pass through change management of some sort (version control + mandatory approval process) before being put into production... It’s meant to provide a “paper trail” of who wrote what, why, when they put it in production, how and why for that, what it even does etc.

This is to help prevent the black box from being mysterious to everyone except Jerry. This is something that is challenging for most software engineers.

If Jerry's working on some changes, he should be able to apply those changes systematically. If Jerry's gonna add in another feature, other folks got to know about it.

Who really does guarantee that every module on PyPl is secure or operates and was developed along NIST or some other paradigm of secure development? Do you check every single line of source to make sure it doesn’t do stuff it’s not supposed to?

This is to prevent major security issues from exploding in your face. Generally, going with modules/dependencies is a deliberate design decision; it's not something you should just do to "make it work", and when folks do "just make it work", they are typically doing so with other safeguards in place to help reduce the risk of using some horrible broken shit, or they are an experienced engineer on a deadline who's already warned management that they're not responsible for resulting security flaws, or they're just inexperienced.

Who maintains all of this when you’re gone, or when you want to productionize? IT? What if they don’t have the skill set? Are they supposed to now hire a python dev to support your projects?

This is self-explanatory; the solution must live independently of its creator for several months to several years. This is much, much harder than it sounds.

Is IT prepared to manage proxy settings, containers, various servers, environment managers, etc. which includes pushing patches to and for all of these things so their security metrics don’t suffer? They may simply not have the bulk staff to handle one more environment.

These scattered concerns fall under the umbrella of infrastructure (not really, but for the purposes of this explanation, "infrastructure" is a suitable label). These concerns are honestly absolute overkill for any specific design decisions that a hobbyist developer made during the free time of their day job; really, they're to answer the question of "how will we, IT, provide the infrastructure to support this black box". When this expectation is made up-front, things run more smoothly.

What happens when the other departments catch wind that IT let this analyst install something but not them. Now they all want their own unique set of stuff installed that IT now has to provide that much more patch, support and administrative work to.

I think this one is a bit self-explanatory.

The main points that this guy's getting at are the following:

  • major solutions have major responsibilities.

  • the same keys which enable small improvements also enable someone to hack together a business-critical black box that costs twice the value it brought, and that these sort of keys should be given out sparingly and with good, well-defined justifications.

Now with all that being said, I don't think that someone's data entry scripts necessarily warrant a fucking crash-course on software engineering and the importance of IT bureaucracy. Then again, I'm a software engineer and not an IT guy so all the dumb shit folks come up with would probably turn my skin inside-out.

3

u/wtfismyjob Sep 15 '20

Got off a call with Bob and his manager and mine and a C after writing all that for the exact reason here. “Bob’s guy made a thing, then Bob fired him, now it doesn’t work. Why doesn’t IT just jump on fixing it when we demand?”

1

u/[deleted] Sep 15 '20

"I do not understand. You guys make many shiny computers do the big thinky-thinks. This foldy computer is very sad. Does not got enough thinky-thinks. I got title with big golden C in it, I know these things. See, lights are red, angry sounds, it's very sad. And when computer sad, I'm sad, and trust me when I sad that you do not want me sad. Computer only needs quick think to get back on its feet. You will give."

Literally the thought process going on with those folks imo

1

u/[deleted] Sep 16 '20

Also I just read that post you made on /r/DevOps, holy fuck I thought my org was dysfunctional but that is a whole other level. That shit is insane and I wish you the best of luck with it

→ More replies (0)

10

u/wtfismyjob Sep 15 '20 edited Sep 15 '20

It’s not ITs job to determine the potential productivity increase of someone else’s request of their time, it’s the requesters responsibility to do the foot work to provide valid evidence that supports their claim that whatever they want will in fact justify the time cost of involving IT or making them alter their current schedule and support fence.

Conceptually IT would have a predetermined schedule of work dictated by the organizations goals, first. They also have limited resources and face scrutiny as a cost center for most companies. To deviate for a random request does not align with delivering, and we have no clue how much they already have on their plate. But coming from IT side myself, I can tell you if they are hard stopping with “No” that’s a good signal they don’t have time to deal with requests like this.

End users need to stop approaching IT departments with half cocked requests that only serve their personal desires and start doing some leg work ahead of time to justify why they need whatever they want and how it benefits the broader organization. Consider the OPs request compared to potential larger items; please can I have python for making charts vs who knows what? Cloud migration efforts, WFH initiatives and licensing and workstation roll outs to get staff working remotely, supporting heavy call volume with non standard troubleshooting of end user personal home networks, added security consideration from letting end users carry around company data assets on company physical assets, I dunno any big potential IT project now. But if it’s presented as a broad improvement to the whole company on scale with the things they’ll have to push aside to administer this new development, then it gets a better chance. That’s it.

All my bureaucratic’ness is the direct result of running into these issue placating ad hoc requests from selfish end users and being “written up” in audits for others. I’d actually consider my concerns light on the bureaucracy considering the industry I’m in and can think of far worse IT can do. Think full on terminal access with in-house hyper restricted web browsers and hyper restricted OS overlays for UI. I knew a guy managing telephony for a major power company and the stuff he described regarding their workstations was ungodly.

8

u/eloydrummerboy Sep 16 '20 edited Sep 16 '20

I'm with you for the most part, but phrases like "half cocked requests that only serve their personal desires" and "selfish end users". This is the type of thinking that perpetuates the Business vs IT wars. Maybe this was true for a few personal experiences you've had. But here, you're talking to a broader audience.

A new analyst who used Python in a previous job, and would like to continue using it is not "half cocked" or "selfish" and not just trying to satisfy their "personal desires". Fuck right off with that shit.

You ever try doing an analysis in excel vs python? It's about productivity and doing the best job you can, and in today's workplace I don't think an analyst asking for the most poplar programming language, and one that is practically synonymous with data analysis and data science is asking too much. IT needs to stop acting like python is a fucking "special request". It's a common tool used by millions of people and growing. It's not some bloatware from an unknown vendor from Turkmenistan. Every modern company with an analytics team and IT department worth its shit should have been thinking about how they were going to make Python available for company by now and either have it rolled out or a plan in place and ready to go.

Ask yourself, how many little tools do you have that make your life easier? You got something to save the ip address or server names of the servers you maintain? Why don't you just start using excel instead? You have health monitoring software and dashboards and notifications? Just log into all the boxes every so often and check the health manually. You have a ticketing system? Just use email instead? These are all security risks and cost so much money!

But no, you can't imagine doing your job without the tools that increase your productivity and make your life easier. It's the same with OP and other people working with data. I get it, block the guy wanting to install FlyingToasters.exe. But this is fucking Python. It's the new excel. Stop acting like it's a fucking fringe request. Build a policy around managing the risk and let people do their jobs. You don't want to get stuck with black boxes? That should be in the policy. You support what you build, business supports what it builds. There will be fires, but they'll learn about good development practices just like IT figured it out slowly over the past few decades. Hell, they're still trying to figure out of. I've seen our IT architecture drawings and documenting. You guys aren't as good as you like to make others think.

Python to the people!

3

u/ka-splam Sep 16 '20

You have a ticketing system? Just use email instead?

Ticketing systems add overhead and bureaucracy which makes individual people's lives worse, and they do it so the team can hand tasks around between people in an organised way and management can get reports from it. That's like blocking individual Python installs and mandating Excel because while it's individually worse, it's collectively better because many people can use it. Many people would love to use email instead, no forms to fill in, no time to keep, no attachments to add, no categories and priorities and metadata to deal with, but they're forbidden from doing so.

You're arguing against yourself here.

You have health monitoring software and dashboards and notifications?

People generally don't build that in-house, they buy ones from companies with support contracts, standard ones with documentation and training materials that behave in well known ways that every employee knows how to use and configure. Your Python equivalent would be getting rid of standard monitoring software and every employee building their own - it would be a bad approach. Arguing against yourself again.

But no, you can't imagine doing your job without the tools that increase your productivity and make your life easier.

Working on remote servers almost always means you get to use what comes by default and nothing else, because you'll never get the approval to install some custom tool for one task. Get used to the GNU utilities, busybox, PowerShell 5 and Vi. Doing your job without tools that increase your productivity is a large part of many server managementy jobs, and IT people can imagine doing that.

You got something to save the ip address or server names of the servers you maintain? Why don't you just start using excel instead?

If you don't think companies use Excel for documentation, for IP addresses and server names, you need to rethink. They absolutely do, and again for the same reason - it may be rubbish but everyone knows it, and it's available everywhere.

There will be fires

The fires are predictable and avoidable, and to the company, cheap to avoid. Companies like to avoid fires more than they like to encourage employees to play with matches.

they'll learn about good development practices just like IT figured it out slowly over the past few decades

Did people learn that about Excel macros? About exploitable Wordpress sites? Can't they learn that first and show that they've learned it instead of expecting IT to approve of them learning it on the company time with IT on the hook for it?

There will be fires, but they'll learn about good development practices just like IT figured it out slowly over the past few decades. Hell, they're still trying to figure out of. I've seen our IT architecture drawings and documenting.

Wait, you're half arguing that ordinary people will learn Git and the proof is that IT figured it out, then saying IT are too incompetent to draw pictures? That again doesn't support your position at all.

Stop acting like it's a fucking fringe request.

Anecdotal, but I just searched our ticketing system, and found a single request for Python that wasn't relating to regular patching Linux servers, and that request was not any kind of analyst or developer and only to run an existing Python program.

You guys aren't as good as you like to make others think.

... then they definitely shouldn't be pushing a new wave of innovation which could get the company tangled up if it goes wrong. People who aren't very good should stick to doing the basics as well as they can.

I generally agree that people should have access to powerful tools, and especially data analysts should have access to Python. Your arguments still aren't very strong.

→ More replies (0)

1

u/[deleted] Sep 16 '20

As an employer, for me it's always a turn off to hear "it's not my job to...". While technically true, a little communication and big picture thinking (skills I see IT people often seriously lack) can go a long way in helping your company and your own career along with it.

In my company there's this senior manager everybody loves who started as a support analyst, solving simple end-user problems and menial things like that. One day he had a call with a customer and hearing them describe their situation, he noticed one of our new solution could be perfect for them. He proceeded to talk about it to them and got them interested enough to schedule another call just to discuss this new product more in detail. This resulted in a six figure contract.

It was not his job to sell stuff. He had enough on his hands that it would have been perfectly fine to just provide the customer with the immediate fix they needed. But he was interested enough in the company's activities to realize there was a great opportunity there and went out of his way to talk to the customer and to our sales and development teams, who incidentally were having a hard time getting traction for that new product.

Of course it is not the same situation, but my example hopefully illustrates how a more open-minded approach to your job can potentially benefit everyone. Of course this doesn't mean you will start doing other people's tasks, but trying to understand a request instead of just saying no like a mindless bureaucrat is a much smarter approach if you care at all about the success of your company as a whole. Think that, while it is true that it's up the requester's responsibility to build a solid business case for his automation idea, it's also probably not his job to come up with such things, so more often than not having your ideas hit a cold wall like this will just dissuade them from trying to innovate.

7

u/cacunas Sep 15 '20

I think you're missing the point. Imagine you work in a really big company, with thousands of analysts, and you're in charge of IT infrastructure & management. Also, imagine that you have the constraints of the bank industry enforced to you (and keeping compliant is pretty much 95% of your job). You'll have maybe a 100 junior analysts using your infrastructure. Now imagine just 1 in 5 of them comes to you, thinking that they have the definitive new piece of software that's going to benefit the whole company. Someone comes saying Julia is the next big thing, some others want to implement a solution using golang, or I'm, or whatever. It's just unfeasible. I think that's the point.

I think there are no many things in work that annoys me more than bureaucracy, but I can totally empathize with the comment.

1

u/pAul2437 Sep 15 '20

This is a great Answer

16

u/MrHusbandAbides Sep 15 '20

Sounds like something you should pass by your manager, you can improve productivity and reduce cost if IT would allow you to install Python, let your manager push it.

10

u/NDaveT Sep 15 '20 edited Sep 15 '20

I know this is a Python sub, but if you're on a Windows machine you could probably accomplish your automation with Powershell.

4

u/eloydrummerboy Sep 16 '20

This isn't a bad suggestion. Powershell these days can do just about anything C# can. Probably not the best thing to use for data analysis, but automation type jobs, absolutely.

6

u/critter_bus Sep 15 '20

I would build something similar (not using company files) and show it to someone higher up in your department (Sales) to show them what they're missing out on (build an Ally). Talk about how much you might be able to save the company (rough amounts are fine).

Then, consider having a conversation with someone higher up in IT (maybe much higher up) and discuss some of the things you want to do in Python. Mention that you used it in your last company, but that you understand the need for caution (also mention that other huge companys like Capital One, etc. use this).

If you have a chance to let the initial denier "save face", then let them. No reason to build an unnecessary enemy. Perhaps even mention that you appreciate the person trying to keep the company safe.

If you get the conversation started and continue to build allies (talk to others at your company who might benefit) I think you'll get there eventually. The first no is a good time to build a stronger case, then come back later.

3

u/thatwombat Sep 15 '20

Do you know if the Windows scripting host still works? I also hate to suggest this, but JavaScript in the browser or VBScript in Excel might also work...

8

u/[deleted] Sep 15 '20 edited Sep 15 '20

Tell them you want to automate stuff and they can audit your code to make sure it's security compliant. To be fair I would refuse too if some guy wanted to execute 3rd party scripts without context.

DO NOT try to hack your way into the system of your own company unless you are tasked to do so.

Edit: If they keep saying "it's insecure" get your boss's boss and tell him the company is leaving money on the table because IT doesn't even want to audit

2

u/LiquidAurum Sep 15 '20

try talking to your manager, he might be able to get some exclusion for you

3

u/Moikle Sep 15 '20

IT might not care enough to flag it up to whoever enforces this shit.

Get to know your IT guys

3

u/Conrad_noble Noble1988 Sep 15 '20

Always this.

Everywhere I go build that rapport.

0

u/timbledum Sep 15 '20

If it’s more data analysis stuff, you could use one of the online Jupyter Notebooks like Google Collab.

8

u/Zeroflops Sep 15 '20

Bad idea if they are so security concerned then they won’t like you taking data outside the company. ESP if it’s financial information.

0

u/[deleted] Sep 15 '20

[deleted]

9

u/exhuma exhuma Sep 15 '20

I'm surprised how many upvotes that got in such a short time. No wonder there are so many leaks.

1

u/ka-splam Sep 16 '20

I agree, but companies have moved to cloud services much faster than they moved to install Python on all workstations.

-3

u/timbledum Sep 15 '20

Fair call, you’ll have to look at your policies.

We’ve already gone full Google Drive, so for us that cat’s already out of the bag.

5

u/ghostfacekhilla Sep 15 '20

Google drive was set up and vetted by IT. Using random python websites isn't.

4

u/timbledum Sep 15 '20

Sorry, to clarify, my point was in my case IT has endorsed GSuite, which includes Google Colab, so it's not a random python website for me.

2

u/Combinatorilliance Sep 15 '20

Not that I disagree with you in principle, but like... Google Collab sounds a little less random than stuff like ideone

-1

u/Decency Sep 15 '20

It's probably just a single blowhard who thinks IT's job is to say no instead of to solve problems.

Repl.it or just go over their heads for permission.

468

u/dukea42 Sep 15 '20

I'd just raise the request with your boss that its a key tool, like excel and access (and likely part of the reason you were hired). Ask him to escalate with IT leadership you need a support path to using the tools required for doing your job. They can install your python and chosen IDE, provide a VM, etc.

Python provides no more or less security than excel vba macros.

104

u/jeet1993 Sep 15 '20

If you’re a data analyst ask you IT dept to provision an Rstudio Server/Jupyter environment. We realized a lot of our analysts were requesting tools like R and python and since both of Jupyter/Rstudio are web utilities, our VDI infra remains unchanged. Apart for an occasional systemwide package install the users never bother us.

21

u/Eightstream Sep 15 '20 edited Sep 15 '20

Python provides no more or less security than excel vba macros

I mean, that’s true - but most IT departments also hate VBA and would block users from downloading that as well if they could.

2

u/dukea42 Sep 15 '20

No argument here :) There appears options to restrict it. But I've never seen it...perhaps its an extra fee...

2

u/peckhamspring Sep 16 '20

At my old job (higher education) we blocked VBA with a group policy.

2

u/cd_root Sep 16 '20

You can hide malware in the python libraries, and plenty of other issues. Can’t be afraid of everything tho

3

u/Cheeze_It Sep 15 '20

I'd just raise the request with your boss that its a key tool, like excel and access (and likely part of the reason you were hired). Ask him to escalate with IT leadership you need a support path to using the tools required for doing your job. They can install your python and chosen IDE, provide a VM, etc.

Hah, I see you work in a place with reasonable management...

I too was denied it as well. I had to spin up my own VM to get any semblance of productivity going. A VM no one knew I spun up either.

-42

u/bitcycle Sep 15 '20

Exactly. Also, what employer distributes computers to individual contributors without administrative rights? Seems unnecessarily restrictive.

62

u/wolfmansideburns Self-taught Pythonista Sep 15 '20

All. All of them.

46

u/nasil2nd Sep 15 '20

Every distribution / manufacturing company?

30

u/mahtats Sep 15 '20

Every company working on the defense network

21

u/a_cute_epic_axis Sep 15 '20

Most employers

37

u/einsteinxx Sep 15 '20

Every aerospace company.

36

u/rich8n Sep 15 '20

Every energy company.

15

u/ThrowawayGF221 Sep 15 '20

Every law firm.

0

u/[deleted] Sep 15 '20

[deleted]

4

u/PediatricTactic Sep 16 '20

Every hospital

15

u/[deleted] Sep 15 '20

Which ones don't???

15

u/skellious Sep 15 '20

Companies cannot afford to trust users with Admin rights. its just far too easy for them to, intentionally or otherwise, completely wreck the IT system.

14

u/MohKohn Sep 15 '20

you forget that people are idiots, especially about security

13

u/toaster-riot Sep 15 '20

But bro these emojis are totally free to install!

6

u/ishouldbeworking3232 Sep 15 '20

How else am I supposed to express myself without the dancing banana cursor?!

0

u/[deleted] Sep 15 '20

[deleted]

8

u/ishouldbeworking3232 Sep 15 '20

I was ecstatic when my request for admin rights went unchallenged and was immediately provided (whew for 3rd party IT)... I don't know of any company that is readily willing to provide admin rights, let alone providing them by default.

0

u/[deleted] Sep 15 '20

[deleted]

18

u/dukea42 Sep 15 '20

Ah, I have had the luxury of never thinking in terms of federal requirements.

My alternative experience has taught me, that IT attitude is sometimes "you're a business analysis, stay in microsoft; we don't want the headaches". You just got to convince them you can follow at least a pseudo Dev-OPS structure.

My dev code in the dev repository, prod code in the prod repository. Any production running code in the docker swarm only thru proper CRs. Don't complain about laptop performance when i should be using the VM. Etc etc.

3

u/Kitten-sama Sep 15 '20

You just got to convince them you can follow at least a pseudo Dev-OPS structure.

That's great, and when you get an opportunity for a new position you can't move because you're the only one that can support it. Or will have to fix it in your new position when (WHEN) it breaks. Or HR will have to add a new responsibility for your job requirements -- that'll go over great.

I've worked in the "IT control group" for over a decade as well. I tried hard to make sure "reasonable" requests were handled, but also made sure we got support people and phone numbers for breakage, never mind documentation or the wonderful "well it works fine on MY box." Those mostly got nuked or moved to a server in the data center.

If your manager signs off on on running this while knowing you're the only one who knows what's going on, great. We'll try to support it best effort, but guess what -- we're busy too.

5

u/dukea42 Sep 15 '20

Well, I think what was done in my case is really to alleviate those concerns.

Code is in a known git repository with commit comments and other documentation. Applications are in a controlled environment with a history of CRs, all approved by a series of reviewers. I was pushed towards learning python because the CIO wanted to standardize all non-performance scripts to the easier and common language. It does work on my box, so I "shipped my box" with docker.

I've seen the alternative of business processes being excel and access based sitting on random network drives, laptop drives (or dropbox!!!) that IT had no control or insight. Some of it costing buckets of money of last minute work as it blocked a merger.

Being a non-developer, learning these developer's practices has actually left me feeling more secure about leaving my role to another than I have ever done previously.

4

u/Kitten-sama Sep 15 '20

Being a non-developer, learning these developer's practices has actually left me feeling more secure about leaving my role to another than I have ever done previously.

THAT"s the trick that cowboy programmers do -- I'll get it working, it'll be great and work forever, never need maintenance and the box itself will always stay up. It's great for the next quarter, but they end up moving on yet that new software functionality hangs around, and suddenly it's a critical event for IT when it fails.

I've had to pick up the pieces of a crisis "WTF are you KIDDING me?" before. Where's the doc? Where's it run? What's it need? Why do you even think it's broken? What do you MEAN you don't know!??! No fun. And my old, old boss used to produce involved magic Excel macros. (Macros? The whole thing was a damn magical incantation.) They worked great!! Until they weren't and he was on vacation, or later on just gone. "That's not a problem -- just ask Bob, he can fix EVERYTH....oh."

Glad to hear that you've got documentation and have the managers on board. I've done it, WE'VE done it; it's not bad having home-grown programs around doing what you want, but you've got to have docs, overviews, sample data runs, backups, all that. It's a business function and you must TREAT it as such. (Our boss always had the mindset: "what to do when the entire group is out to lunch and is hit by a train" -- and there's no one around to pick up the pieces.)

A funny: one time our manager was going to give us a slight bonus for being on call every 4rd week. Which really was really nice of him, but I popped back "I'll gladly forfeit the bonus if I don't have to be on call." Unsurprisingly enough, everyone else in the group agreed. We all stayed on call and took it, but I think our grumbling surprised him a bit. (Because it WAS an occasional pain.)

Good luck with everything!!

11

u/[deleted] Sep 15 '20

Man, I wish I could just stop other people from doing their job because it causes a headache for me. What a privilege!

3

u/ka-splam Sep 16 '20

What an uncharitable reading of that comment; people have to take the wider interests of the business into account including when the original person is no longer around to support their creations.

Nowhere does Kitten-sama say their reasoning is personal headache, and they explicitly say they tried hard to make it work.

1

u/[deleted] Sep 16 '20

people have to take the wider interests of the business into account including when the original person is no longer around to support their creations.

Don't people have to take the wider interests of the business into account when developing policies that will stop people from being able to do their jobs, or is IT immune from this "interests of the business" calculation?

2

u/ka-splam Sep 16 '20

That IT have to do so was my point. If IT was immune to it, they would agree to every request without care about the consequences.

1

u/[deleted] Sep 16 '20

If IT was immune to it, they would agree to every request without care about the consequences.

Because IT is immune to it, you get the result described upthread - IT simply denies any and all requests they're not trivially able to support. IT is never accountable for creating a work stoppage for anyone else.

2

u/ka-splam Sep 16 '20

IT simply denies any and all requests they're not trivially able to support.

Well duh, if you want IT to approve requests with non-trivial support, IT will need non-trivial additional resources to do that. Anywhere IT is seen as a cost center, that's not going to happen. Anywhere IT is already constrained on resources, that's not going to happen.

IT is never accountable for creating a work stoppage for anyone else.

IT takes a server or network device down midday, IT is accountable for creating a work stoppage - that's why IT people so often have to work longer, and unsociable hours to do their work at a time that doesn't create work stoppage for other people.

Because IT is always on the hook for everyone else's work stoppage when IT breaks, you get the result upthread.

You setup an Amazon AWS account with your expenses credit card, change department, and it stops being paid for and the service stops and someone can't work? IT, fix it.

You go on holiday and nobody knows how you run the end of month reports from your desktop computer? IT, fix it.

You install some random program in your documents folder and a report flags it up as a breach of some contract or regulation, IT how could you let this happen.

You sync your iPad to your work laptop and are now uploading 128Gb of personal videos to iCloud and "the internet is slow" and nobody else can work? IT's problem.

You run a script you found online and it deletes all your documents and you can't work? IT's problem to recover them.

Your ancient Excel macros that worked in 2007 don't work in Excel 2019? IT's problem to fix.

You don't approve enough money to buy a failover/redunant setup, and it breaks and nobody can use it? IT, fix it urgently.

0

u/[deleted] Sep 15 '20

[deleted]

2

u/dukea42 Sep 16 '20

Yes, yes you can. Maybe with just the tiniest little alert that macros are unsafe that you see and click away every day. Stupid annoying microsoft. But you didnt realize disgruntled coworkers last day was yesterday and they updated the VBA behind your excel macro on the shared drive you run every day...

128

u/Sigg3net Sep 15 '20

This is a security policy issue. If you need python to do your job, or do it more efficiently, then you will need to go through proper channels and have an exception made.

Do not try to circumvent the policies, that is rarely looked favorably upon.

47

u/wtfismyjob Sep 15 '20

This, help IT help you. Make a better case for it, don’t hack around IT controls.

12

u/Newdles Sep 16 '20

To add to this, the access you had at your last job is entirely irrelevant. You are at a different company, with different policy and different regulatory and audit requirements. IT isn't shitting on you for the sake of making your life hard. But if they aren't passing audits, nobody has a job. Help them help you. Write up why you need it and how it will benefit the company, not just you. Offer alternatives, perhaps they can provide a secured VM, a PCoIP environment, perhaps let them set it up for you...we aren't grim reapers because we want to be, sometimes we have to be the enforcers of policy for the sake of the business.

14

u/fuzzylumpkinsbc Sep 15 '20

I'd say make a good name for yourself there and then tell your manager you need it installed, depending on the situation they can make it happen

11

u/ghosttnappa Sep 15 '20

Escalate this and include a business justification. There's always exceptions to these policies; they likely just don't understand why you need it.

10

u/VU22 Sep 15 '20

Cant believe how many people actually telling you to use your scripts on online IDEs. Do these people actually programming? It is pretty easy way to get fired.

4

u/AnomalyNexus Sep 15 '20

Yup. PIP is a security nightmare - basically pulling unvetted code and executing it on the computer with company info. Most competent security shops aren't keen on that

4

u/ohokaysoundsgood Sep 15 '20

I am someone that works in the healthcare industry as the security person responsible for software approvals. We have a procedure for downloading any software, Python is definitely on that list and there are usually no issues that are brought up aside from users that struggle to download libraries using pip. We have a registry that our organization uses for installing packages from not only pypi but also stuff like npm, docker, etc. and if it hasn’t been downloaded before, it references a database of vulnerabilities. If anything is caught, then the user gets an error, otherwise they’re good to go.

I will tell you that circumventing security measures will decrease the likelihood of any compromise being made. Especially when confidential data is at risk. The best method you can take is escalate with whoever they report to, that’ll definitely have them take a closer look at it ;)

15

u/ka-splam Sep 15 '20

Not to be too much of an off-topic shill, but if you just want to program stuff to help your job, you probably have Windows PowerShell installed because it ships with Windows (look for PowerShell ISE in the start menu).

It's not Python in elegance, and it won't do for the numpy and tensorflow side of things if you're doing heavy numeric analysis, but it's approximately the same language positioning - high level scripting, casual with types, good for automation of websites and APIs and Excel and text processing with regexes, decent with CSV and JSON. That's the original reason I moved from Python to PowerShell - it's less nice, but it's always available.

6

u/NewtonvsLeibniz Sep 15 '20

What's funny is I started heavy into Powershell due to my job, but over time I've had more and more Linux boxes thrown my way, so I have been learning Python for the same reasons you learned Powershell - because it can always be available. Yeah, I know Powershell Core v6 sorta works on Linux, but it's easier for me to just deal in Python if it's something I need to do cross-system. That said, if I have to do heavy Windows sysadmin or anything using WMI or requiring a .NET class, I'll stick with Powershell.

2

u/[deleted] Sep 16 '20

With powershell 7 there is no more “powershell core” or “windows powereshell”. It’s just powershell now, fully cross platform.

1

u/NewtonvsLeibniz Sep 16 '20

Cool - I haven't kept up with the most recent releases because most of my use of it is in an enterprise environment, and like most such environments, the infrastructure guys are...conservative on their upgrade schedule. I think most of my stuff is still running on v2. So it goes, I guess. I'll have to look into the newer version though for some of my home tinkering when I'm not trying to do things in Python or (eventually) Elixir.

1

u/[deleted] Sep 16 '20

Yeah I don’t doubt it about being slow to upgrade. Server 2019 still only have PS5.1 by default.... what sucks is if you’re using a multiOS environment openSSH is includes in windows build 1809 and above but the full power of it doesn’t really get unlocked because the powershell cmdlets that support a lot of functionality aren’t included until at least PS6. But if you can get a way with it they have a portable version of PS7 you can just run via disk depending on your companies security controls of course. If you wanna check it the official repo is on GitHub.

1

u/NewtonvsLeibniz Sep 16 '20

I'll probably have to check it out local at home for now. I have a lot of leeway for >certain< things on our servers. For whatever reason, .NET version installs tend to be one of the things they have locked down somewhat, which restricts my Powershell version upgrades on our older servers at least. I will check out PS7 though local for sure, if only to tinker. Thanks for the info!

3

u/AceBuddy Sep 15 '20

Wild guess is he wants to use pandas to automate excel tasks. Having to do such a thing without pandas would make me.. a sad panda.

1

u/PediatricTactic Sep 16 '20

Yep. Pandas is the man when you have to clean and combine Excel files. Load up the data frames, manipulate, dump back into Excel. We just did this for a guy who was spending 10 hrs/week manually splicing ten spreadsheets together to build his report. Now it takes 3 minutes.

2

u/wtfismyjob Sep 15 '20

They may not though, or may have the execution of powers he’ll scripts disabled.

2

u/DYGAZ SDET Sep 15 '20

Yep execution policy is likely set to disabled since this system sounds pretty locked down. If they're not allowing python it'd be a pretty massive oversight to have powershell set to unrestricted

2

u/ka-splam Sep 16 '20

Executionpolicy is not a security feature, you can simply powershell -executionpolicy bypass, or open powershell as a shell and copy-paste the script content from notepad.

1

u/ka-splam Sep 15 '20

AFAIK you can't remove it. Blocking it maybe - worth a try, it'll only take them a minute to find out.

1

u/Schedonnardus Oct 07 '20

So, here is something interesting that i just discovered that you may want to check out.

Python 3.x is available on the windows store. My office locks down people's machines, so you usually need admin rights to install anything. But just for kicks, I tried to install Python 3.8 via the windows store, and it worked.

Now, i realize that their are different tiers in windows enterprise settings for what a person can and cannot do, so I don't know if this is a loophole, or if there is a setting that my office has enabled to trust content from the windows store, but you definitely might want to try this! You would be stuck using IDLE, instead of a fancy IDE, but it would be better than nothing!

2

u/RedEagle21 Oct 07 '20

Windows store is locked as well. But thanks for the advice!

1

u/Schedonnardus Oct 07 '20

Bummer, good luck with dealing with IT!

6

u/Zeroflops Sep 15 '20

As many have mentioned talk to your manager. Yes the IT have some security concerns but in reality it’s probably more they don’t want everyone installing Python and then having to support it.

So blanket refusal with security as a reason is an easy way for them to keep things generic and easy for them to maintain.

Get alignment that you can install as a single user. They they don’t have to worry about security and any programs you write will only have the same permissions as you have.

6

u/anpago Sep 15 '20

Create a demonstration on a private laptop with fake data but similar enough for your manager and anyone else to see what's going on.

If easier compile a very short video so it can be forwarded on, shown in meetings your not at.

Explain in bullet points, what's needed and what can be achieved. Give them some basic idea of how much time it takes using your system compared to the old way.

Basically sell your need so you can bulid a business case with your manager and possibly their manager. Demonstrate how it helps the company.

Your employers IT department, is doing their jobs as gatekeepers to the companies network.

Seriously if your working for any size company who simply let's someone download python and start processing company data with no need for permission or a business case. Then leave that company as it's likely to have a costly I.T issue and all your jobs could be in peril.

3

u/plaintxt Sep 15 '20

I used to keep my portable copy of python & libs in my download folder so I could side-step admin access.

3

u/pjarnhus Sep 15 '20

Anaconda can be installed under a local user without admin rights

5

u/edgecate Sep 15 '20

I hope you get it installed!

There was a large firm I worked with previously that supposedly took 8 months for a security assessment of whether Python could be installed on work laptops.

They were a bunch of old guys who didn't know what Python and libraries were so they just said "no" after their "assessment" lol.

8

u/bookit_sports Sep 15 '20

look for a new job.
interview question - "why did you leave your last job?"
you - "they wouldn't allow python to be installed so i could do data analysis"
interviewer - "you are hired"

2

u/[deleted] Sep 15 '20

I’m confused. We’re you using Python in your previous role for personal projects and now lack access? If it’s needed in your sales role for analytics, put a request in. I work in a heavily-locked down environment and have python 3.8 install and VS Code, mostly off the back of IT colleagues working with InfoSec presumably.

2

u/[deleted] Sep 15 '20

Unless you're prepared for the consequences that come with side stepping the IT decision, you should just abide by the decision. Even then, I wouldn't do it. If it were me, I'd find a few processes and demonstrate how they and the company would benefit from Python. What are your coworkers using?

2

u/Laced-With-Happy Sep 15 '20

Had the same issue. It’s a simple matter of letting your boss know. He should know the right work around with IT or at least talk to someone who can give you access.

2

u/[deleted] Sep 15 '20

Talk to your boss. I'm guessing you requested non-standard software and didn't provide a good reason why. Tell your boss that you want to download python to use as a tool to do your job better. It seems like you clicked a few links and gave up without actually talking to anyone.

2

u/eodchop Sep 15 '20

Run it in a VM.

4

u/[deleted] Sep 15 '20

You need to take this up higher and if they won't budge I would quit

6

u/[deleted] Sep 15 '20

If you’re using Python in a Jupyter notebooks way, then checkout google’s colabs. You can write a doc (similar to jupyter notebooks) and run your code on one of their instances in the cloud or locally. Plus it makes it really easy to store all of your notebooks in one place. https://colab.research.google.com/

16

u/wtfismyjob Sep 15 '20

If IT is pulling the “security” card for installing Python, they sure as hell won’t be happy when they learn OP uploaded company data assets to GCP without approval and due diligence. Don’t hack a solution around IT, just make a better case.

1

u/Oldzoomie Sep 15 '20

Maybe you'll be able to get jupyter or anaconda? Yeah, in controlled environments it's quite likely you won't have authority to install stuff on your own.

1

u/Gopher20 Sep 15 '20

Install anaconda by continuum it doesn’t require admin rights either!

1

u/jzia93 Sep 15 '20

You've been given good advice here - you can run a colab notebook if you want to script things in drive, but don't be looking to install python if you've been explicitly told not to.

1

u/joelles26 Sep 15 '20

Thonny:-)

1

u/Conrad_noble Noble1988 Sep 15 '20

I'm in a similar situation. I work for the NHS. So obviously security is top priority.

I managed to get pycharm onto a desktop but it won't install any modules from pypi.

So if anyone out there who has experience of a similar situation can chime in please let me know.

3

u/[deleted] Sep 15 '20

NHS

What do the logs say and does anyone else at your organization know that you're doing this?

2

u/Conrad_noble Noble1988 Sep 15 '20

IT allowed me to install pycharm but they're really not interested in allowing pycharm to bypass the proxy to download from pypi.

I believe they'd have to manually allow it each time I wanted to download/update a module

I've tried through command prompt also so it's not a pycharm issue it's a proxy/policy one.

3

u/Rainas Sep 15 '20 edited Sep 15 '20

Had a similar issue when working in a bank.

I done a bit of digging into internal docs and found that they had their own internal repository of approved packages and you had to install from there. There were instructions on how to set up an .ini file to redirect PIP to install from that location instead.

Might be worth asking around to see if the NHS has something similar.

2

u/[deleted] Sep 15 '20

You could ask them to set it once for you. Usually if I need to go through a proxy I'll just set an environment variable. However, as another poster has stated, your organization may have an internal repo that has the packages you want.

1

u/[deleted] Sep 15 '20

Would they be willing to set up a hosted Jupyter Notebook instance for you?

1

u/Dexteroid Sep 15 '20

in my company they have certified versions of python which you can download from Software Center ( in windows). You can't download from web.

1

u/Matthias1590 Sep 15 '20

This post makes me wonder, whats the worst thing you could do to a pc with python?

1

u/ka-splam Sep 16 '20

Anything your normal user account has permission to do, but much faster. In a mildly amusing twist that usually means the computer will protect itself from harm like uninstalling a driver or removing the OS, but you have access to trash/encrypt/scramble all your documents and all company shared documents you can write to, and send masses of junk email, and hammer the network connections and be used as a spam or ddos host by a third party.

1

u/rsandstrom Sep 15 '20

You can install anaconda without admin rights.

1

u/DeathWrangler Sep 15 '20

I just wanted to pop in and mention that there are several portable database management programs that will function just fine.

Unless your company I.T. bans flash drives.

1

u/PediatricTactic Sep 16 '20

All forms of portable storage are banned from military systems.

1

u/SluggishWorm Sep 15 '20

Im not even in a job where any sort of programming is in my role, and my it department didn't bat an eyelid when I asked to install python and a development environment. Id escalate up the chain. They can still have their system secure and have python.

1

u/rockysnow7 Sep 15 '20

Idk if it is powerful enough or secure enough, but repl.it is a free in-browser Python (and many other languages) IDE which I've used before.

1

u/[deleted] Sep 15 '20

Use virtual server.

1

u/familyofgorillas Sep 15 '20

Google Colab?

1

u/wodahs1 Sep 15 '20

If all else fails, you can write and run python online on many sites for free!

1

u/werpong Sep 15 '20

You can use the "Pyroid 3" app on your phone? Thats what I use at work, for the same reason.

1

u/MiniKarma Sep 15 '20

Check if there’s an IDE in your “software catalog”. Or in the Microsoft Store. Those aren’t blocked for me and that’s how I got it installed without admin rights.

1

u/dstowizzle Sep 15 '20

Try to ask for autohotkey maybe?

1

u/CyberMattSecure Sep 15 '20

a possible solution: Visual studio code + remote containers extension + docker container python dev stack (can be launched from VSCODE)

Python is a legitimate security concern as it is an extremely versatile tool. However it is still a tool with a lot of functional use in data analytics

1

u/ohallright7 Sep 15 '20

You are a data analyst, here's a couple big ones I've enjoyed python for:

  • Formatting files and datasets fast & easy w/ import and export (pandas)

  • automating tasks on my PC, navigating websites moving files etc (pyautogui)

  • connecting to databases (pyodbc) w/ pandas above is great

  • unzip files faster than unzipping tool (pyzipfile) coop with above to load the data/file somewhere

I've just gotten python for my work machine a little over a month ago, is difficult to explain how versatile of a tool it is until you see how everything can be a python script. Also highly recommend jupyter lab as your ide.

1

u/petitMoussaillon Sep 15 '20

You could use python on rep.lit maybe?! It's a way to Write python code on your browser without having to instal python on your computer

1

u/carnage9191 Sep 15 '20

You should request a dev server to do development. This will solve security’s concerns since it won’t be a rouge application no one is patching on desktops

1

u/Schedonnardus Sep 16 '20

Ask for an ARCGIS license, python is part of the install package, it even comes with its own very simple IDE.

ArcMap uses python 2.7 ArcGIS Pro uses v 3.something

It's expensive, but they might bite.

1

u/charity_donut_sales Sep 16 '20

Request Windows Subsystem for Linux. It'll have Python installed.

1

u/Labrecquev Sep 16 '20

Similar situation at my new job with supplied laptop. I haven't asked then yet, but I wonder if they install Anaconda, will I need admin rights to pip install packages? What would be a solid argument to support the claim that it won't be more dangerous for the system than say Excel with macros?

1

u/port53 relative noob Sep 16 '20

Perhaps you were denied installing it on your own personal system because there are systems where it is installed and where you can run it from, and you just need to request an account there.

That's how it works at my $DAYJOB, you can't install stuff on your laptop, but there are servers, VM, virtual desktops (VDI), etc. that you can get access to, some of which even give you root.

But not allowing end users to have admin rights on their desktop/laptops is just good security policy in 2020.

1

u/Squevis Sep 16 '20

There is a good reason for this. The file system stuff you can do with python alone is enough to have any IT guy suffering from apoplexy. Now imagine if someone nefarious got into your account and had access to python. It curdles the blood.

I write python programs all the time to model physical systems for work. They have a machine set aside for me that I have to remote into that has no access to the rest of the network file shares or the internet. I can cut and paste from my desktop to the remote desktop, run my scripts, and move everything back over to post process.

If I need to update anything, they turn the internet on, I update, the seal it back up.

It is a pain but it is not really that rare for development machines to be kept off the main network.

1

u/ka-splam Sep 16 '20

The file system stuff you can do with python alone is enough to have any IT guy suffering from apoplexy. Now imagine if someone nefarious got into your account and had access to python. It curdles the blood.

It shouldn't; there's nothing you can't already do with Excel+VBA, VBScript, JScript, PowerShell, or C# (the csc.exe command line compiler ships with .Net).

1

u/r00t_4orce Sep 16 '20

Anaconda is your friend for this:

https://docs.anaconda.com/anaconda/install/windows/

It doesn't need admin to install it just runs from your local non-admin profile. Added bonuses are; many popular packages are already bundled with it, it stays updated/current, and adds the handy conda package manager too.

1

u/longgamma Sep 16 '20

MAny large companies have a FOSS exception if there isnt any internal software that can replicate the functionality. You need to raise it with your manager and make sure he escaltes this. In this day and age, its unlikely that someone wont allow Python to be installed for work.

1

u/philmacok Sep 16 '20

Google Colaboratory

1

u/dogs_like_me Sep 16 '20

Ask them for access to a linux VM. Python will almost certainly already be installed.

1

u/C2-H5-OH Sep 16 '20

If you have access to the Store app on Win10, you can install python from there

1

u/motoevgen Sep 16 '20

Are you supposed to use python in your work ? Or it is just a tool you like ? Can they make you an isolated environment to run python ? Can your company afford a cloud computing? Are you running Linux, Windows or OSX ? Is there a possibility to run python code on a company server and just an IDE client on your machine ? Was it a straight “No” or with reasoning ?

1

u/RealityEditor42 Sep 16 '20

If you are running on windows, and hypervisor is installed then you might be able to run python though a VM (I usually use Ubuntu on top of windows). There is however a risk that you will still not be able to download the packages you need, if there is a strict network policy on your computer, combined with a dns blacklist on the network.

1

u/amrock__ Sep 16 '20

I think Google colab there might be alternatives. You can use python portable without installing it

1

u/mm11wils Sep 16 '20

Ah, I remember my first job, where it took 2 months for python to be approved.

1

u/[deleted] Sep 16 '20

You could ssh to a server of yours and use Python on that machine. Provided you have SSH installed on your work machine.

1

u/SGS-Tech-World Sep 16 '20 edited Sep 16 '20

You can install the Mu editor, it gives you a descent python editor with python built in.

1

u/Faith-in-Strangers Sep 16 '20

Python is pre-installed on Mac and Linux.

Tell them that if it is, how is it going to be a security problem

1

u/piggychuu Sep 16 '20

Sounds like you got bombarded with responses, but I guess Google colab or something like that could be an immediate remedy till then.

1

u/alind755 Sep 16 '20

Use colab with flask

1

u/RCrumbDeviant Sep 16 '20

So, there’s a prevailing assumption in all the replies I’ve read that you’re asking “how can I get around IT to do this thing”.

I’m going to answer the question I thought you were asking which was “how can I keep my python skills sharp when I’m not actively using them at work, when I’m used to working with large datasets that I won’t have at home”.

Honestly, my biggest suggestion would be to try to teach/tutor or offer to review projects students are working on. If you’re skilled enough to be doing this as a living, you’re skilled enough in reviewing your own work to be able to look at how someone else is doing it. As a student, I’d often work with either out of date or completely fabricated data sets, and was absolutely overwhelmed by them a few times. I got over it, but having someone to bounce ideas and my attempts off of would have been awesome.

Another thing you could do is try to “alt-solve” something. I do this for excel/VBA on reddit, where I’ll look at just the question being asked, solve for it, then come back and review the answers other people have. If I’m in the majority, I’ll look for another valid solution and try to figure out why that makes sense vs my own solution. Sometimes it’s because I come at it from a “this is math, so use math” instead of “I know all the built in functions”, other times it’s just what I’m comfortable vs uncomfortable with.

Best of luck!

1

u/TheRealRobotAnna Sep 16 '20

I installed Anaconda without local admin rights

1

u/[deleted] Sep 16 '20

There’s this thing called WinPy, which is basically a completely portable distribution you can put on a USB stick

1

u/xelf Elf Sep 15 '20 edited Sep 16 '20

Ask for Visual Studio instead. =) Unlikely a company policy against that.

Other than personal projects, any other creative ways to continue using python?

If your company allows it just use a computer of your own. Have a decent smartphone? Run python on that and just plug in a kb/monitor to it. A usb-c hub will run you about $20-$30.

18

u/wtfismyjob Sep 15 '20

Good luck not getting fired for loading company data assets to an unapproved personal device.

1

u/stuaxo Sep 15 '20

There's stuff like pythonanywhere, though parts may be blocked. Similarly there are various sites where you can use jupyter notebooks.

Obviously YMMV, uploading any data from the company may well be a nono.

-1

u/dcpye Sep 15 '20

Check Portable Python or Python Anywhere.

I don't think Portable Python is supported anymore (but you can get it anyway in other places i think) but it has the 3.7.7 version and it works fine. You can pip install any module through a console.

My only issue is that i've converted a .py to .exe and the security/anti-virus automatically removes the .exe file.

0

u/y0urnamehere Sep 15 '20

Sign up for repl.it full python ide online. I get my students to use this if they don't have python. Im not 100% on whether you can add extra libraries though.

-1

u/b_ootay_ful Sep 15 '20

Can you move it online?

Create a Flask that can take in a file and process the information for you. pythonanywhere.com

Or if it's simple scripts, maybe look at repl.it

12

u/NewtonvsLeibniz Sep 15 '20

I'd say be careful with using anything hosted outside of the company firewall to process potentially confidential company data. If you can get a web service set up by IT using your code, great, but coming from a health care IT world, I would want written permission before sending anything with even the potential for confidentiality breach to an external web service for processing.

1

u/amasad Sep 16 '20

Just fyi: repl.it is more featureful than pythonanywhere, you can totally host flask apps too! https://repl.it/@amasad/flask-app#main.py

1

u/b_ootay_ful Sep 16 '20

You just blew my mind!

I'm probably going to move some of my smaller projects there

-2

u/steelersxl786 Sep 15 '20

Another work around for not having Admin rights is downloading PortableApps. This allows you to run programs from network storage, flash drive, etc on multiple PCs. From there you can download python IDEs, text editors, etc. You can also find other portable app programs and load it into the PortableApps launcher.

-7

u/[deleted] Sep 15 '20

USB Drive or bypass the proxy with a vpn.

17

u/OnlySeesLastSentence Sep 15 '20

This is how people get fired.

1

u/[deleted] Sep 16 '20

Why even ask, it's just a programing language.

1

u/OnlySeesLastSentence Sep 16 '20

Because if you allow python to run, then you can write a code to make anything else run, thereby defeating the purpose of not letting programs run.

11

u/[deleted] Sep 15 '20

This is an excellent way to get fired.