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,274
» Latest member: SavingSquirrel199835
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 27 Guest(s)
Google, Bing, Apple

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
3 hours ago
» Replies: 0
» Views: 31
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
5 hours ago
» Replies: 2
» Views: 136
best way to learn python
Forum: News and Discussions
Last Post: mamta25
8 hours ago
» Replies: 5
» Views: 3,063
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 189
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 177
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 135
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 182
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 358
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 76
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 378

 
  regex.findall that won't match anything
Posted by: xiaobai97 - Sep-24-2020, 07:32 AM - Forum: General Coding Help - Replies (1)

hi, I am not sure why my regex code is not working for finding Malaysian phone number, can anyone helps to check? would be highly appreciate. When I u..... More

Print this item

  error while installing any library using pip in windows
Posted by: AkashKansal - Sep-24-2020, 07:21 AM - Forum: General Coding Help - Replies (1)

pip install jsonlib
Collecting jsonlib
Using cached jsonlib-1.6.1.tar.gz (43 kB)
Building wheels for collected packages: jsonlib
Building whee..... More

Print this item

  How to break a loop in this case?
Posted by: Blainexi - Sep-24-2020, 05:01 AM - Forum: General Coding Help - Replies (10)

I got this to work, but when I press s to stop the script, it will keep running the marketloop() function till end before stopping. My question is tha..... More

Print this item

  Python for next loop
Posted by: sow2010 - Sep-24-2020, 03:13 AM - Forum: General Coding Help - Replies (1)

I am new to python and trying to code for the below logic but not sure how to do it using for next loop

Colum1 Colum2 col 3 Col4
1234 111 Str1 50..... More

Print this item

  KeyError
Posted by: Jorgeasf85 - Sep-24-2020, 01:55 AM - Forum: General Coding Help - Replies (2)

Hello,

I'm currently trying to learn python for career purposes. I was trying to do a few tests to my new recent skills but, unfortunately, I not e..... More

Print this item

  Installing Help
Posted by: Infinity - Sep-23-2020, 11:59 PM - Forum: General Coding Help - Replies (2)

I am trying to install 3 party modules but in command prompt when i type python--version its not giving an output however when i type the same command..... More

Print this item

  Python variable and function usage at a time
Posted by: prasanthbab1234 - Sep-23-2020, 11:18 PM - Forum: Homework - Replies (14)

Create a variable called my_sum that has a value of 10 + 31. However, instead of adding the numbers directly in my_sum, set my_sum to be the result of..... More

Print this item

  single input infinite output problem
Posted by: Chase91 - Sep-23-2020, 09:36 PM - Forum: General Coding Help - Replies (2)

This is my first time using a forum so sorry if my educate is not great, but i could use some help. I'm trying to have my program give a single outpu..... More

Print this item

  How to make elements return sorted?
Posted by: notsoexperienced - Sep-23-2020, 07:27 PM - Forum: General Coding Help - Replies (4)

I want my elements to be sorted in a particular manner.
[python]
laiks = driver.find_elements_by_class_name("event-date-time__time")
time.sleep(3)
sp..... More

Print this item

  Obscure Error
Posted by: ErnestTBass - Sep-23-2020, 06:29 PM - Forum: General Coding Help - Replies (4)

When I ran some python 3.73 code I got the following error.


[error]

ValueError Traceback (most recent call last..... More

Print this item

  List Comparing problem with GUI
Posted by: ardvci - Sep-23-2020, 06:10 PM - Forum: GUI - Replies (5)

Hello, I've been trying to compare two lists too see if one has substring
Let's say
AA=["Beautiful","Day"]
BB = ["Beau"]
I want to write a code th..... More

Print this item

  having issues with the int() function
Posted by: megu - Sep-23-2020, 02:52 PM - Forum: Homework - Replies (2)

Hi I'm currently working through an exercise and having trouble with it

The problem is,
Write a program which repeatedly reads numbers until the..... More

Print this item

  Help me out?
Posted by: hhydration - Sep-23-2020, 02:47 PM - Forum: Homework - Replies (5)

I need help creating a boolean function that will return True if the input has an odd number of digits. No luck so far. Anyone know how to do it, with..... More

Print this item

  merging dataframe into another on a specific row
Posted by: danlin123 - Sep-23-2020, 02:42 PM - Forum: Data Science - No Replies

I have two dataframes as follows.

1) DF 1 (result extracted from running SQL query on dataset '20200602')
It is 2 rows x 3 columns (the 1ist row i..... More

Print this item

  How to melt dataframe multiple columns to one column
Posted by: Mekala - Sep-23-2020, 02:37 PM - Forum: General Coding Help - Replies (1)

Hi,
I have below dataframe, I want to melt all columns to one column. I use below code, but some thing I am missing


[python]import pandas as pd..... More

Print this item

  Editing a txt document using python
Posted by: duckredbeard - Sep-23-2020, 02:25 PM - Forum: General Coding Help - Replies (3)

I have a program that monitors a DHT11 temperature sensor and logs the data to a txt document. The program loops every 3 minutes, so it gets a new li..... More

Print this item

  Python3 binary tree not replacing parent nodes with child nodes
Posted by: Aspect11 - Sep-23-2020, 02:22 PM - Forum: General Coding Help - No Replies

So I am trying to create a binary tree within python using classes but I have gotten stuck on this last bit.

[python]def deleteNode(self, node, dat..... More

Print this item

  Network check...
Posted by: ATARI_LIVE - Sep-23-2020, 09:09 AM - Forum: Networking - Replies (2)

Need the codes...

I am looking for to check the network is up or down and/or check ping which quickly to check instead of waiting.

Because I do ..... More

Print this item

  create loop of subplot plotly dash without hardcode
Posted by: tonycat - Sep-23-2020, 08:40 AM - Forum: General Coding Help - No Replies

How can I make dash/plotly subplot, without repeating the subplot code ?

like :
stock_list = [ "MA","V","MSFT","AMZN","AAPL","TSLA"]
drawcha..... More

Print this item

  What to use with simple calculations
Posted by: Milfredo - Sep-23-2020, 07:25 AM - Forum: Data Science - Replies (6)

I'm writing a horse race handicapping program. I have numbers generated by a horse's previous performances. I read those into the program. Then I need..... More

Print this item

  Struggling with variables
Posted by: pythonstudy00 - Sep-23-2020, 04:54 AM - Forum: Homework - Replies (1)

Hey I am studying Python new to it and trying to write a program short code that checks which numbers divide evenly into 1241... tried this but just c..... More

Print this item

  Solve a system of linear equations with binary variables
Posted by: lopeslimagabriel - Sep-23-2020, 03:36 AM - Forum: General Coding Help - Replies (3)

I'm having trouble defining an algorithm that can solve a system of linear equations with binary variables.
Example given the following system of lin..... More

Print this item

  Add label to matplotlib function
Posted by: Pedroski55 - Sep-23-2020, 12:20 AM - Forum: General Coding Help - Replies (2)

I am learning a bit about matplotlib here..... More

Print this item

  Copy mp3 file multiple times and rename
Posted by: Mar10 - Sep-22-2020, 11:34 PM - Forum: General Coding Help - Replies (4)

Hi, I need to copy a mp3 file and make 6 additional copies for a total of 7 mp3 files, Each mp3 file needs to have the file number beginning from numb..... More

Print this item

  FSMD - Help
Posted by: crl34 - Sep-22-2020, 10:48 PM - Forum: General Coding Help - Replies (1)

I need to create a FSMD Simulator in Python, but I'm having problems with the ending state.
The machine is reaching its final state at cycle 22 when..... More

Print this item

  input inbetween two strings?
Posted by: KEYS - Sep-22-2020, 10:42 PM - Forum: General Coding Help - Replies (3)

I would like advice on how i can have a second string at the end of the input area in the bellow code.
What i am trying to do is have "Enter items we..... More

Print this item

  Finding if a location lies within a map?
Posted by: Winfried - Sep-22-2020, 10:41 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm using Gpxpy to read two files (a track and a set of locations), and need to keep only locations that lie within the map (top+left, botto..... More

Print this item

  [split] New thread/topic
Posted by: rajp1497 - Sep-22-2020, 09:55 PM - Forum: General Coding Help - Replies (1)

I want to find all the words in an xml file between the <text.....> and </text>. What is the best way to approach this?
("....." means there may be a..... More

Print this item

  Help please. Looping the same SQL query over different databases and combine them
Posted by: danlin123 - Sep-22-2020, 09:45 PM - Forum: Homework - Replies (3)

Suppose I have 3 SQL dataset tables with the same columns but different values. Those tables contain Tommy's test scores in different subjects on thei..... More

Print this item

  Problem with logging in on website - python w/ requests
Posted by: GoldeNx - Sep-22-2020, 09:15 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello,
I'm learning how to write requests in python. I'm trying to log in to zalando-lounge.pl website. I keep recieving 403 error. I passed all the ..... More

Print this item

  assigning a variable :(
Posted by: gr3yali3n - Sep-22-2020, 08:59 PM - Forum: General Coding Help - No Replies

That was embarrassing.

Print this item

  coding security and networks projects
Posted by: space_cat - Sep-22-2020, 08:30 PM - Forum: Homework - Replies (1)

i'm a penetration tester, networks mostly, and i'm trying to get some good python skills. i find it hard to find exercises, and project making instruc..... More

Print this item

  What Are Python Literals?
Posted by: Julie - Sep-22-2020, 05:36 PM - Forum: General Coding Help - Replies (11)

What Are Python Literals?

I have been doing a lot of research and keep coming across vague and conflicting definitions of what literals are in Pyth..... More

Print this item

  2d List not returning
Posted by: DariusKsm - Sep-22-2020, 04:40 PM - Forum: General Coding Help - Replies (2)

Hey, Im trying to get this function to return a value like [x][y]
but it keeps giving me "line 54, in move
return [new_row][new_col]
IndexError..... More

Print this item

  xlsxwriter in windows
Posted by: dfstrottersfan - Sep-22-2020, 03:56 PM - Forum: General Coding Help - Replies (2)

I am trying to instal xlsxwriter on a windows platform (windows 10 home

I have
"Python 3.8.6rc1 (tags/v3.8.6rc1:08bd63d, Sep 7 2020, 23:10:23) [..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 3 hours ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 5 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 8 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
Most views
  The best Prog... 579120
  Tutorial Requ... 511414
  Web Scraping ... 442078
  Newbie with P... 386145
  New Users Int... 378560
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17
fobby888 11-17

User Panel Messages

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