Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: email code works in 2.7 but not in 3
Post: RE: email code works in 2.7 but not in 3

Thanks I was not aware of f-string, just read up on it and it looks really good.
micksulley General Coding Help 3 2,610 Nov-04-2021, 09:44 PM
    Thread: email code works in 2.7 but not in 3
Post: RE: email code works in 2.7 but not in 3

In case anyone has the same problem, this code works import smtplib MAIL_2 = ['[email protected]'] FROM_ADDR = '[email protected]' SUBJECT = 'Mail Subject via Ionos`' BODY = 'Body of message' PASSWORD ...
micksulley General Coding Help 3 2,610 Nov-04-2021, 09:54 AM
  Question Thread: email code works in 2.7 but not in 3
Post: email code works in 2.7 but not in 3

Running Python 3.8.10 and 2.7.18 under Mint 20.2 I am trying to generate an email on my IONOS 1 & 1 domain using this code import smtplib MAIL_2 = ['[email protected]'] FROM_ADDR = '[email protected]...
micksulley General Coding Help 3 2,610 Oct-28-2021, 03:59 PM
    Thread: python-crontab - How to use @reboot
Post: RE: python-crontab - How to use @reboot

Many thanks for your help, that works perfectly **smile**
micksulley General Coding Help 2 3,206 Mar-03-2020, 08:06 PM
    Thread: python-crontab - How to use @reboot
Post: python-crontab - How to use @reboot

I am trying to use python-crontab to run a program at reboot. From the webpage https://pypi.org/project/python-crontab/ there is a special case @reboot which will do it but I have no idea of the for...
micksulley General Coding Help 2 3,206 Mar-03-2020, 10:15 AM
    Thread: pysftp pop-up 'Client forking'
Post: RE: pysftp pop-up 'Client forking'

Yes I realise that, I did put my values it and it works, but when it runs I get the pop-up box first, hit enter and then I get the result. With the pop-up it is completely useless to me. Does anyone...
micksulley General Coding Help 5 3,353 Dec-20-2018, 11:52 PM
    Thread: pysftp pop-up 'Client forking'
Post: RE: pysftp pop-up 'Client forking'

I just tried you code and I still get the pop-up box. Why? Do you get the pop-up when you run it or is there something odd about my setup?
micksulley General Coding Help 5 3,353 Dec-20-2018, 11:31 PM
    Thread: pysftp pop-up 'Client forking'
Post: pysftp pop-up 'Client forking'

Running Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) on Linux Mint I am trying to use pysftp, the test code #!/usr/bin/python # test_remote.py # to test connections to a remote machine import ...
micksulley General Coding Help 5 3,353 Dec-20-2018, 12:17 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020