Is there a function to calculate total IP addresses from a CIDR IP range?: https://www.reddit.com/r/Python/comments/8cul6z/is_there_a_function_to_calculate_total_ip/
reddit
Is there a function to calculate total IP addresses... • r/Python
Does anyone know of an existing Python function to do this? I have a file with a list of non-overlapping CIDRs like this: 1.2.0.0/16 ...
Does the performance of numpy differ depending on the operating system?: https://stackoverflow.com/questions/49541307/does-the-performance-of-numpy-differ-depending-on-the-operating-system
Stackoverflow
Does the performance of numpy differ depending on the operating system?
Reading the interesting book "From Python to Numpy" I met an example, the description of which is as follows:
Let's consider a simple example where we want to clear all the values
from an ar...
Let's consider a simple example where we want to clear all the values
from an ar...
Speed: read csv to iterate through list vs copy paste list into variable in code?: https://www.reddit.com/r/Python/comments/8cusvc/speed_read_csv_to_iterate_through_list_vs_copy/
reddit
Speed: read csv to iterate through list vs copy paste... • r/Python
I have a list of all zip codes in the us. I can loop through these zip codes by reading the csv file or just copy pasting the list into a list...
Course that takes you through actual development: https://www.reddit.com/r/Python/comments/8cuxsn/course_that_takes_you_through_actual_development/
reddit
Course that takes you through actual development • r/Python
Is there any course out there that takes you through a software developing process that people do in real professional settings? Covering things...
Compiling multiple resources to exe: https://www.reddit.com/r/Python/comments/8cvagk/compiling_multiple_resources_to_exe/
reddit
Compiling multiple resources to exe • r/Python
I have a python script and two XML files how would i compile them to just one exe? That can run on other computers without any other files necessary
Is there any standardized task library?: https://www.reddit.com/r/Python/comments/8cvap2/is_there_any_standardized_task_library/
reddit
Is there any standardized task library? • r/Python
Hi everyone :) So I just did the migration from `ruby` into `python`, and I am baffled couple of things, one of them being task library. On Ruby...
Facing trouble with Bootstrap in Flask: https://www.reddit.com/r/Python/comments/8cvq72/facing_trouble_with_bootstrap_in_flask/
reddit
Facing trouble with Bootstrap in Flask • r/Python
I've been following a tutorial to learn web development and I came across Bootstrap that I didn't have any prior experience with. I installed...
Convert pandas dataframe to numpy array, preserving index: https://stackoverflow.com/questions/13187778/convert-pandas-dataframe-to-numpy-array-preserving-index
Stack Overflow
Convert pandas dataframe to numpy array, preserving index
I am interested in knowing how to convert a pandas dataframe into a numpy array, including the index, and set the dtypes.
dataframe:
import numpy as np
import pandas as pd
index = [1, 2, 3, 4, 5...
dataframe:
import numpy as np
import pandas as pd
index = [1, 2, 3, 4, 5...
Image comparison database discussion: https://www.reddit.com/r/Python/comments/8cwjwz/image_comparison_database_discussion/
reddit
Image comparison database discussion • r/Python
I'm starting to look towards a new project and an image comparison database, and I'm hoping to get some insights. I'd really like to take a...
I made a command-line tool that instantly fetches Stack Overflow results when you get a compiler error: https://www.reddit.com/r/Python/comments/8cwq72/i_made_a_commandline_tool_that_instantly_fetches/
reddit
I made a command-line tool that instantly fetches Stack Overflow...
Posted in r/Python by u/jsonathan • 1,569 points and 78 comments
create PNG image from sparse data: https://stackoverflow.com/questions/33713221/create-png-image-from-sparse-data
Stackoverflow
create PNG image from sparse data
I would like to store a PNG image in Python where the RGB values are given by the list
entries = [
[1, 2, [255, 255, 0]],
[1, 5, [255, 100, 0]],
[2, 5, [0, 255, 110]],
# ...
] ...
entries = [
[1, 2, [255, 255, 0]],
[1, 5, [255, 100, 0]],
[2, 5, [0, 255, 110]],
# ...
] ...
Celery Task Workers - Prefork vs gevent vs eventlet: https://www.reddit.com/r/Python/comments/8cwy51/celery_task_workers_prefork_vs_gevent_vs_eventlet/
reddit
Celery Task Workers - Prefork vs gevent vs eventlet • r/Python
Hi guys, new here, hoping someone could help me out with an issue i've been having and/or point me in the right place. I'm using celery task...
did Instagram use only python at the beginning?: https://www.reddit.com/r/Python/comments/8cwru0/did_instagram_use_only_python_at_the_beginning/
reddit
did Instagram use only python at the beginning? • r/Python
I read in some places that Instagram and a lot of famous site and apps started using only python (I read that Instagram used Django), and I'm...
What's everyone working on this week?: https://www.reddit.com/r/Python/comments/8cwslw/whats_everyone_working_on_this_week/
reddit
What's everyone working on this week? • r/Python
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
Hide message inside a string, using non printable characters. Useful for fingerprinting texts.: https://www.reddit.com/r/Python/comments/8cxjwq/hide_message_inside_a_string_using_non_printable/
reddit
Hide message inside a string, using non printable... • r/Python
1 points and 0 comments so far on reddit
I want to create a browser game in python.: https://www.reddit.com/r/Python/comments/8cxtvh/i_want_to_create_a_browser_game_in_python/
reddit
I want to create a browser game in python. • r/Python
I intend to create a game based on logic gates for my student project. Could you guys please suggest how can I go about doing that in python? My...