Output
{'kind': 'Listing', 'data': {'before': None, 'modhash': None, 'children': [{'kind': 't3', 'data': {'selftext_html': None, 'mod_reports': [], 'author': 'ingvij', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': False, 'created_utc': 1458486941.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': '', 'domain': 'hkupty.github.io', 'title': 'Functional Philosophy and applying it to Python', 'hide_score': False, 'name': 't3_4b7w9u', 'removal_reason': None, 'quarantine': False, 'num_comments': 13, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458515741.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 53, 'locked': False, 'url': 'http://hkupty.github.io/2016/Functional-Programming-Concepts-Idioms-and-Philosophy/', 'num_reports': None, 'id': '4b7w9u', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 53, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b7w9u/functional_philosophy_and_applying_it_to_python/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>Hey guys, </p>\n\n<p>So I made a really simple demonstration of exploiting a local <code>SQLite</code> database using <code>tkinter</code> in <code>python</code></p>\n\n<p>Thought I would share it with you guys</p>\n\n<hr/>\n\n<ul>\n<li>Github link: <a href="https://github.com/prodicus/thanos">https://github.com/prodicus/thanos</a></li>\n<li>screenshots: \n\n<ul>\n<li>SQL injection: <a href="http://i.imgur.com/qlzSCuP.jpg">http://i.imgur.com/qlzSCuP.jpg</a></li>\n<li>mitigated threat: <a href="http://i.imgur.com/42YhmpU.jpg">http://i.imgur.com/42YhmpU.jpg</a></li>\n</ul></li>\n</ul>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'madboy1995', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458479931.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': 'Hey guys, \n\nSo I made a really simple demonstration of exploiting a local `SQLite` database using `tkinter` in `python`\n\nThought I would share it with you guys\n\n***\n\n- Github link: [https://github.com/prodicus/thanos](https://github.com/prodicus/thanos)\n- screenshots: \n - SQL injection: http://i.imgur.com/qlzSCuP.jpg\n - mitigated threat: http://i.imgur.com/42YhmpU.jpg', 'domain': 'self.Python', 'title': 'SQL Injection demonstration on a local sqlite database', 'hide_score': False, 'name': 't3_4b7gnk', 'removal_reason': None, 'quarantine': False, 'num_comments': 14, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458508731.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 18, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b7gnk/sql_injection_demonstration_on_a_local_sqlite/', 'num_reports': None, 'id': '4b7gnk', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 18, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b7gnk/sql_injection_demonstration_on_a_local_sqlite/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': None, 'mod_reports': [], 'author': 'iamspoilt', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': False, 'created_utc': 1458480023.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': '', 'domain': 'mrafayaleem.com', 'title': 'Interfacing Jython with Kafka 0.8.x', 'hide_score': False, 'name': 't3_4b7gv4', 'removal_reason': None, 'quarantine': False, 'num_comments': 3, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458508823.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 9, 'locked': False, 'url': 'http://mrafayaleem.com/2016/03/19/interfacing-jython-with-kafka/', 'num_reports': None, 'id': '4b7gv4', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 9, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b7gv4/interfacing_jython_with_kafka_08x/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': None, 'mod_reports': [], 'author': 'danwin', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': False, 'created_utc': 1458510378.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': '', 'domain': 'gist.github.com', 'title': 'Using Selenium and Python to screenshot a javascript-heavy page', 'hide_score': False, 'name': 't3_4b9g8m', 'removal_reason': None, 'quarantine': False, 'num_comments': 1, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458539178.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 6, 'locked': False, 'url': 'https://gist.github.com/dannguyen/61af3c7cbdef9d04a5fe', 'num_reports': None, 'id': '4b9g8m', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 6, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b9g8m/using_selenium_and_python_to_screenshot_a/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>Hi, I am using Pillow to handle images in Django, and I would like to optimize images using mozjpeg before saving them.</p>\n\n<p>I&#39;ve tried searching and reading documentation, but there isn&#39;t any information on how to use these libraries together, and these tags don&#39;t appear to be very active on Stackoverflow either. Am I not looking hard enough, or is this something that I&#39;m expected to figure out on my own from reading source code by this point? I haven&#39;t had any formal training with programming, so this is probably out of my league but I really want to figure it out.</p>\n\n<p>My goal is to take a user-uploaded image in Django and a boolean input, and do the following:</p>\n\n<ul>\n<li>If original &gt; 10mb, reject upload</li>\n<li>If 10mb &gt;= original &gt; 1mb, resize and compress and optimize to &lt; 500kb</li>\n<li>If original &lt;= 1mb and boolean is False, compress and optimize to &lt; 500kb</li>\n<li>If original &lt;= 1mb and boolean is True, only optimize</li>\n</ul>\n\n<p>Then save the resulting ImageField and image file to an Amazon S3 bucket, and retrieve it from a different URL on CloudFront (currently using django-storages and boto for this). The filename would be randomly generated (I have yet to write an exception to retry if there&#39;s a &quot;filename exists&quot; collision when saving to S3):</p>\n\n<pre><code>def generate_filename():\n return get_random_string(length=12, allowed_chars=u&#39;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&#39;)\n</code></pre>\n\n<p>After saving the original image, generate thumbnails of various sizes with the same filename and a suffix corresponding to the size, ex: <code>filename_s.jpg</code>, <code>filename_m.jpg</code>, <code>filename_l.jpg</code> and save these to another S3 bucket.</p>\n\n<p>The difficulty for me mostly has to do with not knowing how to implement this in code. Here are the questions I have:</p>\n\n<ol>\n<li><p>How can images be <a href="https://github.com/mozilla/mozjpeg/blob/master/usage.txt#L25">piped to mozjpeg</a> from Pillow directly and losslessly in memory (without saving to a NamedTemporaryFile)? I primarily want to avoid the situation where Pillow compresses the image and then mozjpeg compresses the already compressed image again, especially if mozjpeg could do a better job at it.</p></li>\n<li><p>I don&#39;t expect anyone to write my code for me, but a minimal snippet of sample code to help me understand how Python/Pillow can interact with mozjpeg and how everything fits together (where to put the logic of the If statements above) would be very much appreciated. </p></li>\n</ol>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'lelease', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458447203.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': 'Hi, I am using Pillow to handle images in Django, and I would like to optimize images using mozjpeg before saving them.\n\nI\'ve tried searching and reading documentation, but there isn\'t any information on how to use these libraries together, and these tags don\'t appear to be very active on Stackoverflow either. Am I not looking hard enough, or is this something that I\'m expected to figure out on my own from reading source code by this point? I haven\'t had any formal training with programming, so this is probably out of my league but I really want to figure it out.\n\nMy goal is to take a user-uploaded image in Django and a boolean input, and do the following:\n\n - If original > 10mb, reject upload\n - If 10mb >= original > 1mb, resize and compress and optimize to < 500kb\n - If original <= 1mb and boolean is False, compress and optimize to < 500kb\n - If original <= 1mb and boolean is True, only optimize\n\nThen save the resulting ImageField and image file to an Amazon S3 bucket, and retrieve it from a different URL on CloudFront (currently using django-storages and boto for this). The filename would be randomly generated (I have yet to write an exception to retry if there\'s a "filename exists" collision when saving to S3):\n\n def generate_filename():\n return get_random_string(length=12, allowed_chars=u\'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\')\n\nAfter saving the original image, generate thumbnails of various sizes with the same filename and a suffix corresponding to the size, ex: `filename_s.jpg`, `filename_m.jpg`, `filename_l.jpg` and save these to another S3 bucket.\n\nThe difficulty for me mostly has to do with not knowing how to implement this in code. Here are the questions I have:\n\n1. How can images be [piped to mozjpeg](https://github.com/mozilla/mozjpeg/blob/master/usage.txt#L25) from Pillow directly and losslessly in memory (without saving to a NamedTemporaryFile)? I primarily want to avoid the situation where Pillow compresses the image and then mozjpeg compresses the already compressed image again, especially if mozjpeg could do a better job at it.\n\n2. I don\'t expect anyone to write my code for me, but a minimal snippet of sample code to help me understand how Python/Pillow can interact with mozjpeg and how everything fits together (where to put the logic of the If statements above) would be very much appreciated. ', 'domain': 'self.Python', 'title': 'Using PIL/Pillow with mozjpeg', 'hide_score': False, 'name': 't3_4b6bew', 'removal_reason': None, 'quarantine': False, 'num_comments': 4, 'author_flair_css_class': None, 'hidden': False, 'edited': 1458447615.0, 'over_18': False, 'created': 1458476003.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 3, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b6bew/using_pilpillow_with_mozjpeg/', 'num_reports': None, 'id': '4b6bew', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 3, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b6bew/using_pilpillow_with_mozjpeg/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': None, 'mod_reports': [], 'author': 'kracekumar', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': False, 'created_utc': 1458493844.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': '', 'domain': 'kracekumar.com', 'title': 'Django admin permission for staff user', 'hide_score': False, 'name': 't3_4b8bw0', 'removal_reason': None, 'quarantine': False, 'num_comments': 0, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458522644.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 1, 'locked': False, 'url': 'http://kracekumar.com/post/141377389440/permissions-in-django-admin', 'num_reports': None, 'id': '4b8bw0', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 1, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b8bw0/django_admin_permission_for_staff_user/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>I frequently have two Jupyter QtConsole windows open. One running under 2.7, and one under 3.5. At the moment I distinguish between the two by using two completely different colour schemes so that I can tell which one I&#39;m working in.</p>\n\n<p>Ideally I&#39;d prefer to be able to change the window title from &quot;Jupyter QtConsole&quot; into something customised, e.g. &quot;Jupyter 3.5&quot;. I haven&#39;t been able to find anything in the documentation that describes changing the title. Is is possible?</p>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'ThatOtherBatman', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458511042.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': 'I frequently have two Jupyter QtConsole windows open. One running under 2.7, and one under 3.5. At the moment I distinguish between the two by using two completely different colour schemes so that I can tell which one I\'m working in.\n\nIdeally I\'d prefer to be able to change the window title from "Jupyter QtConsole" into something customised, e.g. "Jupyter 3.5". I haven\'t been able to find anything in the documentation that describes changing the title. Is is possible?', 'domain': 'self.Python', 'title': 'Setting Title Jupyter QtConsole Window', 'hide_score': False, 'name': 't3_4b9hve', 'removal_reason': None, 'quarantine': False, 'num_comments': 1, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458539842.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 1, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b9hve/setting_title_jupyter_qtconsole_window/', 'num_reports': None, 'id': '4b9hve', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 1, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b9hve/setting_title_jupyter_qtconsole_window/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>I learned to do image processing with PIL/Pillow and I successfully used it for many graphics tasks.</p>\n\n<p>I&#39;m currently trying to nice lines and curves for a new project, but I found that the <code>ImageDraw</code>module doesn&#39;t use anti-aliasing, and the result is pretty ugly. What library could I use to generate better images drawing lines and curves?</p>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'loderunnr', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458504195.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': "I learned to do image processing with PIL/Pillow and I successfully used it for many graphics tasks.\n\nI'm currently trying to nice lines and curves for a new project, but I found that the `ImageDraw`module doesn't use anti-aliasing, and the result is pretty ugly. What library could I use to generate better images drawing lines and curves?", 'domain': 'self.Python', 'title': 'Drawing library with anti-aliasing?', 'hide_score': False, 'name': 't3_4b918x', 'removal_reason': None, 'quarantine': False, 'num_comments': 2, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458532995.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 1, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b918x/drawing_library_with_antialiasing/', 'num_reports': None, 'id': '4b918x', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 1, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b918x/drawing_library_with_antialiasing/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>I have read that this might be because of spaces in my path, but i&#39;ve tried to manually put quotes around each pyi... file in Scripts, and the same error occurs.</p>\n\n<p>There&#39;s no problem with gaining access to the Scripts folder anyways, so i don&#39;t think that&#39;s the issue. I&#39;m using python 3.5.1.</p>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'Grandfather_Clock', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458505049.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': "I have read that this might be because of spaces in my path, but i've tried to manually put quotes around each pyi... file in Scripts, and the same error occurs.\n\nThere's no problem with gaining access to the Scripts folder anyways, so i don't think that's the issue. I'm using python 3.5.1.", 'domain': 'self.Python', 'title': 'I can\'t get PyInstaller to run; prints "failed to create process"', 'hide_score': False, 'name': 't3_4b93c0', 'removal_reason': None, 'quarantine': False, 'num_comments': 4, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458533849.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 0, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b93c0/i_cant_get_pyinstaller_to_run_prints_failed_to/', 'num_reports': None, 'id': '4b93c0', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 0, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b93c0/i_cant_get_pyinstaller_to_run_prints_failed_to/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>Hey,\nI&#39;m about to programm a python script. In this I need to know if the screen is on or in standby at the moment. Is there a Unix (Raspbian) command which tells me this and which I could use in the script?\nbtw. does somebody know how to edit the &quot;go to standby&quot; time for the monitor?\nThanks</p>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'xBlackShad0w', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458502831.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': 'Hey,\nI\'m about to programm a python script. In this I need to know if the screen is on or in standby at the moment. Is there a Unix (Raspbian) command which tells me this and which I could use in the script?\nbtw. does somebody know how to edit the "go to standby" time for the monitor?\nThanks', 'domain': 'self.Python', 'title': 'Command: "is Monitor in standby" in Python?', 'hide_score': False, 'name': 't3_4b8xx5', 'removal_reason': None, 'quarantine': False, 'num_comments': 3, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458531631.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 0, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b8xx5/command_is_monitor_in_standby_in_python/', 'num_reports': None, 'id': '4b8xx5', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 0, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b8xx5/command_is_monitor_in_standby_in_python/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>Here is the code guys!If you could explain it somehow it would be great!</p>\n\n<pre><code>def reverse(text):\n rev=&quot;&quot;\n for i in text:\n rev = i+rev\n return rev\nprint reverse(&quot;Hello guys&quot;)\n</code></pre>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'Py_learner222', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458501283.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': 'Here is the code guys!If you could explain it somehow it would be great!\n\n def reverse(text):\n rev=""\n for i in text:\n rev = i+rev\n return rev\n print reverse("Hello guys")', 'domain': 'self.Python', 'title': 'How did this guy made this code reverse the text?', 'hide_score': False, 'name': 't3_4b8u3h', 'removal_reason': None, 'quarantine': False, 'num_comments': 8, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458530083.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 0, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b8u3h/how_did_this_guy_made_this_code_reverse_the_text/', 'num_reports': None, 'id': '4b8u3h', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 0, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b8u3h/how_did_this_guy_made_this_code_reverse_the_text/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': None, 'mod_reports': [], 'author': 'iniy', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': False, 'created_utc': 1458485572.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': '', 'domain': 'github.com', 'title': 'Planing for a new book, any suggestion?', 'hide_score': False, 'name': 't3_4b7szt', 'removal_reason': None, 'quarantine': False, 'num_comments': 2, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458514372.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 0, 'locked': False, 'url': 'https://github.com/rainyear/Data-Structures-and-Algorithms-in-Interview', 'num_reports': None, 'id': '4b7szt', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 0, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b7szt/planing_for_a_new_book_any_suggestion/', 'archived': False}}, {'kind': 't3', 'data': {'selftext_html': '<!-- SC_OFF --><div class="md"><p>Hello. I am not a coder by trade and am an older guy still in school. I find programming to be an incredibly soothing, creative outlet and have a reasonable amount of experience in C/C++/Java, assembly and VHDL and enjoy them all. I&#39;m having my second go-around trying to learn Python since it seems so popular these days, and I am interested in it currently because of the statistical packages that are offered for it. I find the language incredibly goofy and strange, yet everyone touts it as &#39;easy to learn&#39; and &#39;elegant&#39; and stuff like that. I feel that I&#39;m in the minority here and was wondering if anyone could shed some light on what I&#39;m missing here.</p>\n\n<p>I <em>am</em> interested in portable code, since I&#39;m primarily a Linux user but would like to create things readily-runnable on other platforms. But the syntax and whole philosophy behind Python...I&#39;m just not getting it.</p>\n\n<p>Any takers? I&#39;m not trying to spark a fire here, I just really want to know if there&#39;s something I&#39;m missing. I have scoured the net for reasons and am still not convinced. </p>\n</div><!-- SC_ON -->', 'mod_reports': [], 'author': 'jaques_sauvignon', 'distinguished': None, 'from_id': None, 'approved_by': None, 'is_self': True, 'created_utc': 1458479500.0, 'link_flair_text': None, 'media': None, 'subreddit': 'Python', 'selftext': "Hello. I am not a coder by trade and am an older guy still in school. I find programming to be an incredibly soothing, creative outlet and have a reasonable amount of experience in C/C++/Java, assembly and VHDL and enjoy them all. I'm having my second go-around trying to learn Python since it seems so popular these days, and I am interested in it currently because of the statistical packages that are offered for it. I find the language incredibly goofy and strange, yet everyone touts it as 'easy to learn' and 'elegant' and stuff like that. I feel that I'm in the minority here and was wondering if anyone could shed some light on what I'm missing here.\n\nI *am* interested in portable code, since I'm primarily a Linux user but would like to create things readily-runnable on other platforms. But the syntax and whole philosophy behind Python...I'm just not getting it.\n\nAny takers? I'm not trying to spark a fire here, I just really want to know if there's something I'm missing. I have scoured the net for reasons and am still not convinced. ", 'domain': 'self.Python', 'title': 'As a C-family guy, convince me to learn Python?', 'hide_score': False, 'name': 't3_4b7fph', 'removal_reason': None, 'quarantine': False, 'num_comments': 18, 'author_flair_css_class': None, 'hidden': False, 'edited': False, 'over_18': False, 'created': 1458508300.0, 'from_kind': None, 'suggested_sort': None, 'thumbnail': '', 'likes': None, 'stickied': False, 'downs': 0, 'banned_by': None, 'media_embed': {}, 'ups': 0, 'locked': False, 'url': 'https://www.reddit.com/r/Python/comments/4b7fph/as_a_cfamily_guy_convince_me_to_learn_python/', 'num_reports': None, 'id': '4b7fph', 'clicked': False, 'from': None, 'subreddit_id': 't5_2qh0y', 'user_reports': [], 'score': 0, 'secure_media': None, 'author_flair_text': None, 'gilded': 0, 'visited': False, 'secure_media_embed': {}, 'report_reasons': None, 'link_flair_css_class': None, 'saved': False, 'permalink': '/r/Python/comments/4b7fph/as_a_cfamily_guy_convince_me_to_learn_python/', 'archived': False}}], 'after': None}}
No comments:
Post a Comment