Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Stefan Behnel
Ben Finney schrieb am 31.07.2017 um 04:24: > You might be looking for a different compiler, maybe one which compiles > not to Python byte code but instead to CPU machine code. There isn't > such a thing; The Python wiki lists several compilers for Python, although with varying levels of language c

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Abdur-Rahmaan Janhangeer
can i recommend you wing ide personal edition? a breeze. p.s. an ide cares about helping you coping with errors, syntax highlighting and ironing out some corners here and there a compiler (for a moment) just make things work for you Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wor

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Wolfgang Maier
On 07/31/2017 03:31 AM, Mats Wichmann wrote: since this all opinions :), I don't think idle is worth bothering with. for editor that can do ide like things, consider atom (free, get a bunch of plugins) or sublime text (not free). for a full ide, pycharm is great (community edition free). for a

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Chris Warrick
On 31 July 2017 at 14:45, Wolfgang Maier wrote: > On 07/31/2017 03:31 AM, Mats Wichmann wrote: >> >> since this all opinions :), I don't think idle is worth bothering with. >> for editor that can do ide like things, consider atom (free, get a bunch of >> plugins) or sublime text (not free). for a

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Wolfgang Maier
On 07/31/2017 02:53 PM, Chris Warrick wrote: On 31 July 2017 at 14:45, Wolfgang Maier wrote: On 07/31/2017 03:31 AM, Mats Wichmann wrote: since this all opinions :), I don't think idle is worth bothering with. for editor that can do ide like things, consider atom (free, get a bunch of plugins

[Tutor] pythonic ascii decoding!

2017-07-31 Thread bruce
Hi guys. Testing getting data from a number of different US based/targeted websites. So the input data source for the most part, will be "ascii". I'm getting a few "weird" chars every now and then asn as fas as I can tell, they should be utf-8. However, the following hasn;t always worked: s=s

Re: [Tutor] pythonic ascii decoding!

2017-07-31 Thread Mats Wichmann
On 07/31/2017 09:39 AM, bruce wrote: > Hi guys. > > Testing getting data from a number of different US based/targeted > websites. So the input data source for the most part, will be "ascii". > I'm getting a few "weird" chars every now and then asn as fas as I can > tell, they should be utf-8. > >

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Abdur-Rahmaan Janhangeer
I may say that i was turned off by idle initially, never used it at all until i landed on another pc to teach someone. it changed my opinion on it, as it was not as horrible as expected. it was nice enough not to overwhelm a beginner. it could open and run files (and nice, at least a python editor

[Tutor] Quick question on dirsync a python pkg

2017-07-31 Thread Jeff VanderDoes
Hi, Just curious if anyone can give me an explanation of when using the pkg dirsync 2.2.2 what the difference is between --update and --sync option. Maybe my brain is just a bit slow this morning. Thanks! Jeff ___ Tutor maillist - Tutor@python.org To

[Tutor] Python isn't working with Apache (Windows)

2017-07-31 Thread Christopher McGrath
I am trying to run a simple python web script in a browser with apache. I have apache installed and running perfectly. I installed Ruby and Perl using instructions from here and worked perfect. http://editrocket.com/articles/python_apache_windows.html I did have to change my “shebang lines” for

Re: [Tutor] Python isn't working with Apache (Windows)

2017-07-31 Thread George Fischhof
2017-07-31 7:31 GMT+02:00 Christopher McGrath : > I am trying to run a simple python web script in a browser with apache. I > have apache installed and running perfectly. I installed Ruby and Perl > using instructions from here and worked perfect. http://editrocket.com/ > articles/python_apache_wi

Re: [Tutor] Python isn't working with Apache (Windows)

2017-07-31 Thread George Fischhof
2017-07-31 22:37 GMT+02:00 Christopher McGrath : > Someone told me the problem is within the second line of the code. > > > print ("Content-type: text/html") > print (" ") > print ("") > print ("") > print ("") > print ("Hello Python.") > print ("") > > > There should be no space. I copied and pas

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Alan Gauld via Tutor
On 31/07/17 13:45, Wolfgang Maier wrote: > here. There may be more powerful IDEs than IDLE, but it takes you a long > way (far beyond beginner/scripting level) And IdleX is a vastly superior, drop-in replacement, superset of IDLE. The extra features, for those interested, are described here: h

Re: [Tutor] pythonic ascii decoding!

2017-07-31 Thread eryk sun
On Mon, Jul 31, 2017 at 3:39 PM, bruce wrote: > > So, is there a quick/dirty approach I can use to simply strip out the > "non-ascii" chars. I know, this might not be the "best/pythonic" way, > and that it might result in loss of some data/chars, but I can live > with it for now. Ignore or replac

Re: [Tutor] Recommended Python Compiler

2017-07-31 Thread Asokan Pichai
For a simple beginners editor -- geany is a great choice. It can be used with minimal or no configuration/set up; and once you know your way around you can tweak it as much as you want. It is easily installable on Debian/Ubuntu -- Asokan Pichai *---* We will find a way. Or, ma