Read that Python tutorial first, It will answer all your questions . You need to read the WHOLE thing.
http://docs.python.org/tutorial/index.html On Sun, Nov 27, 2011 at 3:52 AM, JJ Zolper <[email protected]> wrote: > Tim, > > Does our system include a Python Interpreter? > > " > > The interpreter’s line-editing features usually aren’t very sophisticated. > On Unix, whoever installed the interpreter may have enabled support for the > GNU readline library, which adds more elaborate interactive editing and > history features. Perhaps the quickest check to see whether command line > editing is supported is typing Control-P to the first Python prompt you > get. If it beeps, you have command line editing; see Appendix *Interactive > Input Editing and History > Substitution*<http://docs.python.org/tutorial/interactive.html#tut-interacting> > for > an introduction to the keys. If nothing appears to happen, or if ^P is > echoed, command line editing isn’t available; you’ll only be able to use > backspace to remove characters from the current line. > > " > > JJ > > On Sat, Nov 26, 2011 at 6:55 PM, JJ Zolper <[email protected]> wrote: > >> So you feel that that documentation of Python is the best reference? I'm >> sure it is just wanted to ask. >> >> JJ >> >> >> On Sat, Nov 26, 2011 at 2:20 PM, Timothy Makobu < >> [email protected]> wrote: >> >>> But first, all of this http://docs.python.org/tutorial/index.html >>> >>> >>> On Sat, Nov 26, 2011 at 10:19 PM, Timothy Makobu < >>> [email protected]> wrote: >>> >>>> Nice. Now read ALL of this http://djangobook.com/en/2.0/ >>>> >>>> >>>> On Sat, Nov 26, 2011 at 9:55 PM, JJ Zolper <[email protected]> wrote: >>>> >>>>> Looks like I am in good shape! >>>>> >>>>> Thanks so much man! >>>>> >>>>> http://madtrak.com/success.png >>>>> >>>>> JJ >>>>> >>>>> >>>>> On Sat, Nov 26, 2011 at 1:51 PM, JJ Zolper <[email protected]> wrote: >>>>> >>>>>> Thanks! Yes sounds like something from my UNIX class. I have now >>>>>> added it. >>>>>> >>>>>> What will django-admin.py do for me? Oh are you just saying I can run >>>>>> it from anywhere now? Any of the commands I want to work with >>>>>> python/django? >>>>>> >>>>>> JJ >>>>>> >>>>>> >>>>>> On Sat, Nov 26, 2011 at 12:56 AM, Timothy Makobu < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Yes, iPython is installed now. But now you need to add >>>>>>> C:\Python27\Scripts >>>>>>> to your PATH variable, so you wont have to keep going there to run >>>>>>> things. >>>>>>> After you add it, you can run django-admin.py, easy_install, iPython ... >>>>>>> from any directory in cmd.exe >>>>>>> >>>>>>> This link shows you how: >>>>>>> http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Sat, Nov 26, 2011 at 12:49 AM, JJ Zolper <[email protected]>wrote: >>>>>>> >>>>>>>> Tim, >>>>>>>> >>>>>>>> Okay I was able to get something to go there. >>>>>>>> >>>>>>>> At first I saw warnings so I wasn't sure but here are the images. >>>>>>>> >>>>>>>> http://madtrak.com/ipython1.png >>>>>>>> >>>>>>>> http://madtrak.com/ipython2.png >>>>>>>> >>>>>>>> Do you think I am in good shape with ipython? >>>>>>>> >>>>>>>> To perform the easy install of django would i execute: easy_install.exe >>>>>>>> django? >>>>>>>> >>>>>>>> And if so would that just overwrite what I have already installed, >>>>>>>> like would it be good to do it a second time even though I think it >>>>>>>> worked >>>>>>>> the first. Honestly, I'd probably leave it for now just wanted your >>>>>>>> thoughts on easy install. >>>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> JJ >>>>>>>> >>>>>>>> On Fri, Nov 25, 2011 at 1:20 PM, Timothy Makobu < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Hi, you're welcome. >>>>>>>>> >>>>>>>>> Easy install is usually in C:\Python27\Scripts >>>>>>>>> >>>>>>>>> you can go there from within cmd.exe and run "easy_install.exe >>>>>>>>> ipython" It should work. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Nov 25, 2011 at 7:56 PM, JJ Zolper <[email protected]>wrote: >>>>>>>>> >>>>>>>>>> Tim, >>>>>>>>>> >>>>>>>>>> I had a confirmation from William that I installed Django but you >>>>>>>>>> said >>>>>>>>>> iPython would be helpful and since I don't remember much Python I >>>>>>>>>> was >>>>>>>>>> hoping to make that work. >>>>>>>>>> >>>>>>>>>> Thanks so much for taking the time to help me get started you're a >>>>>>>>>> life saver! : ) >>>>>>>>>> >>>>>>>>>> JJ >>>>>>>>>> >>>>>>>>>> On Nov 24, 11:56 pm, Timothy Makobu <[email protected]> >>>>>>>>>> wrote: >>>>>>>>>> > - Install setup toolshttp:// >>>>>>>>>> pypi.python.org/pypi/setuptools/0.6c11 >>>>>>>>>> > - Go to the command line (cmd.exe) and type >>>>>>>>>> > - easy_install django >>>>>>>>>> > - easy_install ipython (not needed by django, but very >>>>>>>>>> useful, as you >>>>>>>>>> > will see when you come to running "python manage.py shell" >>>>>>>>>> > >>>>>>>>>> > That's all! >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > On Fri, Nov 25, 2011 at 3:59 AM, JJ Zolper <[email protected]> >>>>>>>>>> wrote: >>>>>>>>>> > > Okay just so everyone knows! >>>>>>>>>> > >>>>>>>>>> > > I was able to extract the .tar file and I now see the files. >>>>>>>>>> > >>>>>>>>>> > > In order to import these files correctly should I place these >>>>>>>>>> files in the >>>>>>>>>> > > install directory of Python 2.7 and then attempt the commands? >>>>>>>>>> > >>>>>>>>>> > > Or is the location of Django just arbitrary can I place it >>>>>>>>>> wherever I like >>>>>>>>>> > > and then work from the Python prompt? >>>>>>>>>> > >>>>>>>>>> > > JJ >>>>>>>>>> > >>>>>>>>>> > > On Thu, Nov 24, 2011 at 11:58 AM, Ivo Brodien < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> > >>>>>>>>>> > >> windows users have extracted your command will look like >>>>>>>>>> this: ....... >>>>>>>>>> > >> to execute the .tar file. >>>>>>>>>> > >>>>>>>>>> > >> as tom mentioned, you have to use 7zip two times. >>>>>>>>>> > >>>>>>>>>> > >> the tar file is another archive (like .zip, .gz ) which you >>>>>>>>>> have to >>>>>>>>>> > >> decompress and then you have the django directory and you >>>>>>>>>> can go on with >>>>>>>>>> > >> the tutorial. >>>>>>>>>> > >>>>>>>>>> > >> On Nov 24, 2011, at 17:55 , JJ Zolper wrote: >>>>>>>>>> > >>>>>>>>>> > >> JoeLinux, >>>>>>>>>> > >>>>>>>>>> > >> Oh interesting. It seems the 64 bit version is sort of >>>>>>>>>> unclear. Any >>>>>>>>>> > >> help there? >>>>>>>>>> > >>>>>>>>>> > >> Would I be able to install my Python is well with a smaller >>>>>>>>>> command? I >>>>>>>>>> > >> am back at ground zero because I had to adjust the Python >>>>>>>>>> version back >>>>>>>>>> > >> to 2.5 so Django would agree. >>>>>>>>>> > >>>>>>>>>> > >> I am interested just not sure how to work the 64 bit version. >>>>>>>>>> > >>>>>>>>>> > >> Thanks! >>>>>>>>>> > >>>>>>>>>> > >> JJ >>>>>>>>>> > >>>>>>>>>> > >> On Nov 24, 11:40 am, Joey Espinosa < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> > >>>>>>>>>> > >> If you install the "setuptools" package (http://goo.gl/UjFh), >>>>>>>>>> then all >>>>>>>>>> > >> you >>>>>>>>>> > >>>>>>>>>> > >> have to do to install Django (or any other Python library) >>>>>>>>>> is this: >>>>>>>>>> > >>>>>>>>>> > >> easy_install django >>>>>>>>>> > >>>>>>>>>> > >> And it will handle the rest. Just a suggestion. >>>>>>>>>> > >>>>>>>>>> > >> -- >>>>>>>>>> > >>>>>>>>>> > >> Joey "JoeLinux" Espinosa >>>>>>>>>> > >>>>>>>>>> > >> Software Developerhttp://about.me/joelinux >>>>>>>>>> > >>>>>>>>>> > >> On Nov 24, 2011 10:37 AM, "Tom Evans" < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> > >>>>>>>>>> > >> On Thu, Nov 24, 2011 at 5:00 AM, JJ Zolper < >>>>>>>>>> [email protected]> wrote: >>>>>>>>>> > >>>>>>>>>> > >> Hello, >>>>>>>>>> > >>>>>>>>>> > >> I am new to Django! I was able to download and install: >>>>>>>>>> Python 2.7.2 >>>>>>>>>> > >>>>>>>>>> > >> x86 64 on my Windows 7 64 bit machine. I think that is all >>>>>>>>>> that I will >>>>>>>>>> > >>>>>>>>>> > >> need to execute the command line? >>>>>>>>>> > >>>>>>>>>> > >> I installed Python to C:/Python27 as the program intended. >>>>>>>>>> > >>>>>>>>>> > >> I then downloaded: Django-1.3.1.tar.gz file and was try to >>>>>>>>>> figure >>>>>>>>>> > >>>>>>>>>> > >> where to go to next. I used the 7 zip to extract it to: >>>>>>>>>> > >>>>>>>>>> > >> Django-1.3.1.tar. But I wasn't sure the next steps. I opened >>>>>>>>>> the >>>>>>>>>> > >>>>>>>>>> > >> Python cmd prompt. I typed the command in: tar xzvf >>>>>>>>>> Django-*.tar.gz. >>>>>>>>>> > >>>>>>>>>> > >> But I got errors about the portion "xzvf" I feel that the >>>>>>>>>> directories >>>>>>>>>> > >>>>>>>>>> > >> are not set up correctly. Do I need to adjust my command for >>>>>>>>>> the >>>>>>>>>> > >>>>>>>>>> > >> directory because I already tried that. >>>>>>>>>> > >>>>>>>>>> > >> I would really appreciate a step through that would get me >>>>>>>>>> all set up >>>>>>>>>> > >>>>>>>>>> > >> with the baseline. I am interested to moving on from to the >>>>>>>>>> more in >>>>>>>>>> > >>>>>>>>>> > >> depth chapters. I tried hard to understand the input from >>>>>>>>>> the comments >>>>>>>>>> > >>>>>>>>>> > >> on the page but I was unable to find anything that gave me >>>>>>>>>> any sense >>>>>>>>>> > >>>>>>>>>> > >> of direction on how to place the Django files. >>>>>>>>>> > >>>>>>>>>> > >> Thanks! >>>>>>>>>> > >>>>>>>>>> > >> JJ >>>>>>>>>> > >>>>>>>>>> > >> PS. sorry this is available and I didn't see it in the new >>>>>>>>>> booklet. >>>>>>>>>> > >>>>>>>>>> > >> tar.gz is a gzipped (.gz) tape archive (.tar) file. 7zip >>>>>>>>>> should be >>>>>>>>>> > >>>>>>>>>> > >> able to gunzip it and extract the files from the archive - >>>>>>>>>> it might >>>>>>>>>> > >>>>>>>>>> > >> require two steps. >>>>>>>>>> > >>>>>>>>>> > >> The 'tar xzvf…' command is how one extracts a tar.gz under >>>>>>>>>> unix/linux >>>>>>>>>> > >>>>>>>>>> > >> from the OS command line - not the python command line. As >>>>>>>>>> the docs >>>>>>>>>> > >>>>>>>>>> > >> say, you can download and install bsdtar in windows, in >>>>>>>>>> which case the >>>>>>>>>> > >>>>>>>>>> > >> OS command would be 'bsdtar zxvf …'. >>>>>>>>>> > >>>>>>>>>> > >> This is the second time this week someone has had issues >>>>>>>>>> extracting a >>>>>>>>>> > >>>>>>>>>> > >> tgz on windows - any chance that django could be packaged up >>>>>>>>>> in a more >>>>>>>>>> > >>>>>>>>>> > >> Windows friendly zip file format in addition to tgz? >>>>>>>>>> > >>>>>>>>>> > >> Cheers >>>>>>>>>> > >>>>>>>>>> > >> Tom >>>>>>>>>> > >>>>>>>>>> > >> >>>>>>>>>> https://docs.djangoproject.com/en/1.3/topics/install/#installing-an-o. >>>>>>>>>> .. >>>>>>>>>> > >>>>>>>>>> > >> -- >>>>>>>>>> > >>>>>>>>>> > >> You received this message because you are subscribed to the >>>>>>>>>> Google Groups >>>>>>>>>> > >>>>>>>>>> > >> "Django users" group. >>>>>>>>>> > >>>>>>>>>> > >> To post to this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> > >>>>>>>>>> > >> To unsubscribe from this group, send email to >>>>>>>>>> > >>>>>>>>>> > >> [email protected]. >>>>>>>>>> > >>>>>>>>>> > >> For more options, visit this group at >>>>>>>>>> > >>>>>>>>>> > >>http://groups.google.com/group/django-users?hl=en. >>>>>>>>>> > >>>>>>>>>> > >> -- >>>>>>>>>> > >> You received this message because you are subscribed to the >>>>>>>>>> Google Groups >>>>>>>>>> > >> "Django users" group. >>>>>>>>>> > >> To post to this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> > >> To unsubscribe from this group, send email to >>>>>>>>>> > >> [email protected]. >>>>>>>>>> > >> For more options, visit this group at >>>>>>>>>> > >>http://groups.google.com/group/django-users?hl=en. >>>>>>>>>> > >>>>>>>>>> > >> -- >>>>>>>>>> > >> You received this message because you are subscribed to the >>>>>>>>>> Google Groups >>>>>>>>>> > >> "Django users" group. >>>>>>>>>> > >> To post to this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> > >> To unsubscribe from this group, send email to >>>>>>>>>> > >> [email protected]. >>>>>>>>>> > >> For more options, visit this group at >>>>>>>>>> > >>http://groups.google.com/group/django-users?hl=en. >>>>>>>>>> > >>>>>>>>>> > > -- >>>>>>>>>> > > You received this message because you are subscribed to the >>>>>>>>>> Google Groups >>>>>>>>>> > > "Django users" group. >>>>>>>>>> > > To post to this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> > > To unsubscribe from this group, send email to >>>>>>>>>> > > [email protected]. >>>>>>>>>> > > For more options, visit this group at >>>>>>>>>> > >http://groups.google.com/group/django-users?hl=en. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>> Google Groups "Django users" group. >>>>>>>>>> To post to this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>>> [email protected]. >>>>>>>>>> For more options, visit this group at >>>>>>>>>> http://groups.google.com/group/django-users?hl=en. >>>>>>>>>> >>>>>>>>>> >>>>>>>>> -- >>>>>>>>> You received this message because you are subscribed to the Google >>>>>>>>> Groups "Django users" group. >>>>>>>>> To post to this group, send email to [email protected] >>>>>>>>> . >>>>>>>>> To unsubscribe from this group, send email to >>>>>>>>> [email protected]. >>>>>>>>> For more options, visit this group at >>>>>>>>> http://groups.google.com/group/django-users?hl=en. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "Django users" group. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> To unsubscribe from this group, send email to >>>>>>>> [email protected]. >>>>>>>> For more options, visit this group at >>>>>>>> http://groups.google.com/group/django-users?hl=en. >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Django users" group. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> To unsubscribe from this group, send email to >>>>>>> [email protected]. >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/django-users?hl=en. >>>>>>> >>>>>> >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Django users" group. >>>>> To post to this group, send email to [email protected]. >>>>> To unsubscribe from this group, send email to >>>>> [email protected]. >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/django-users?hl=en. >>>>> >>>> >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/django-users?hl=en. >>> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

