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 41 online users.
» 1 Member(s) | 37 Guest(s)
Google, Bing, AOL, lovedeep

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Gichardaxora
55 minutes ago
» Replies: 0
» Views: 5
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
10 hours ago
» Replies: 5
» Views: 109
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: 61
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,065
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: 204

 
  list of strings to list of float
Posted by: undoredo - Feb-17-2020, 09:00 PM - Forum: Homework - Replies (3)

Hello,

i am trying to read a text file to get a list of point coordinates from a texte file :

this is the text :

-48.9701217110874,5.67558617..... More

Print this item

  Cannot import list from another module?
Posted by: t4keheart - Feb-17-2020, 08:52 PM - Forum: General Coding Help - Replies (1)

Hi guys,
I'm hoping this is something simple I'm missing... but for some reason I'm unable to import a list from another module, the contents always..... More

Print this item

  Open an Excel file
Posted by: Friend - Feb-17-2020, 08:42 PM - Forum: General Coding Help - Replies (9)

Hi all,
I am trying to open an excel file (LibreOffice) with the following code:
[python]
import openpyxl
wb = openpyxl.load_workbook(r'C:\Users\u..... More

Print this item

  Entry Widget issue
Posted by: PA3040 - Feb-17-2020, 07:15 PM - Forum: GUI - Replies (16)

Hi Team
My requirement is read data from arduino through serial port
and put it to the Entry widget

Every this is successful but only issue is T..... More

Print this item

  Flask, Posgresql - Multiple requests are not working
Posted by: bmaganti - Feb-17-2020, 07:01 PM - Forum: Web Scraping & Web Development - Replies (5)

All,

First of thank you for supporting this firm.

I am building an enterprise REST web application using Flask. application connections going cr..... More

Print this item

  New to python, having trouble with an exercise
Posted by: Salkay - Feb-17-2020, 06:58 PM - Forum: General Coding Help - Replies (3)

So the exercise gives me two numbers m and n, I need to make a function that iterates through these numbers to find which one has divisors that, when ..... More

Print this item

  How to move the player upwards and downwards?
Posted by: Piethon - Feb-17-2020, 04:29 PM - Forum: Game Development - Replies (5)

Hello everybody.

I am making a little game and somehow I can't figure out how to move my player sprite upwards or downwards without needing to rota..... More

Print this item

  Trying to install Pyquil, says I need Microsoft Visual C++
Posted by: Groucho - Feb-17-2020, 03:37 PM - Forum: General Coding Help - Replies (10)

I have been attempting to install pyquil using pip on PyCharm and I get an error message saying I need Microsoft Visual C++, which doesn't go away eve..... More

Print this item

  Need explanation of one line of code
Posted by: Fliberty - Feb-17-2020, 03:34 PM - Forum: General Coding Help - Replies (6)

I am working through a tutorial trying to learn Python. I have come across a line of code I cannot decipher.

I have asked the developer of the cod..... More

Print this item

  Need help for code
Posted by: Frank12347 - Feb-17-2020, 03:30 PM - Forum: General Coding Help - Replies (2)

This is my code. I tried to open a file and count keywords, which I setup before, as "{keyword}: {occurrence}",. But I get wrong result, the ouput is ..... More

Print this item

  tkinter how to unselect text in textbox
Posted by: Battant - Feb-17-2020, 02:00 PM - Forum: GUI - No Replies

Hello,

In my program, I use tkinter and a textbox contenent a text. The text should be select, unselect and select a next word

My code select wo..... More

Print this item

  append dataframes in loop
Posted by: ghena - Feb-17-2020, 11:20 AM - Forum: Data Science - Replies (1)

Hi,
I have a code with two dataframes types which are collected by simulation. I want to append these dataframes and store them into separated csv. W..... More

Print this item

  Safely running a web scraping script
Posted by: londonhdi - Feb-17-2020, 07:55 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
I've had a web scraping script built using Python and selenium by a developer from a gig website.
I'm not a developer myself so can't code revie..... More

Print this item

  simplekml change shape&color
Posted by: issac_n - Feb-17-2020, 07:18 AM - Forum: General Coding Help - Replies (2)

I am trying to change the newpoint default shape , the code below return no errors but the result still using default Yellow shape in Googlmap.
.I wan..... More

Print this item

  Preparing for OS upgrade
Posted by: jehoshua - Feb-17-2020, 02:35 AM - Forum: Bar - Replies (2)

I need to upgrade the current Kubuntu version 16.04.6 LTS to the latest version because there are some issues with the Python version at present. I fe..... More

Print this item

  loop only prints last character.
Posted by: mcmxl22 - Feb-17-2020, 02:04 AM - Forum: General Coding Help - Replies (1)

I want this to reprint and replace the time on the same line but its only printing the last character.
If I take out the end="\r" it..... More

Print this item

  Got another one
Posted by: DansterTx - Feb-17-2020, 12:53 AM - Forum: Homework - Replies (7)

This one seems to have the entire class stumped. I'll be damned if I can't figure out how to do it. I'll post the homework question, and anyone who m..... More

Print this item

  Speed issue with sprite update
Posted by: michael1789 - Feb-17-2020, 12:30 AM - Forum: Game Development - Replies (13)

This is my first attempt at the update for a sprite:
[python]def update(self, event, dt):

self.rect.y += 5
temp_gr..... More

Print this item

  is this string shell quote safe?
Posted by: Skaperen - Feb-17-2020, 12:00 AM - Forum: News and Discussions - Replies (2)

i need to find or write a function that can tell me if a given string is safe or needs to be quoted when being used to pass as an argument for a comma..... More

Print this item

  ValueError: invalid literal for int() with base 10: '0.5'
Posted by: emmapaw24 - Feb-16-2020, 07:15 PM - Forum: General Coding Help - Replies (2)

Hi, I'm having a problem with the code that I'm writing, this may be obvious as I'm new to Python, when I try to input a decimal whil writing my code ..... More

Print this item

  Problem with append list in loop
Posted by: michaelko03 - Feb-16-2020, 07:03 PM - Forum: General Coding Help - No Replies

Here is my code

[python]import math
import numpy as np

z = 0
y= []
x = []

while z < 5:
z = z + 1
t = 0
x.append([y])
w..... More

Print this item

  opencv on mac: Assertion Failed
Posted by: RandomCoder - Feb-16-2020, 06:17 PM - Forum: General Coding Help - No Replies

I've been following tutorials on youtube for opencv in python, but i have nothing for output, the code is the same as in the tutorial, and python quit..... More

Print this item

  12 mini games python tutorial series
Posted by: ninedeadeyes - Feb-16-2020, 05:47 PM - Forum: Tutorial Requests and Submissions - Replies (2)

12 mini games written with Python 3 standard library, each game scales in complexity. Good for beginners looking for examples of games to learn from. ..... More

Print this item

  Action rpg written in standard library.
Posted by: ninedeadeyes - Feb-16-2020, 05:36 PM - Forum: Game Development - Replies (1)

Just in case if anyone is interested I'll leave my code and video here..

https://github.com/Ninedeadeyes/7-Dungeons-Deep


https://www.youtube.c..... More

Print this item

  problem with the slider widget
Posted by: accoumar - Feb-16-2020, 05:12 PM - Forum: General Coding Help - Replies (3)

Hello,
I've tried to run the following program:
https://matplotlib.org/gallery/widgets/s...lider-demo

Unfortunately, Spyder just g..... More

Print this item

  Input() function not working in VS Code
Posted by: darpInd - Feb-16-2020, 03:57 PM - Forum: General Coding Help - Replies (7)

I am new to programming -- just doing simple hand-on and input function is not working in VS Code (Anaconda). just tried same thing in Juptyr notebook..... More

Print this item

  How to use unittest module ?
Posted by: binhduonggttn - Feb-16-2020, 01:05 PM - Forum: General Coding Help - Replies (1)

I have a YAML config file and a Python ConfigManager file used to check connection to database. I need to write some test cases for my ConfigManager f..... More

Print this item

  Timer keeps coming up with a non-callable int object
Posted by: birdwatcher - Feb-16-2020, 11:56 AM - Forum: General Coding Help - Replies (1)

Hey guys, birdwatcher here.

I am writing some code for a robot that I am building (the Robocon 2020 robot) and I am trying to set a timer so that aft..... More

Print this item

  Graphics CANVAS resolution
Posted by: brievenbusrjvos - Feb-16-2020, 11:34 AM - Forum: GUI - Replies (1)

Can someone tell me where to find the graphics canvas specifications from Python? If not may be can be explained?
I have looked everywhere and cannot..... More

Print this item

  BeautifulSoup4 plugin help
Posted by: Lathem01 - Feb-16-2020, 09:01 AM - Forum: Web Scraping & Web Development - Replies (2)

Im new to Python and finding difficulty understanding some code.

when using the Beautifulsoup4 plugin, I want to search through a source code text...... More

Print this item

  print name of def
Posted by: ceciacd79 - Feb-16-2020, 07:55 AM - Forum: General Coding Help - Replies (2)

Hello. I would like to know if there is a way to derive the name of the function that has an exception.
I would like to better highlight through debu..... More

Print this item

  class question
Posted by: jrauden - Feb-16-2020, 05:55 AM - Forum: General Coding Help - Replies (1)

When you run this little program it prints out:
Inside the Simple constructor
constructor argument
constructor argument
A message: None

Wha..... More

Print this item

  dynamic f-string example
Posted by: Skaperen - Feb-16-2020, 03:53 AM - Forum: Code sharing - Replies (6)

you might want to put this script in your python examples folder. you won't likely ever need to do this, but if some day you need to dynamically chan..... More

Print this item

  Desktop prank
Posted by: michael1789 - Feb-16-2020, 02:38 AM - Forum: Bar - Replies (2)

I learned a prank. Likely and old one, but whatever.

Replace someone's wallpaper with a screenshot of their desktop and hide all their icons in a ..... More

Print this item

  Type hints and style
Posted by: MaxPowers - Feb-15-2020, 10:58 PM - Forum: General Coding Help - Replies (1)

So, I am struggeling with type hints in function definitions. Annotated function definitons cause formatting issues in the simplest cases. They force ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 55 minutes ago Gichardaxora Gichardaxora General Codin...
  data fetching for indian ... 10 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... 579254
  Tutorial Requ... 512100
  Web Scraping ... 442185
  Newbie with P... 386294
  New Users Int... 379590
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