BookmarkSubscribeRSS Feed
Romilson
Calcite | Level 5

Olá pessoal, eu sou novo usuário do sas e eu gostaria de saber como eu faço pra usar no google-colab.

!pip install saspy

# Crie o conteúdo do arquivo de configuração
config_content = """
SAS_config_names = ['default']
default = {'saspath': '/opt/sasinside/SASHome/SASFoundation/9.4',
'workpath': '/content/sascfg_personal.py',
'options': ["-fullstimer", "-noprint"] }
"""
# Grave o conteúdo em um arquivo
with open('sascfg_personal.py', 'w') as f:
f.write(config_content)

import saspy
sas = saspy.SASsession()
 
1 REPLY 1

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 626 views
  • 0 likes
  • 2 in conversation