+ 2

How can I compile html with python?

11th Dec 2018, 12:55 PM
V Vetrov
V Vetrov - avatar
9 Réponses
+ 4
If You want do some site like blog You shuld use Web-framework (flask, django). About connection python and Web You can read in offical docks: https://docs.python.org/2/howto/webservers.html If You wanna use python like JS I think it is imposible.
11th Dec 2018, 1:14 PM
Fred
+ 3
Fred, bless him, linked python 2 documentation. Your tags are python3. Make sure youre using the right source before you rely on it as valid examples
11th Dec 2018, 8:57 PM
Genghis
Genghis - avatar
+ 2
@Taste I think he means he wants to create a .CHM file using python
12th Dec 2018, 7:45 PM
Juan Sixto Nathan
Juan Sixto Nathan - avatar
+ 2
Fred I know you might be being sarcastic, but let me be clear, if you give someone python 2 documentation, when they indicated they are using python 3, you are setting them up to fail. The two pythons have many different syntax, and even if they do the same job, writing in some python2 code into your python3 program, then not understanding where the error is coming from, might confuse a noobie. Hope this explains.
13th Dec 2018, 1:36 PM
Genghis
Genghis - avatar
+ 1
What do you mean by compile ?
11th Dec 2018, 1:03 PM
Taste
Taste - avatar
+ 1
Thank you, Fred
11th Dec 2018, 2:35 PM
V Vetrov
V Vetrov - avatar
+ 1
Genghis, i didn't know about big difference between using py 2 and py 3 for web. Can You give me some information about it?
12th Dec 2018, 4:10 AM
Fred
+ 1
@Lolen Duden, what is. CHM file?
13th Dec 2018, 12:47 AM
V Vetrov
V Vetrov - avatar
0
Taste, I just want to make a site only on python, no javascript
11th Dec 2018, 2:34 PM
V Vetrov
V Vetrov - avatar