[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Hello, I am the Vineezus, Archangel of Python. In order to
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 10
Thread images: 2
File: vineezus.png (840 KB, 656x827) Image search: [Google]
vineezus.png
840 KB, 656x827
Hello,

I am the Vineezus, Archangel of Python. In order to receive a blessing upon your scripts, you must post in this thread with the message "print Hello, World!"
>>
print Hello, World!
>>
2 is deprecated
print is a function, not a statement
>>
>>53621537
console.log("print Hello, World!")
>>
File: raspbian developer.jpg (100 KB, 720x960) Image search: [Google]
raspbian developer.jpg
100 KB, 720x960
What can I do with Python? Linux, Apple or Windows apps?
>>
print("Hello, World!")
>>
>>53621616
lmao. 2.7 will never die. Never even seen/used 3+ in industry
>>
>>53621639
it is just a meme
>>
Have you metaprogrammed today?


def _make_section(dct, section_name, section_dct):
"""Make session dispatcher."""
# __slots__
section_dct['__slots__'] = ('config',)
# __init__
def __init__(self, config):
self.config = config[section_name]
section_dct['__init__'] = __init__
section_class = type(section_name, (), section_dct)
dct[section_name] = property(lambda self: section_class(self.config))


class ConfigMeta(type):

def __new__(mcs, name, parents, dct):
sections = dct['Sections']
for section_name, section in sections.__dict__.items():
if section_name.startswith('_'):
continue
section_dct = dict()
for config_name, config_getter in section.__dict__.items():
section_dct[config_name] = property(config_getter)
_make_section(dct, section_name, section_dct)
return super().__new__(mcs, name, parents, dct)
>>
>>53621639
Yes, kivy. Pretty decent
Thread replies: 10
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.