Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76189
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!lightspeed.eweka.nl!lightspeed.eweka.nl!cyclone01.ams2.highwinds-media.com!voer-me.highwinds-media.com!peer01.am1!peering.am1!peer01.fr7!news.highwinds-media.com!post01.fr7!fx02.am4.POSTED!not-for-mail |
|---|---|
| From | alister <alister.nospam.ware@ntlworld.com> |
| Subject | Re: newbee |
| Newsgroups | comp.lang.python |
| References | <mailman.12909.1407911525.18130.python-list@python.org> |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Lines | 57 |
| Message-ID | <FmIGv.164202$DL2.12687@fx02.am4> (permalink) |
| NNTP-Posting-Host | 82.9.78.47 |
| X-Complaints-To | http://netreport.virginmedia.com |
| X-Trace | 1407930917 82.9.78.47 (Wed, 13 Aug 2014 11:55:17 UTC) |
| NNTP-Posting-Date | Wed, 13 Aug 2014 11:55:17 UTC |
| Organization | virginmedia.com |
| Date | Wed, 13 Aug 2014 11:55:17 GMT |
| X-Received-Body-CRC | 907076463 |
| X-Received-Bytes | 3521 |
| Xref | csiph.com comp.lang.python:76189 |
Show key headers only | View raw
On Tue, 12 Aug 2014 19:57:14 -0400, Frank Scafidi wrote: > I just acquired a Raspberry Pi and want to program in Python. I was a > PL/1 programmer back in the 60's & 70's and Python is similar. I am > struggling with some very fundamental things that I am not finding in > the documentation. Can someone help me with the basics like how do I > save a program I've written, reload it in Python, list the program once > it's loaded? How do I edit a program? Are these command line functions? > > Thanks Frank <div dir="ltr"><div class="gmail_default" > style="font-family:georgia,serif;font-size:small;color:#3366ff">I just > acquired a Raspberry Pi and want to program in Python. I was a PL/1 > programmer back in the 60's & 70's and Python is similar. I > am struggling with some very fundamental things that I am not finding in > the documentation. Can someone help me with the basics like how do I > save a program I've written, reload it in Python, list the program > once it's loaded? How do I edit a program? Are these command line > functions? </div> > <div class="gmail_default" > style="font-family:georgia,serif;font-size:small;color:#3366ff"><br></ div><div > class="gmail_default" > style="font-family:georgia,serif;font-size:small;color:#3366ff">Thanks</ div><div > class="gmail_default" > style="font-family:georgia,serif;font-size:small;color:#3366ff"> > Frank</div><div class="gmail_default" > style="font-family:georgia,serif;font-size:small;color:#3366ff"><br></ div></div> I am not in the same league as many of the posters here when it comes to Python but fortunately i do have two Raspberry Pi's :-) if you are running the Pi connected to a TV/Monitor with the Gui enabled then you should have access to Idle as well as a number of text editors (Geany works well if installed) if you are using it from the commands line then as previously stated you need to use a text editor to write the code (Nano is part of the basic Raspian Distro and easier to use than VI/Vim) once you have created your code file type python <file Name> at the command prompt remember if you are connecting to the Pi remotely Via SSH it is useful to have multiple connections open, one for the text editor & 1 to enable you to run the code or execute other Linux commands. If you have any more questions post them back &I hope I can help (Maybe I can become useful to this group as the R-Pi expert, hopefully more productively than some of the groups other 'Experts') -- Expect the worst, it's the least you can do.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
newbee Frank Scafidi <fpscafidi@gmail.com> - 2014-08-12 19:57 -0400
Re: newbee alister <alister.nospam.ware@ntlworld.com> - 2014-08-13 11:55 +0000
Re: newbee Mok-Kong Shen <mok-kong.shen@t-online.de> - 2014-08-13 15:13 +0200
Re: newbee alister <alister.nospam.ware@ntlworld.com> - 2014-08-13 13:57 +0000
Re: newbee William Ray Wing <wrw@mac.com> - 2014-08-13 11:44 -0400
Re: newbee Terry Reedy <tjreedy@udel.edu> - 2014-08-13 15:31 -0400
Re: newbee alister <alister.nospam.ware@ntlworld.com> - 2014-08-14 11:59 +0000
Re: newbee Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-08-14 08:42 +0200
Re: newbee Larry Hudson <orgnut@yahoo.com> - 2014-08-13 19:00 -0700
csiph-web