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 32 online users.
» 1 Member(s) | 27 Guest(s)
Google, Bing, Apple, 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

 
  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

  libpython3.x
Posted by: Jeff - Feb-02-2020, 09:13 AM - Forum: General Coding Help - Replies (5)

Running Domoticz which is an application for Home Automation
» Sunday 02 February 2020 8:28

Macos Catalina - macOS 10.15.3 (19D76)

Error
Status: Pl..... More

Print this item

  Selection and display of data by combobox
Posted by: LagratteCchouette - Feb-02-2020, 07:12 AM - Forum: General Coding Help - Replies (10)

Hello,
I want to display data from my "quote" table by selecting an author in my table author selected "author" in my combobox. The search must be st..... More

Print this item

  Please Help
Posted by: jackthechampion - Feb-02-2020, 05:40 AM - Forum: Homework - Replies (4)

I have a homework assignment I was hopeing someone could help me so I don't fail my class. This is the assignment if someone could just give me the co..... More

Print this item

  append list to empty array
Posted by: SchroedingersLion - Feb-02-2020, 01:57 AM - Forum: General Coding Help - Replies (1)

Hello guys,

I would like to know why the following does not give me an Nx7 array.

[python]X_y_disch = np.empty((0,7), float)
for keys in B1_B2:
..... More

Print this item

  is there a way: repeat key word args
Posted by: Skaperen - Feb-02-2020, 12:55 AM - Forum: General Coding Help - Replies (2)

i would like to allow the same key word argument to be repeated as many times as desired with different values, just as i can do on command arguments...... More

Print this item

  Switch .. case .. dispatcher based on singledispatch
Posted by: Gribouillis - Feb-01-2020, 11:03 PM - Forum: Code sharing - Replies (2)

The generic function mechanism (functools.sing[url=https://python-forum.io/thread-24147.html]..... More

Print this item

  Feeding new data to a model
Posted by: RawlinsCross - Feb-01-2020, 10:47 PM - Forum: Data Science - No Replies

Good evening, kindof a beginner question here on how to properly feed new data (i.e. not seen during the model development) to a binary classification..... More

Print this item

  Correct syntax for a variable inside a quotes: MP4Box command
Posted by: JonnyDriller - Feb-01-2020, 08:41 PM - Forum: General Coding Help - Replies (2)

New to the forum so hope I'm using the correct method here: -
I'm using an app to covert h264 video to mp4 = MP4Box.
Most of the tutorials deal with..... More

Print this item

  If statement
Posted by: el_bueno - Feb-01-2020, 05:58 PM - Forum: General Coding Help - Replies (8)

Hello!
Thats a python code, and im a beginner

[python]
s='Hungry'
p='Im full'
r=7

if 8:
print('Im hungry')
elif p:
print('I didnt..... More

Print this item

  works but it doesn't
Posted by: benlyboy - Feb-01-2020, 04:00 PM - Forum: General Coding Help - Replies (3)

Hi hopping you can help me solve a mystery.
I wrote a program to automaticity back up my media system. It does a few other things too, like keeping a..... More

Print this item

  Contact form button click action
Posted by: Man_from_India - Feb-01-2020, 04:00 PM - Forum: Web Scraping & Web Development - Replies (1)

I created a contact me HTML page and there I created a Contract form and there is a submit button. I want to click on that button and check if all 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... 379600
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
metulburr 6
python 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