Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: sending sms messages from your smartphone
Post: RE: sending sms messages from your smartphone

I work on windows. I installed the library. But I want this code to work not on a computer, but on android. But I don't know how to do it.???
skorost5 General Coding Help 4 2,903 Apr-02-2020, 07:00 PM
    Thread: sending sms messages from your smartphone
Post: RE: sending sms messages from your smartphone

import sms m = sms.Modem('/dev/ttyS0') what does '/dev/ttyS0 ' mean ? I'm trying this code from sms4 import send, nonblocking_send result = send('+123456798', 'The server is down!') print(result)...
skorost5 General Coding Help 4 2,903 Apr-01-2020, 08:59 PM
    Thread: sending sms messages from your smartphone
Post: sending sms messages from your smartphone

What library can I use to send sms messages from my smartphone?
skorost5 General Coding Help 4 2,903 Apr-01-2020, 03:46 PM
    Thread: pool map cycle
Post: RE: pool map cycle

tried to execute the same code on the website https://repl.it/languages/python3 and it worked. This site uses Python interpreter 3.6.1 (default, Dec 2015, 13:05:11)[GCC 4.8.2] on linux and I tried to...
skorost5 General Coding Help 5 3,844 Apr-07-2019, 09:21 AM
    Thread: pool map cycle
Post: RE: pool map cycle

Installed the same version, but not yet displays: Output:[['0', '0', '3', '0', '0', 'f'], ['0', '0', '3', '0', '0', 'n'], ['0', '0', '3', '0', '0', 'x']] ...
skorost5 General Coding Help 5 3,844 Apr-07-2019, 08:11 AM
    Thread: pool map cycle
Post: RE: pool map cycle

Thank you. One last question. What version of Python did you use? I can not achieve this result.
skorost5 General Coding Help 5 3,844 Apr-06-2019, 06:07 PM
    Thread: Need help getting the output
Post: RE: Need help getting the output

this string converts the string to a list: print(''.join(str(e) for e in t))output Output:12345if I would write here so we will see: print(t)Output:[1, 2, 3, 4, 5]the cycle works in reverse order from...
skorost5 General Coding Help 8 3,913 Apr-06-2019, 06:05 AM
    Thread: Need help getting the output
Post: RE: Need help getting the output

S = int(input('Please enter something : ')) t=[] for i in range(1,S+1): t.append(i) for i1 in range(0,S): print(''.join(str(e) for e in t)) for i in range(S-1,0,-1): t[i]=t[i-1] ...
skorost5 General Coding Help 8 3,913 Apr-05-2019, 06:32 PM
    Thread: pool map cycle
Post: pool map cycle

Trying to run twice pool map cycle. from multiprocessing import Pool b=["0","0","0","0","0","0"] def f(c): b[5]=c return b for i1 in range(1,3): if __name__ == '__main__': p = Poo...
skorost5 General Coding Help 5 3,844 Apr-05-2019, 04:27 PM
    Thread: cython does not work
Post: RE: cython does not work

once no more answers, I will try to make himself
skorost5 General Coding Help 5 4,278 Dec-19-2018, 09:23 AM
    Thread: cython does not work
Post: RE: cython does not work

this command starts python temp.pyx build_ext --inplace starting from the console results in the following Output:Traceback (most recent call last): File "<pyshell#1>", line 1, in <module&g...
skorost5 General Coding Help 5 4,278 Dec-18-2018, 02:18 PM
    Thread: cython does not work
Post: RE: cython does not work

fixed as on pprr file: set.py from distutils.core import setup from Cython.Build import cythonize import temp print("y") compiler_directives = { 'language_level': 2, 'optimize.use_switch': ...
skorost5 General Coding Help 5 4,278 Dec-18-2018, 12:11 PM
    Thread: cython does not work
Post: cython does not work

cannot display Hello on cython file: set.py from distutils.core import setup from Cython.Build import cythonize import temp compiler_directives = { 'language_level': 2, 'optimize.use_switch'...
skorost5 General Coding Help 5 4,278 Dec-18-2018, 07:16 AM

User Panel Messages

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