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,296
» Latest member: nicos18
» Forum threads: 38,795
» Forum posts: 175,886

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Google

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 1
» Views: 57
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 60
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 233
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 124
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,518
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 170
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,140
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,323

 
  How to append at a specific position
Posted by: Carson147 - Sep-21-2019, 12:09 AM - Forum: General Coding Help - Replies (5)

This is a little hard to explain but if the code is ran things will start to make sense.

Right now when this program is ran it does this, when I e..... More

Print this item

  eval() function security
Posted by: Skaperen - Sep-20-2019, 11:47 PM - Forum: News and Discussions - Replies (8)

i want to use eval() to evaluate arithmetic expressions provided by a string. the expressions may come from an untrusted source such as a web form. i..... More

Print this item

  basic binary search
Posted by: deep_logic - Sep-20-2019, 07:48 PM - Forum: General Coding Help - Replies (4)

Hi all,
I have googled and researched this problem. I'm just trying to do a binary search program. I'm using "Grokking Algorithms" from Agitya.

I..... More

Print this item

  help for programming
Posted by: navidmo - Sep-20-2019, 06:58 PM - Forum: General Coding Help - Replies (5)

hi everyone
how can i write this code?
input = 3+2+1+2+1
#sort numbers

output = 1+1+2+2+3

Print this item

  New to Machine Learning
Posted by: Rpereir1 - Sep-20-2019, 05:46 PM - Forum: News and Discussions - Replies (1)

Hi,

I am a Senior in an undergraduate ECE program working on a project that explores the possibility of machine learning. The goal of our project i..... More

Print this item

  price + tax rounding
Posted by: mlieqo - Sep-20-2019, 04:14 PM - Forum: General Coding Help - Replies (11)

Hello,

wondering if anybody has some experience with prices + tax calculation?
I've been dealing with a following problem:

I am supposed to dis..... More

Print this item

  How to detect third party packages used in the code
Posted by: SriRajesh - Sep-20-2019, 04:01 PM - Forum: General Coding Help - Replies (5)

Hi,
I really do not know how to do this.
Is there any way to detect what are the third party packages used when we are using code developed by others..... More

Print this item

  ImportError: No module named xlrd
Posted by: dhiliptcs - Sep-20-2019, 03:31 PM - Forum: General Coding Help - Replies (5)

I am trying to extract data from XL sheet and I tried to use the below

import xlrd
[error]ImportError: No module named xlrd [/e..... More

Print this item

  variables from a text file
Posted by: vlk - Sep-20-2019, 02:29 PM - Forum: General Coding Help - Replies (2)

hello everyone,
can you please give me the procedure to retrieve the variables from a text file?

exemple :
pin = "all from the first line from /..... More

Print this item

  I need a query to select the numbers that include 2 digits of 3
Posted by: omidvakili - Sep-20-2019, 02:25 PM - Forum: General Coding Help - Replies (1)

We have a lot of 18-digit data and we want to select numbers that have 2 digits of 3. Can anyone help us to write a Python or VB code? or any solution..... More

Print this item

  Error Syntax -HackerRank challenge
Posted by: RavCOder - Sep-20-2019, 01:33 PM - Forum: General Coding Help - Replies (9)

Hi everyone,
I'm beginner Python coder and I'm trying the challenges on HackerRank.
I'm doing "Learn to code in 30 days " and I'm on 3 day.
this ..... More

Print this item

  Entry widget to variable
Posted by: Zeiphar - Sep-20-2019, 12:46 PM - Forum: GUI - Replies (4)

Hey guys. Im a bit of a scrub when it comes to coding, specially with python. Just need some help with getting the ip/port range from the entry widget..... More

Print this item

  How to automate list separation. NOOB
Posted by: LobateScarp - Sep-20-2019, 10:24 AM - Forum: General Coding Help - Replies (18)

Good day.
I just installed my 1st Python IDE (IDLE) in order to find the max, 2nd max, and min values from a data set.
The problem is that the enorm..... More

Print this item

  Watch me coding
Posted by: axju - Sep-20-2019, 10:06 AM - Forum: Bar - Replies (4)

Someone interested to watch me coding?
I've written a Python package that makes it easy to record your coding session. Check it out if you like. Fee..... More

Print this item

  Animation Plotting help
Posted by: megzk - Sep-20-2019, 10:03 AM - Forum: General Coding Help - No Replies

I need to animate a plot, the plot needs to have an imshow with two scatter plots over the imshow. At each timestep the imshow updates, pulling a grid..... More

Print this item

  low-level coding (TL;DR)
Posted by: Skaperen - Sep-20-2019, 06:40 AM - Forum: Bar - No Replies

i have always enjoyed low-level coding. i did many languages back when i started out on mainframes but assembler was the one i found to be the most f..... More

Print this item

  Reading DBF files from Amazon s3 throwing error - 'int' object has no attribute 'isa
Posted by: abeesm - Sep-20-2019, 06:21 AM - Forum: General Coding Help - Replies (1)

I am developing a python aws lambda function for migrating dbf files into mysql after reading s3 files. .Lambda function get triggered after every dbf..... More

Print this item

  how to do setattr() from an imported module
Posted by: nutron - Sep-19-2019, 10:16 PM - Forum: General Coding Help - Replies (3)

I am trying to modify an attribute of a threaded function in the main python script from a function that has been imported from an external module.
..... More

Print this item

  How to serialize custom class objects in JSON?
Posted by: Exsul1 - Sep-19-2019, 07:46 PM - Forum: General Coding Help - Replies (4)

The Python documentation on JSON reads, "This simple serializ..... More

Print this item

  Need help with this code and am stuck
Posted by: TheBoonester - Sep-19-2019, 07:02 PM - Forum: Homework - Replies (2)

[Python] nums = {1:"One", 2:"Two", 3:"Three" ,4:"Four", 5:"Five", 6:"Six", 7:"Seven", 8:"Eight",\
9:"Nine", 0:"Zero", 10:"Ten", 11:"Eleven", 1..... More

Print this item

  Export Co-ords to CSV file
Posted by: gtbiyb - Sep-19-2019, 05:10 PM - Forum: Data Science - Replies (1)

Hi,

Using Open CV I have successfully found the coordinates of centroids for contours and can print the values:

for c in contours:

..... More

Print this item

  micropy-cli solution - enabling VSCode to program on esp 32 with MicroPython ::
Posted by: apollo - Sep-19-2019, 05:03 PM - Forum: Bar - No Replies

good day dear experts, 




 micropy-cli solution - enabling VSCode to program on esp 32 with MicroPython :: installation issue



the machin..... More

Print this item

  matplotlib recursion error when repeatedly displaying a surface
Posted by: AdeIsHere - Sep-19-2019, 04:36 PM - Forum: General Coding Help - No Replies

When I scroll through my data on a matplotlib 3d surface I get a recursion eror although there is no explicit place where recursion is used.


my c..... More

Print this item

  Adding Cosinus as utime.sleep variable
Posted by: Kreszy - Sep-19-2019, 04:27 PM - Forum: General Coding Help - No Replies

Okay, so I´m having trouble using the Cosinus as variable for ms. I want Cosinus(x) to reach it´s limit at led 11, then go back down again, so I get a..... More

Print this item

  Instances sharing attributes
Posted by: midarq - Sep-19-2019, 04:26 PM - Forum: General Coding Help - Replies (4)

Hello,

I have the following problem:
Why is the instance B updating and how do i prevent that?
[python]
class myclass():

def __init__(sel..... More

Print this item

  If Else Statement with User Input
Posted by: CalPark16 - Sep-19-2019, 03:22 PM - Forum: General Coding Help - Replies (1)

Hello all.

I have an assignment in Python where I need to ask the user whether they are happy or unhappy. The program will then draw a smiley face..... More

Print this item

  Using onedrive through API on linux
Posted by: rdugau - Sep-19-2019, 03:03 PM - Forum: General Coding Help - Replies (1)

Hello,

I would like to upload files on onedrive

But I would like to do that with python and on linux.

I did'nt succed to..... More

Print this item

  creating a range of unique & sequential ID's in a database while handling concurency
Posted by: jertel - Sep-19-2019, 02:41 PM - Forum: Web Scraping & Web Development - No Replies

I am in the planning phase of a project to create an app. I am wondering if anyone has any general strategy for what I outline below.

I have a nee..... More

Print this item

  List/String seperation issue
Posted by: YoungGrassHopper - Sep-19-2019, 01:50 PM - Forum: General Coding Help - Replies (13)

Hey guys,

Hope you can shed some light on this matter.
In this task I need to create a function that displays the amino acid type that corresponds to..... More

Print this item

  How to access arguments by name from function
Posted by: SriRajesh - Sep-19-2019, 01:38 PM - Forum: General Coding Help - Replies (7)

Hi,

I have function in which I am passing multiple lists. Now, I want to access (or assign to another variable) the lists (given as arguments in fu..... More

Print this item

  [PySimpleGUI] How to go to next page
Posted by: Elmit - Sep-19-2019, 12:21 PM - Forum: GUI - Replies (2)

I just started to use PySimpleGUI and need a kick start.

I have a menu_def with the pages I want to show. For each page I created a layoutPagex
..... More

Print this item

  update certbot's python version
Posted by: metulburr - Sep-19-2019, 11:51 AM - Forum: General Coding Help - No Replies

Does anyone know how to link a newer python version to certbot?

When running a command I get a depreciated warning for python 2.x so i am unsure ho..... More

Print this item

  Help for simplifying code
Posted by: mmk1995 - Sep-19-2019, 11:02 AM - Forum: General Coding Help - Replies (8)

Hello,
How can I simplify below two coding to make the code clean?
coding 1:
[python]
Case1,Case2,Case3,Case4,Case5=0,0,0,0,0,0
if rule = 1:
..... More

Print this item

  How to understand asyncio.gather return_exceptions=False?
Posted by: learnpython - Sep-19-2019, 09:35 AM - Forum: General Coding Help - Replies (2)

In doc of python 3.7.4, the information about asyncio.gather return_exceptions=False says

"If return_exceptions is False (default), the first rais..... More

Print this item

  AttributeError: (“module 'pandas' has no attribute 'rolling_std'”
Posted by: Mariana136 - Sep-19-2019, 09:10 AM - Forum: Data Science - Replies (4)

Hello,
I have an error ocurred in a code in Python- Jupyter. I am new in python. The error ocurred where it's used pd.rolling_std. I don't know why i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 4 hours ago Moltar1997 Pedroski55 General Codin...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  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...
Most views
  The best Prog... 579351
  Tutorial Requ... 512298
  Web Scraping ... 442253
  Newbie with P... 386327
  New Users Int... 380133
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday
Bummibaer Yesterday

User Panel Messages

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