473,978 Members | 28,103 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help needed: Transition from SAS to PYTHON

Hello. I am trying to teach myself PYTHON because I am interested in
programming. I use SAS all day and I really like the way you can
highlight code and submit just that section or submit the entire
program without having to save it. Can you do this in PYTHON? Also,
does PYTHON (Windows) log errors? It would be helpful when I am
writting a program and I submit the code and it says that their is an
error to know WHERE! Once again this is another feature of SAS. Have
I just gotten too used to SAS or are there others out there that would
also like to have this functionality??

Please help!

Alex

Jul 18 '05 #1
1 3816
"Alex Pavluck" <ap******@gmail .com> wrote in message news:<cg******* *@odak26.prod.g oogle.com>...
Hello. I am trying to teach myself PYTHON because I am interested in
programming. I use SAS all day and I really like the way you can
highlight code and submit just that section or submit the entire
program without having to save it. Can you do this in PYTHON? Also,
does PYTHON (Windows) log errors? It would be helpful when I am
writting a program and I submit the code and it says that their is an
error to know WHERE! Once again this is another feature of SAS. Have
I just gotten too used to SAS or are there others out there that would
also like to have this functionality??

Please help!

Alex


I'll do what I can to help...

Basically you have to learn a different paradigm of programming if you
are coming from SAS. SAS is designed specially designed for
statistical analysis (although, and I speak of devils here, I have
heard that it is used for data manipulation). Whereas Python is much
more command driven.

Now Python itself does not have this sort of highlight and submit
functionality, but neither does SAS, rather this was part of the
program you used to develop your SAS. Python however, is interpreted
and interactive, which means that you don't have to save a program
that you write; and, yes; the syntax checker and compiler will tell
you were the errors are. This will make more sense once you begin to
understand Python a bit better and have some experience with it.

I'd suggest picking up a beginning Python book that is easier for
people who are learning programming. Search the archives of this
newsgroup and I'm sure you can find sundry recommendation on books.
And download ActivePython
(http://www.activestate.com/Products/ActivePython/), which is a very
good beginning.
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1416
by: Python Baby | last post by:
I've got a database-driven website that's written entirely in PHP. It's all pretty MVC : NOT embedded little calls inside HTML, but rather little controller apps in the webroot that merge data with HTML templates on the fly. But for various reasons (mostly fun) I want to rewrite it in Python. There are so many different approaches, though! Zope, Twisted, mod_python, clearsilver, and all the goodies in standard library.
45
3140
by: Joh | last post by:
hello, i'm trying to understand how i could build following consecutive sets from a root one using generator : l = would like to produce : , , , ,
3
5088
by: Richard A. DeVenezia | last post by:
I hope this is the end of my present 'discovery' phase. I've learned alot about JavaScript in a short time and my head hurts. The following is what came out of all my questions and all the excellent answers (thanks!). It will be the basis of a slightly more complicated function for rendering a two-level navigation bar ( Don't have time to get into design of a multi-styletype renderer for n-level hierarchies. ) This is a single function...
1
1220
by: WJA | last post by:
I have a sized form with a custom menu bar. Using a command button on this form, I'm opening a report which has a different custom menu bar. When I close the report, the transition of the menu bar back to that of the underlying form is not "clean". For a split second both menu bars appear together, one on top of the other. This has the effect of pushing the form down the screen the width of one menu bar. This is causing me problems because...
3
1855
by: ATS | last post by:
I'm trying to set up a slide show on a web page using Javascript. Here is the code I have so far: <script language="javascript"> alert("**in test area 1"); slides = new Array(); slides = new Image(); slides = new Image();
12
1613
by: Ray | last post by:
Hello, I've got the chance to determine the technology to use in creating a product similar to this: http://www.atomicisland.com/ Now the thing is that I need to sell this to the guy with the money. I've developed for years with C++ and Java, last 7 years J2EE, and I'm kinda sick of the "bloated" feeling that the whole J2EE/appserver
9
2115
by: smartbei | last post by:
Hello, I am a newbie with python, though I am having a lot of fun using it. Here is one of the excersizes I am trying to complete: the program is supposed to find the coin combination so that with 10 coins you can reach a certain amoung, taken as a parameter. Here is the current program: coins = (100,10,5,1,0.5) anslist = def bar(fin, hist = {100:0,10:0,5:0,1:0,0.5:0}): s = sum(x*hist for x in hist)
7
2146
by: Ray | last post by:
hi, I have a question about how to use .grid_forget (in python/TK) I need to work on grid repeatly. everytime when a button is pressed, the rows of grid is different. such like, first time, it generate 10 rows of data. 2nd time, it maybe only 5 rows. so I need a way to RESET the grid data every time. how can I do it? by grid_forger()?, then would anyone can help on how to use grid_forget() the sample code as following:
2
1346
by: Hvid Hat | last post by:
Hi Can anyone help me with the following transition? My problem is how to create a fieldset each time I run into a heading and then include the following text elements within the fieldset. <?xml version="1.0" encoding="ISO-8859-1"?> <field> <heading>First heading</heading> </field>
0
11826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11416
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11588
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10087
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8464
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7618
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6421
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
5161
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.