Created
February 18, 2014 20:34
-
-
Save danlurie/9079480 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: age_code = "[CONY_48]" | |
In [2]: gen_code ="[CONY_49]" | |
In [3]: from code | |
code codecs codetools | |
codeconvert_dl_130211 codeop | |
In [3]: from codeconvert_dl_130211 import ttestconv | |
In [4]: ttestconv('/Users/daniel.lurie/Desktop/C3SRS/c3sr_ag_t.txt') | |
--------------------------------------------------------------------------- | |
NameError Traceback (most recent call last) | |
/Users/daniel.lurie/Desktop/C3SRS/<ipython-input-4-e415d530741a> in <module>() | |
----> 1 ttestconv('/Users/daniel.lurie/Desktop/C3SRS/c3sr_ag_t.txt') | |
/Users/daniel.lurie/Desktop/C3SRS/codeconvert_dl_130211.py in ttestconv(oldfile) | |
14 #Read in Variables (Case Sensitive) | |
15 | |
---> 16 print gen_code | |
17 print age_code | |
18 #gen_code = raw_input("Please Enter Gender Code (Case Sensitive):") | |
NameError: global name 'gen_code' is not defined | |
In [5]: print gen_code | |
[CONY_49] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment