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,983
» Latest member: Williamcaurb
» Forum threads: 38,733
» Forum posts: 175,567

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 40 Guest(s)
Applebot, Google, Bing, AOL, Mojeek, AOL

Latest Threads
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Williamcaurb
25 minutes ago
» Replies: 5
» Views: 13,910
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Larz60+
31 minutes ago
» Replies: 1
» Views: 60
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
9 hours ago
» Replies: 4
» Views: 2,011
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 420
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,058
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,120
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 782
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,081
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,528
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,113

 
  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

  Import Text, output curve geometry
Posted by: Alyner - Feb-03-2020, 02:58 AM - Forum: General Coding Help - No Replies

Hello Pyton Community,

New user here and a complete newbie to Python. I understand this question is likely very advanced for a new beginner to this..... More

Print this item

  Passing variable to another function
Posted by: JonnyDriller - Feb-02-2020, 11:43 PM - Forum: General Coding Help - Replies (10)

I couldn't get this variable passed to the next function. This last bit of code is me throwing everything at it. This actually worked but strangely st..... More

Print this item

  Read file Into array with just $0d as Newline
Posted by: lastyle - Feb-02-2020, 10:58 PM - Forum: Data Science - Replies (5)

I have a Textfile that contains several Lines, but just contains $0d as new Line instead of $0d $0a

When i load this into a List with

[python] ..... More

Print this item

  Creating Discord Bot: Unused import statement 'import discord
Posted by: EyeballCandy - Feb-02-2020, 10:52 PM - Forum: General Coding Help - No Replies

Hi everyone,

I'm trying to create a bot in Discord, using these tutorials
1.https://realpython.com/how-to-make-a-discord-bot-python/
2.https://ww..... More

Print this item

  Getting a list of filenames in a directory
Posted by: DavidHT - Feb-02-2020, 09:48 PM - Forum: General Coding Help - Replies (2)

Hi all, Python is very new to me, and I'm still finding my feet, so I apologise in advance if this is a daft question. I think this is my first post!..... More

Print this item

  New AI tool to visualize Python code - testers needed
Posted by: FabianEggers - Feb-02-2020, 09:44 PM - Forum: News and Discussions - No Replies

Hello everyone,

We are currently working on a tool (Intellireviewer) to visualize code written in Python – with the goal to help developers unders..... More

Print this item

  Function: SyntaxError: invalid syntax
Posted by: vejin - Feb-02-2020, 08:14 PM - Forum: General Coding Help - Replies (2)

Hello,

Please see the following (I want to ascertain the monthly rent amount of an apartment by entering the weekly amount & play around with functio..... More

Print this item

  Best Python Books for Starters and more Advanced
Posted by: m0dev - Feb-02-2020, 07:38 PM - Forum: News and Discussions - Replies (5)

Hi all,

I tried writing an article about the Best Python Books.
I came back with 3..... More

Print this item

  Editor with unlimited buffer size and functional macro
Posted by: Larz60+ - Feb-02-2020, 07:35 PM - Forum: Bar - Replies (2)

Hello,

I've been looking, without real success for an editor that is capable of:

  • Being installed on Linux Mint 19.1
  • Unlimited buffe..... More

Print this item

  recursion
Posted by: bilbo_dragons - Feb-02-2020, 07:17 PM - Forum: Homework - Replies (1)

Write a program that, given a starting location in a 2D grid of characters, will count how many contiguously connected @ symbols there are. Cells have..... More

Print this item

  Error printing colored text
Posted by: julio2000 - Feb-02-2020, 07:04 PM - Forum: General Coding Help - No Replies

print('\033[31m' + 'Hello' + '\033[0m')  # this prints 'hello' in red text
So when I run this in Pycharm it works and prints o..... More

Print this item

  Python 2.7 Import error. Directory and filename conflict
Posted by: petcoo00 - Feb-02-2020, 06:55 PM - Forum: General Coding Help - Replies (2)

Hello

Suppose you have this folder and file structure
[python]
/ProjectDir
/library1
utils.py
somemodule.py
/utils
..... More

Print this item

  How do I apply a Gaussian blur to a particular edge of geometry in Matplotlib?
Posted by: hbolandi - Feb-02-2020, 06:08 PM - Forum: General Coding Help - No Replies

I want to apply Gaussian blur to a particular edge of polygons. The code below generates 4 white polygons in black rectangle which the left edge in gr..... More

Print this item

  Please help. Simple homework
Posted by: Asm0deus314 - Feb-02-2020, 05:12 PM - Forum: Homework - Replies (3)

Exercise 1:

What’s wrong with this code?

The following code should read an integer into the variable rating:

rating = input ('Enter an intege..... More

Print this item

  Loop independent of excecution time of a script
Posted by: Forelli - Feb-02-2020, 01:59 PM - Forum: General Coding Help - Replies (8)

Hi

I have a script that needs to run every minute. I have used

time.sleep(60)
for this. Unfortunately the execution of the script ..... More

Print this item

  Problem with adding arbitrary parrameters to __init__ method
Posted by: sebastianvdn - Feb-02-2020, 01:15 PM - Forum: General Coding Help - Replies (1)

Hello Python community,

At the moment i'm starting to learn Python and it is going well, but I'm a bit stuck figuring out why the def _..... More

Print this item

  running Python on Windows OS / IIS server
Posted by: ajetrumpet - Feb-02-2020, 01:03 PM - Forum: General Coding Help - Replies (4)

hey guys,

I have to purchase hosting plans with providers like goDaddy and InMotion because I don't have my own servers, and they are telling me th..... More

Print this item

  Error in continue statement
Posted by: Man_from_India - Feb-02-2020, 12:47 PM - Forum: General Coding Help - Replies (1)

[python]for i in range(len(openings)):

# Extraction job description

opening = openings[i].find_all("p")

# To check if fi..... More

Print this item

  Shutil move if file exists in destination
Posted by: Friend - Feb-02-2020, 12:42 PM - Forum: General Coding Help - Replies (2)

Hi all,

i am just learning about the modul shutil and tried to move a file to a destination folder.
It works. However if i try to run the script a..... More

Print this item

  How to get previous non empty value of another column
Posted by: klllmmm - Feb-02-2020, 11:19 AM - Forum: General Coding Help - Replies (1)

I'm trying to get the previous non-empty value of another column.

Sample of my data frame
[python]
import pandas as pd
table = pd.DataFrame(data..... More

Print this item

  Line of best fit for forward bias curve?
Posted by: StillAnotherDave - Feb-02-2020, 10:31 AM - Forum: Homework - Replies (6)

Hello folks,

I have a physics report to write up and graphs need to be digitally produced. How do I add a line of best for the data below (the dat..... More

Print this item

  PYTHON - GOOGLE... create new spreadsheet?
Posted by: danclark81 - Feb-02-2020, 10:01 AM - Forum: General Coding Help - Replies (3)

Hi folks.

I'm not entirely sure it's even possible, but I'm hoping some genius could explain to me how to make Python (PyCharm) create entirely new..... More

Print this item

  sorting list
Posted by: arian29 - Feb-02-2020, 09:52 AM - Forum: General Coding Help - Replies (2)

Why does print(listA.sort()) return None ? But if I sort first and then print(listA), returns the sorted list items.

[python]listA=[1,2,3,9,8,7,6]..... More

Print this item

  My Python programming book for kids is free for 48 hours
Posted by: kenttong - Feb-02-2020, 09:45 AM - Forum: News and Discussions - No Replies

Hi,

If you're interested, please get it for free at:
https://www.amazon.com/Yes-Kids-can-lear...ref=sr_1_3

This is a ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Webscrapping sport bettin... 25 minutes ago KoinKoin Williamcaurb Web Scraping ...
  Parse Markdown / get the ... 31 minutes ago SpongeB0B Larz60+ General Codin...
  Error: cannot mix str wit... 9 hours ago ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
Most views
  The best Prog... 577444
  Tutorial Requ... 500955
  Web Scraping ... 441076
  Newbie with P... 385142
  New Users Int... 369700
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+ 12092
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Williamcaurb Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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