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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,283
» Latest member: alexferrina
» Forum threads: 38,793
» Forum posts: 175,876

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 31 Guest(s)
Bing, Google, Facebook, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
2 hours ago
» Replies: 0
» Views: 9
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
11 hours ago
» Replies: 5
» Views: 111
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 47
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,482
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 139
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 62
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,069
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,298
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 365
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 206

 
  Class code problem from CS Dojo YouTube
Posted by: Dixon - Feb-04-2020, 07:20 PM - Forum: General Coding Help - Replies (3)

[python]class Robot:
def introduce_self(self)
print("My name is " + self.name)

r1 = Robot()
r1.name = "Tom"
r1.color = "red"
r1.weight = 30
..... More

Print this item

  Replace Bytes in File between Value X and Y with Z
Posted by: lastyle - Feb-04-2020, 04:56 PM - Forum: Data Science - Replies (3)

Hi all

I`ve got a File that contains different Byte Values and i need some of them to be exchanged.

Idea is to read the entire File into an Arra..... More

Print this item

  Best way to map trajectory data on Google Maps
Posted by: Gduffley - Feb-04-2020, 04:26 PM - Forum: General Coding Help - Replies (1)

I have a single csv file containing latitudes and longitudes coordinates of trajectories by multiple objects. I wish to plot those trajectories on a s..... More

Print this item

  How can I simplify this code?
Posted by: frednet - Feb-04-2020, 03:57 PM - Forum: GUI - Replies (3)

I'm trying to write a simple bit of code with tkinter to enable me to switch on and off all the gpio pins with checkbuttons. I've got a basic example ..... More

Print this item

  Screenshot in tkinter
Posted by: raghav7203 - Feb-04-2020, 02:38 PM - Forum: GUI - Replies (2)

How to take screenshot of a particular frame of tkinter and export it as png file to a specific location in ubuntu

Print this item

  Simple text to binary python script
Posted by: gmills13 - Feb-04-2020, 02:31 PM - Forum: General Coding Help - Replies (2)

Hi all,

super new to python and working on a text to binary convertor using a dictionary, and wanting to understand how I get back to text after I..... More

Print this item

  help with sys.get_frame
Posted by: palladium - Feb-04-2020, 02:26 PM - Forum: General Coding Help - Replies (2)

This is the code:

[python]
def date_parser(date):
while True:
try:
checked_date = datetime.strptime(date,'%d %b %Y')
..... More

Print this item

  Data dtype error according to the rule "safe"
Posted by: AndreasMavro - Feb-04-2020, 02:04 PM - Forum: Data Science - Replies (5)

Hello everyone,

I am trying to plot a regression from the Seaborn library in Pycharm, and unfortunately I stumble upon an error which I feel may be d..... More

Print this item

  Seaborn clustermap clustered data
Posted by: YoYo1975 - Feb-04-2020, 08:31 AM - Forum: Data Science - Replies (2)

Dear all,
I am using seaborn clustermap to produce an heatmap with clustering starting with thousands of rows. Because of this not all the row names ..... More

Print this item

  list sum gives unexpected result
Posted by: Nesso - Feb-04-2020, 08:31 AM - Forum: General Coding Help - No Replies

I am trying to sum some lists in order to get this result:
[output]
\start5/8 e16 b16 c16 a2
\start3/8 e16 b2 a16 f16
\start6/8 c16 b8
\start6..... More

Print this item

  scipy interp2d doesn't work
Posted by: player1681 - Feb-04-2020, 08:27 AM - Forum: Data Science - Replies (4)

Hello everybody. I have a .txt file in which a grid of X and Y points and values of f(X, Y) in said grid are constructed as columns. I am trying to pr..... More

Print this item

  How to change part of the value string in Python Dictionary?
Posted by: sbabu - Feb-04-2020, 06:57 AM - Forum: Homework - Replies (11)

How to change part of the value string in Python Dictionary?

recs = {1: ['Susan Smith', 'ssmith@example.com'], 2: ['Cole Brown', 'cb@exampl..... More

Print this item

  Python stops without errors
Posted by: shahgourav - Feb-04-2020, 06:47 AM - Forum: General Coding Help - Replies (4)

Hi,

I have a program which collects data from MQTT broker and stores into SQL Database. When Connection to SQL DB is lost then it stores into local..... More

Print this item

  Update All Packages
Posted by: Evil_Patrick - Feb-04-2020, 04:52 AM - Forum: General Coding Help - Replies (4)

Is it Possible to update all Installed Python packages at once using Pip? Think Think

Print this item

  How can I use CRC libs in python?
Posted by: blodht - Feb-03-2020, 10:26 PM - Forum: General Coding Help - No Replies

Hi! I'm trying to use the checksum algorithm CRC in my code (python), but I'm facing several dificulties. I tried to implement a CRC algorithm by my o..... More

Print this item

  Type Hinting - who's using it?
Posted by: micseydel - Feb-03-2020, 09:50 PM - Forum: News and Discussions - Replies (7)

Who's using type hinting? What are your thoughts on it so far?

Print this item

  Python Starter-Looking for help!
Posted by: PythonStarter55561 - Feb-03-2020, 09:47 PM - Forum: General Coding Help - Replies (3)

,hello

I'm a new python starter and I need help in a script that I need to make.

In the script, the user needs to input the length of the square's r..... More

Print this item

  How to make input goto a different line
Posted by: mxl671 - Feb-03-2020, 09:35 PM - Forum: General Coding Help - Replies (2)

I'm relatively new to Python and coding and general although I've been doing batch and HTML for a while. My friend wants me to make a sales tax calcu..... More

Print this item

  Python3: how to read binary?
Posted by: alexel - Feb-03-2020, 09:18 PM - Forum: General Coding Help - No Replies

Hi!

I try to upload mp4 video file. When I use Python 2+ it works. When I use Python 3 - not

I read the file as binary.

[python]
def get_fil..... More

Print this item

  Creating a code to make unreadable pdf characters readable
Posted by: Tegendraads - Feb-03-2020, 09:10 PM - Forum: Data Science - Replies (1)

Hi There!

I just got into machine learning and data science and was wondering if it would be possible to create a code for the following:

In my dail..... More

Print this item

  Help with a for loop & json...
Posted by: t4keheart - Feb-03-2020, 09:07 PM - Forum: General Coding Help - Replies (1)

Hi everyone,
I'm still stuck trying to get a working function to iterate through a chunk of json, and add the relevant keys/values to a list or dict..... More

Print this item

  program crashing
Posted by: antonzachrisson - Feb-03-2020, 08:42 PM - Forum: General Coding Help - Replies (1)

This is a function that i made for showing all empty squares neighbouring a empty square when clicked. (the program is minesweeper)
[python]
def gra..... More

Print this item

  Not Getting the Desired value using json.dumps
Posted by: saurabh210 - Feb-03-2020, 06:46 PM - Forum: General Coding Help - No Replies

I am Trying to make a small code which will take values from excel and make a json file . I get the desired output except 1 issue . Below is my Code
..... More

Print this item

  TypeError: type str doesn't define __round__ method
Posted by: emmapaw24 - Feb-03-2020, 05:59 PM - Forum: General Coding Help - Replies (7)

Hi, I am unsure how to use the round function for my problem, I am trying to write code that finds the cost of electricity using the wattage, hours an..... More

Print this item

  unicode to ascii for look-like letters
Posted by: Skaperen - Feb-03-2020, 05:57 PM - Forum: News and Discussions - Replies (2)

does anyone know of a module or database to convert Unicode to ASCII of look-like letters? by that i mean any codes above 127 that have an appearance..... More

Print this item

  Intuitively understanding Python
Posted by: iofhua - Feb-03-2020, 05:28 PM - Forum: News and Discussions - Replies (3)

I've been learning Python from one of the No Starch Press books. "Python Crash Course" by Eric Matthes. I've started on the first project - an Alien I..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'str'
Posted by: emmapaw24 - Feb-03-2020, 05:15 PM - Forum: General Coding Help - Replies (2)

Hi, I'm new to python so the answer to this may be obvious, but I'm trying to write code to find the cost of electricity used by a device using wattag..... More

Print this item

  Question on returning methods in a class
Posted by: menator01 - Feb-03-2020, 04:17 PM - Forum: Web Scraping & Web Development - Replies (3)

As the title states, I'm trying to figure out how to access the return on a query in django.

models.py
[python]
class Board(models.Model):
c..... More

Print this item

  Unable to write to excel - Using openpyxl module
Posted by: starstud - Feb-03-2020, 03:44 PM - Forum: General Coding Help - Replies (2)

Hi there,

Trying to write simple class for writing data in to excel file.

first create workbook and saved to the given file name

[python]..... More

Print this item

  error handling in multiprocessing /spawn.py
Posted by: Cees - Feb-03-2020, 03:22 PM - Forum: Data Science - No Replies

error handling in multiprocessing/spawn.py line 136

i am trying to run an example from squanch document file:///C:/Users/User/Anaconda3/squanch/squ..... More

Print this item

  Process (pool,map) strange behaviour
Posted by: maverick76 - Feb-03-2020, 12:54 PM - Forum: General Coding Help - Replies (1)

Still editing sorry


[python]import configparser,os,sys,time,mysql.connector,logging,io,locale,threading,queue
from gen_rapport import *
..... More

Print this item

  Getting Index Error - list index out of range
Posted by: RahulSingh - Feb-03-2020, 06:27 AM - Forum: Data Science - Replies (2)

Hi,
I am new to Python and doing a web scraping project and trying to web scrape the data from restaurant aggregator site (https://www.zomato.com/mum..... More

Print this item

  how to compare two different size images in python and find corresponding pixel value
Posted by: squidsirymchenry - Feb-03-2020, 05:57 AM - Forum: General Coding Help - Replies (1)

[I'm currently doing this project in which I have two similar images, however they are in slightly different angles. Think of it as shifting left, rig..... More

Print this item

  filter just with the string word
Posted by: jacklee26 - Feb-03-2020, 05:15 AM - Forum: General Coding Help - Replies (2)

Do anyone know to to just print the string after query from mib?
After running the script will show "Test:SNMPv2-SMI::mib-2.69.1.4.5.0 = STRING: "test..... More

Print this item

  Installation Trouble
Posted by: b0yw0nder - Feb-03-2020, 04:43 AM - Forum: General Coding Help - No Replies

Hi guys having trouble installing python 3.8.1 on win7 64bit.

The gui says I need to make sure sp1 and all applicable updates are installed.

The..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 2 hours ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... 11 hours ago drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579258
  Tutorial Requ... 512103
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379598
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexferrina Today
MattCarters Yesterday
drakhsin Yesterday
MileHigh303 11-21
ndx101 11-21

User Panel Messages

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