RE: I cannot seem to write time/date to the file.

2019-02-12 Thread Steve
That was it, will wonders never cease? Thanks Footnote: Ultrasound Technician Asks Pregnant Woman If She’d Like To Know Baby’s Name -Original Message- From: Python-list On Behalf Of David Raymond Sent: Tuesday, February 12, 2019 2:28 PM To: python-list@python.org Subject: RE: I cannot

RE: A limit to writing to a file from a loop?

2019-02-12 Thread Steve
Very good points. In short, I wrote two test programs. One to write 400 lines of data into a file. Another to read it, modify it, and write to a new file. With some questionable spacing in the final file, I was able to read/write 400 lines of code disproving my original suspicion. Back to

Re: The slash "/" as used in the documentation

2019-02-12 Thread Chris Angelico
On Wed, Feb 13, 2019 at 6:18 AM Peter J. Holzer wrote: > > On 2019-02-12 07:31:54 +1100, Chris Angelico wrote: > > Positional arguments with defaults is a concept known in MANY > > languages, > > True. > > > including C. > > Nope. At least not until C99, and I can't find anything in C11 either. >

RE: I cannot seem to write time/date to the file.

2019-02-12 Thread David Raymond
DateReading.write = (nowTimeDate2 + "\n") You're re-assigning the write method to be a string here. You want to call the method with the string as the argument. DateReading.write(nowTimeDate2 + "\n") -Original Message- From: Python-list [mailto:python-list-bounces+david.raymond=tomto

Re: Replicating YouTube video AI code in python

2019-02-12 Thread Abdur-Rahmaan Janhangeer
try 3.6.6 Abdur-Rahmaan Janhangeer http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ Mauritius -- https://mail.python.org/mailman/listinfo/python-list

I cannot seem to write time/date to the file.

2019-02-12 Thread Steve
I am using nowTimeDate2 elsewhere in my program and it can be printed to the screen. The file exists and the program successfully opens the file, writes to it, and closes the file. All is working as designed. However, Now I want to place an entry into the first line of the file to note the

Re: The slash "/" as used in the documentation

2019-02-12 Thread Peter J. Holzer
On 2019-02-12 07:31:54 +1100, Chris Angelico wrote: > Positional arguments with defaults is a concept known in MANY > languages, True. > including C. Nope. At least not until C99, and I can't find anything in C11 either. Maybe they'll add it in C2x. hp -- _ | Peter J. Holzer|

Re: A limit to writing to a file from a loop?

2019-02-12 Thread DL Neil
Steve, On 13/02/19 7:56 AM, Steve wrote: My program reads from a text file (A), modifies the data, and writes to another file (B). This works until I reach about 300 writes and no more lines are written to file (B). I had to create a Counter and increment it to 250 when it gets reset. Upon res

Re: A limit to writing to a file from a loop?

2019-02-12 Thread Chris Angelico
On Wed, Feb 13, 2019 at 5:58 AM Steve wrote: > > My program reads from a text file (A), modifies the data, and writes to > another file (B). > This works until I reach about 300 writes and no more lines are written to > file (B). > > I had to create a Counter and increment it to 250 when it gets

A limit to writing to a file from a loop?

2019-02-12 Thread Steve
My program reads from a text file (A), modifies the data, and writes to another file (B). This works until I reach about 300 writes and no more lines are written to file (B). I had to create a Counter and increment it to 250 when it gets reset. Upon reset, I close the file (B) being written a

Intel Distribution for Python

2019-02-12 Thread ElChino
I just got an Intel newsletter describing "Intel Distribution for Python". Quote: With Intel® Distribution for Python, it’s not unusual to see speed-ups of 20x (or more) for numerically intensive Python codes like those that use the Numpy* and SciPy* stack. Sounds very exiting; 20 times sp

Re: comp.lang.python

2019-02-12 Thread Ian Hobson
On 12/02/2019 05:54, Jaya Priya wrote: The comp.lang.python.announce newsgroup (or c.l.py.a for short) has been created in early 1998 as a companion newsgroup for comp.lang.python focused on Python-related announcements. ... other items of general interest to the Python community. https://www.