Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,965
» Latest member: zalexstolzeoz5360
» Forum threads: 38,730
» Forum posts: 175,548

Full Statistics

Online Users
There are currently 64 online users.
» 2 Member(s) | 55 Guest(s)
Applebot, Bing, AOL, Google, Mojeek, AOL, zalexstolzeoz5360, kshahzad1985

Latest Threads
unable to flash micropyth...
Forum: Bar
Last Post: zalexstolzeoz5360
3 minutes ago
» Replies: 4
» Views: 7,980
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 4
» Views: 118
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 491
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,035
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,592
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 494
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 964
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 975
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,247
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,855

 
  Find only the rows containing null values
Posted by: Bhavika - Jun-10-2020, 01:06 PM - Forum: General Coding Help - Replies (2)

In a given dataset, I want to print the rows which have null value but with their actual values and not any bool values.
For example, if the dataset ..... More

Print this item

  Package delivery app, what is the best database to use
Posted by: Mainer - Jun-10-2020, 11:49 AM - Forum: News and Discussions - Replies (1)

In dire need of an app to manage 200+ packages on a 600+ box postal route
Need a local file dB to enter 600 box #’s of the route along with road name..... More

Print this item

  tkinter tic tac toe
Posted by: menator01 - Jun-10-2020, 10:44 AM - Forum: News and Discussions - Replies (8)

Just wanted to share the updated graphics view that I'm working on for the simple tic tac toe game I did.
What it looks like on my ubuntu. Since tkin..... More

Print this item

  Matplotlib figsize and centering issue on canvas
Posted by: deffonotsean - Jun-10-2020, 10:31 AM - Forum: GUI - No Replies

I'm trying to center a Matplotlib chart in a GUI using Tkinter. The issue is I can't seem to center the figure in the center of the canvas (as you can..... More

Print this item

  square root of 5 input numbers
Posted by: mrityunjoy - Jun-10-2020, 10:15 AM - Forum: General Coding Help - Replies (1)

Hi,

I have written the below piece of code, but output is showing list every time based on number of input. My expectation is to publish final list..... More

Print this item

  using python with QGIS to disseminate CSV data on a polygon
Posted by: wissam1974 - Jun-10-2020, 10:13 AM - Forum: General Coding Help - No Replies

Hi all,
i am a newbie programmer on QGIS with python.

i am working on QGIS version 3.12.3-București having a python interface prompt to write pyth..... More

Print this item

  PUT http query return <Response [500]>
Posted by: rndoma - Jun-10-2020, 09:41 AM - Forum: Web Scraping & Web Development - Replies (7)

I need to send a Json from a file to a server. The server doesn't allow to send bulk Json, juste one by one. I put my json in a file and I have to sen..... More

Print this item

  StopIteration exception when mock PostgreSQL connection in several tests
Posted by: igor87z - Jun-10-2020, 07:21 AM - Forum: General Coding Help - Replies (1)

Hi
I mock connect to Postgresql(psycopg2) in two tests

[python]from unittest.mock import patch, MagicMock

with patch('psycopg2.pool.ThreadedCon..... More

Print this item

  [Socket] Can a server be accessible from devices not in the same network?
Posted by: SheeppOSU - Jun-10-2020, 05:53 AM - Forum: Networking - Replies (2)

I assume that it has to do with the port and host of the Socket server, and if so, then what host and port can I choose so that devices not just in a ..... More

Print this item

  regular expression
Posted by: pramod - Jun-10-2020, 03:36 AM - Forum: Data Science - Replies (6)

HI i have question on regular expression
i am trying to match the text using re.search

example: [b]original text = '[SYS_1] system application [EN..... More

Print this item

  Pip question
Posted by: millpond - Jun-10-2020, 01:44 AM - Forum: Homework - Replies (1)

Not homework but n00b enough for it to be.

Working with Debian Buster, loaded with system python and Pypi packages. Slowly updating it via Pypi as ..... More

Print this item

  Error When Writing to SQL Table
Posted by: skaailet - Jun-09-2020, 11:13 PM - Forum: General Coding Help - Replies (1)

Im getting an error "the machine refuses it" when running my script to write to a table
[python]
from pylogix import PLC
import sys
sys.path.appen..... More

Print this item

  tkinter tic tac toe
Posted by: menator01 - Jun-09-2020, 11:13 PM - Forum: Code sharing - Replies (2)

A very basic tic tac toe in tkinter. one game win, loose, or draw and the game ends.

[python]
#! /usr/bin/env python3
'''tkinter tic tac toe'''
..... More

Print this item

  My first professional blog post
Posted by: micseydel - Jun-09-2020, 09:58 PM - Forum: Bar - No Replies

For those interested, I recently published my first professional blog post: https://techblog.livongo.com/etl-from-mo...-redshift/

I almost didn'..... More

Print this item

  Computing the distance between each pair of points
Posted by: Truman - Jun-09-2020, 09:31 PM - Forum: Data Science - Replies (11)

[python]
X = rand.rand(10, 2)
%matplotlib inline
import matplotlib.pyplot as plt
import seaborn; seaborn.set() # Plot styling
plt.scatter(X[:, 0]..... More

Print this item

  Turn coordinates in string into a tuple
Posted by: Kolterdyx - Jun-09-2020, 09:20 PM - Forum: General Coding Help - Replies (3)

I have a dict that stores chunk coordinates and their content in a game I'm making. It looks like this


[python]chunks = {
'0,0' : <content>,
'0..... More

Print this item

  Problem Sending a Dataset to a function
Posted by: Astrikor - Jun-09-2020, 09:07 PM - Forum: General Coding Help - Replies (2)

I'm have a problem operating on a set of integers to determine the gradient of the sequence.
in principle it works ok.

I have posted the main cod..... More

Print this item

  Predicting/Forecasting Future Values
Posted by: BadWhite - Jun-09-2020, 07:08 PM - Forum: Data Science - Replies (1)

[b]Hey Guys,

I'm dealing too much with forecasting in my work.So, I made some code that will predict for me the load in my area. The good news is t..... More

Print this item

  Syntax Highlighting in Text Editor
Posted by: ShakeyPakey - Jun-09-2020, 06:43 PM - Forum: GUI - Replies (4)

I am wondering if there is a way using the Python module tkinter to colour text, or do "syntax highlighting". I am making my own text editor using tki..... More

Print this item

  Write to SQL Table
Posted by: skaailet - Jun-09-2020, 05:43 PM - Forum: General Coding Help - Replies (1)

How can I change my code to write to a SQL Table instead to a Excel File

The code I use is this one

[python]from pylogix import PLC
import sys..... More

Print this item

  functions
Posted by: Rudson67 - Jun-09-2020, 04:43 PM - Forum: Homework - Replies (2)

Hi, I have a big problem with this task. Can someone help me? Thank you in advance! :)

Modify the program from point 1 so that the function instead..... More

Print this item

  Turtle python graphics
Posted by: Y0sh1 - Jun-09-2020, 03:16 PM - Forum: General Coding Help - Replies (6)

Hello,

I need help, i need to write a function using turtle in pyhon.
That takes in entry(x0,y0,D)
x0 et y0 are the first coordinate points in t..... More

Print this item

  Pygame : clearing a screen issue
Posted by: Reldaing - Jun-09-2020, 03:14 PM - Forum: Game Development - Replies (4)

Hi, I'm currently stuggling with clearing my screen on pygame when a button is clicked. For example, when pygame.mouse.get_pressed()[0]==1 in my loop ..... More

Print this item

  How to Solving non-linear equation using scipy.optimize fsolve with variable list
Posted by: djhak - Jun-09-2020, 02:57 PM - Forum: General Coding Help - Replies (3)

Hi every one,
when i am trying solve this equation using fsolve with variables as list
[Image: 2ZOfu.png]
can any help ..... More

Print this item

  Why is one duplicate not removed?
Posted by: Emekadavid - Jun-09-2020, 02:11 PM - Forum: General Coding Help - Replies (4)

This code removes the duplicates in two lists. But when I run it, one of the duplicates is not removed. It beats me. Can someone explain to me why.
..... More

Print this item

  Running three-year old python code
Posted by: ErnestTBass - Jun-09-2020, 01:50 PM - Forum: News and Discussions - Replies (4)

If someone has some python 3 code that is say three years old how does one run it? Say it has no requirmenets.txt file so one must run it by one's wit..... More

Print this item

  Problem loading an image dataset into Tensorflow
Posted by: MohammedSohail - Jun-09-2020, 01:47 PM - Forum: General Coding Help - Replies (1)

I was trying to load an image dataset which has 50000 images of cats and dogs.

I don't know the code to load the dataset in tensorflow
If you want..... More

Print this item

  WebDriverException: 'chromedriver' executable needs to be in PATH
Posted by: pyzyx3qwerty - Jun-09-2020, 01:37 PM - Forum: Web Scraping & Web Development - Replies (9)

Running code to scrape items from the website and display it
[python]
from selenium import webdriver
from bs4 import BeautifulSoup
import pandas a..... More

Print this item

  How to load an image dataset into Tensorflow ?
Posted by: MohammedSohail - Jun-09-2020, 01:21 PM - Forum: News and Discussions - No Replies

I was trying to load an image dataset which has 50000 images of cats and dogs.

I don't know the code to load the dataset in tensorflow
If you want..... More

Print this item

  Continuous improvement for Python security
Posted by: ganncamp - Jun-09-2020, 12:48 PM - Forum: News and Discussions - Replies (1)

Hi all,

At SonarSource we're pushing hard this year on Code Quality and Security for Python. Most recently, we've been working on detection of Cros..... More

Print this item

  Please help me to write code for this
Posted by: vij - Jun-09-2020, 12:40 PM - Forum: Homework - Replies (8)

Hi,

can anyone please help me to write code for this one

5 5 5 5 5
5 4 4 4 4
5 4 3 3 3
5 4 3 2 2
5 4 3 2 1

kindly help, matrix value c..... More

Print this item

  Using a list of variables
Posted by: Zane217 - Jun-09-2020, 12:06 PM - Forum: General Coding Help - Replies (6)

Hi all,

I have been working on a robot car for a while in an attempt to teach my son how to code. I have everything working but I am aware that my..... More

Print this item

  pip install -e ., ERROR: Failed building wheel for pyfarmhash
Posted by: mostafaPython - Jun-09-2020, 10:55 AM - Forum: General Coding Help - Replies (1)

Hello ,

when I : pip install -e .

the output is : [output]Building wheels for collected packages: pyfarmhash
Building wheel for pyfar..... More

Print this item

  Help With Shelf
Posted by: pdub787 - Jun-09-2020, 10:13 AM - Forum: Homework - Replies (1)

This may be more of a linux question, but I'm working through the Multi-Clipboard project in Automate the Boring Stuff. The code runs perfectly when e..... More

Print this item

  Problem with VS code and Anaconda
Posted by: angelica - Jun-09-2020, 09:37 AM - Forum: News and Discussions - Replies (2)

Hi ,

I have installed VS code and Anaconda and new to python. I am stuck with this warning and appreciate help to resolve this issue Here is my wa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  unable to flash micropyth... 3 minutes ago apollo zalexstolzeoz5360 Bar
  Comparing 2 100GB Drives/... 4 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
Most views
  The best Prog... 577205
  Tutorial Requ... 500242
  Web Scraping ... 440903
  Newbie with P... 384918
  New Users Int... 369216
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
zalexstolzeoz5360 Today
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday

User Panel Messages

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