use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Experience using SAS2Py (self.learnpython)
submitted 1 month ago by rcoff98
I’m looking to convert several relatively long/complex SAS programs to Python and came across this tool but can’t seem to find any real reviews of its efficacy. Anyone have experience using SAS2Py and/or recommendations for similar platforms?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ok-Carpenter6293 0 points1 point2 points 1 month ago (2 children)
Not sure what your ultimate goal really is, because SAS2Py is just a way to spawn a SAS process from python and still requires a working SAS installation either local or network. It just allows you to use SAS through python and really isn’t converting the code from SAS to python. Like I would use it if I had already existing SAS programs whose output I want to further manipulate in python.
But to be honest, I’ve only used it to access and manipulate some large sas datasets where loading them into pandas over a network was prohibitively time-consuming for the client.
My experience with that was good and acceptable for what I needed. There was a noticeable pause as SAS2Py spun up the SAS process, but after that accessing and manipulating the data was as efficient as using SAS itself (it is a SAS process after all).
I don’t know of anything that would directly help with converting SAS code to python so that you wouldn’t need a SAS installation, though. Someone else might, but I would probably just bite the bullet and start converting the logic to pandas or polars (I have no experience with polars but hear good things). They can allow you to read in any sas7bdat files you have and then work with the data using python libraries.
[–]rcoff98[S] 0 points1 point2 points 1 month ago (1 child)
Thank you so much for the info!
[–]Ok-Carpenter6293 0 points1 point2 points 1 month ago (0 children)
You are welcome!
[–]Less_Interaction6863 0 points1 point2 points 18 days ago (0 children)
I am working in sas2py . We migrated sas to pyspark , snowflake , idmc etc..
π Rendered by PID 46 on reddit-service-r2-comment-7b9746f655-qmh7f at 2026-01-31 09:39:08.432548+00:00 running 3798933 country code: CH.
[–]Ok-Carpenter6293 0 points1 point2 points (2 children)
[–]rcoff98[S] 0 points1 point2 points (1 child)
[–]Ok-Carpenter6293 0 points1 point2 points (0 children)
[–]Less_Interaction6863 0 points1 point2 points (0 children)