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,249
» Latest member: bmurray
» Forum threads: 38,779
» Forum posts: 175,819

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 29 Guest(s)
Applebot, Google, Bing, kshahzad1985

Latest Threads
New to python and coding
Forum: Homework
Last Post: jefsummers
2 hours ago
» Replies: 4
» Views: 104
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
4 hours ago
» Replies: 6
» Views: 174
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 308
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 275
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 107
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,622
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 212
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 190
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,233
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,422

 
  Senior Machine Learning Engineer @ Automattic, Remote / Anywhere
Posted by: patpat - Aug-19-2021, 07:29 AM - Forum: Jobs - No Replies

We are the company behind WordPress.com, Jetpack, WooCommerce, and Tumblr, and we are looking for a (Senior) Machine Learning Engineer to join our tea..... More

Print this item

  How to solve KeyError: 0
Posted by: hilda09 - Aug-19-2021, 12:56 AM - Forum: General Coding Help - Replies (5)

Hi,

I have the following code:

[python]from typing import List

from data_contoh2 import *

def _pm(i, iterasi):
for col in S[i]:
..... More


Attached Files

.py   rcpsp.py (Size: 4.67 KB / Downloads: 418)
.py   data_contoh.py (Size: 786 bytes / Downloads: 399)
.py   data_contoh2.py (Size: 3.81 KB / Downloads: 380)
Print this item

  generating random string unique forever
Posted by: Skaperen - Aug-19-2021, 12:13 AM - Forum: General Coding Help - Replies (5)

i want to run many processes in parallel that can generate a random-like string that is absolutely unique forever. well, forever is a long time. the..... More

Print this item

  Generate Multiple sql Files With csv inputs
Posted by: vkomarag - Aug-18-2021, 11:07 PM - Forum: General Coding Help - Replies (13)

Hi Team,

I m new to python and started working on basics but cant get through when the problem goes to next level.

I have data looks like below a..... More


Attached Files

.csv   view.csv (Size: 143 bytes / Downloads: 358)
Print this item

  while loop
Posted by: mazeemagha - Aug-18-2021, 09:54 PM - Forum: Data Science - Replies (2)

i created empty list, enter a name in list by inputting user. I have placed 2 condition here.

This will ask from user to add more name after add fi..... More

Print this item

  Looping through nested elements and updating the original list
Posted by: Alex_James - Aug-18-2021, 09:00 PM - Forum: General Coding Help - Replies (3)

I am trying to create a code that lets the user add points to attributes. I have created the code below which loops through each element. It all works..... More

Print this item

  How to open/load image .tiff files > 2 GB ?
Posted by: hobbyist - Aug-18-2021, 07:23 PM - Forum: General Coding Help - Replies (1)

I tried opencv in order to open/load huge image .tiff files without success... Is there any other way?

[error]WARN:0] OpenCV TIFF: TIFFRGBAImageOK:..... More

Print this item

  How to read this code?
Posted by: Jlyk - Aug-18-2021, 06:25 PM - Forum: General Coding Help - Replies (3)

Hello everybody. I'm new here and new one in Python. I have such piece of code and I don't know how to understand some parts of it.
Could you please..... More

Print this item

  When do I need a database?
Posted by: Mark17 - Aug-18-2021, 03:40 PM - Forum: Data Science - Replies (2)

I've asked a few people about this and not gotten a good answer. In general, I don't understand how a database can save me time.

I'm looking to bu..... More

Print this item

  What is the exception?
Posted by: Mark17 - Aug-18-2021, 03:28 PM - Forum: General Coding Help - Replies (2)

Hi all! Here's some code:

[Python]
from forex_python.converter import CurrencyRates
import datetime as dt
from time import sleep

def try_con..... More

Print this item

  String in a list
Posted by: willpe - Aug-18-2021, 01:16 PM - Forum: General Coding Help - Replies (3)

Hello, I'm new to Python and I have a difficulty and I would like some help.

In a certain situation, I need to get a sequence in a list, but at the..... More

Print this item

  How to combine multiple rows of strings into one using pandas?
Posted by: shantanu97 - Aug-18-2021, 12:47 PM - Forum: General Coding Help - Replies (1)

I have a DataFrame with multiple rows. Is there any way in which they can be combined to form one rows? Marked with Yellow Colours. All I want to com..... More


Attached Files

Thumbnail(s)
   

.csv   Test.csv (Size: 259 bytes / Downloads: 393)
Print this item

  Search string in mutliple .gz files
Posted by: SARAOOF - Aug-18-2021, 09:08 AM - Forum: General Coding Help - Replies (10)

Hi,
Kindly your support to provide python script to search given strings (Number, Text etc.) from multiple ".gz" text files

Directory contains mul..... More

Print this item

  How to run an exe file in the Scripts folder using py.exe?
Posted by: quazirfan - Aug-18-2021, 08:22 AM - Forum: General Coding Help - Replies (2)

In my current setup python.exe is not added to the path. Instead I am using python launcher py.exe to launch python. Similarly I do not have pip.exe o..... More

Print this item

  bit-flipping decoding
Posted by: divon - Aug-18-2021, 08:16 AM - Forum: Data Science - Replies (11)

Hello everyone,

I have a problem in trying to make a code for the algorithm of bit-flipping decoding, the algorithm is in the figure in the attachm..... More


Attached Files

Thumbnail(s)
   
Print this item

  Program demonstrates operations of bitwise operators without using bitwise operations
Posted by: ShawnYang - Aug-18-2021, 07:38 AM - Forum: General Coding Help - Replies (2)

[python]

Symbol Operation Operation
& and Sets result bit to 1 if both corresponding bits are 1. E.g. 1010 & 1100 is 1000
l ..... More

Print this item

  Reopen file if condition fails
Posted by: tester_V - Aug-18-2021, 06:05 AM - Forum: General Coding Help - Replies (6)

Greetings!
I'm trying to re-open a file if "IF" condition fails.
I'm not sure it is the right thing to do (to reopen the file) and also I'm failing..... More

Print this item

  Getting from <td> tag by using urllib,Beautifulsoup
Posted by: KuroBuster - Aug-18-2021, 02:58 AM - Forum: Web Scraping & Web Development - Replies (2)

I would like to create a program to check for updates on a regular basis.
In the "VMware ESXi" rel..... More

Print this item

  passing type choicr to function
Posted by: Skaperen - Aug-18-2021, 02:53 AM - Forum: News and Discussions - Replies (2)

in a function i am planning, one of the arguments is a type choice. i have used string names in the past such as 'str' or [inline]'b..... More

Print this item

  How do I open the Source code of a library?
Posted by: JaneTan - Aug-18-2021, 01:17 AM - Forum: General Coding Help - Replies (1)

I want to find all the methods available in a Python library. Eg for Win32com.

Thank you

Print this item

  win32com — How to resolve “AttributeError: xlUp” for Excel files?
Posted by: JaneTan - Aug-18-2021, 01:16 AM - Forum: General Coding Help - Replies (2)

Similar to Excel VBA, win32com has a 'xlUp' command. But do I use it? I tried the below code but get
AttributeError: xlUp

Or how do I find all the..... More

Print this item

  Getting 'NoneType' object has no attribute 'find' error when WebScraping with BS
Posted by: Franky77 - Aug-17-2021, 02:48 PM - Forum: General Coding Help - Replies (2)

Hello,
please help python experts. I want to iterate through multiple pages for products info but when loop gets to the second page of products it th..... More

Print this item

  Merging spreadsheets with the same columns and extracting rows with matching entries
Posted by: johnbernard - Aug-17-2021, 01:34 PM - Forum: General Coding Help - Replies (3)

Hi All,

I have just begun learning Python for the last couple of months and I have got to grips with the very basics I think having no background in..... More

Print this item

  TypeError: missing 3 required positional arguments:
Posted by: wardancer84 - Aug-17-2021, 12:51 PM - Forum: General Coding Help - Replies (9)

hi all,

I got the error "TypeError: missing 3 required positional arguments:". I am aware what this usually means, but in that case...not.

Here ..... More

Print this item

  pd.read_csv timing out
Posted by: 83dons - Aug-17-2021, 11:33 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

I am trying to read in a large NASA data file into a panda dataframe. It was working ok yesterday but overnight it stopped working giving errors..... More

Print this item

  Strange error ValueError: dimension mismatch
Posted by: Anldra12 - Aug-17-2021, 07:54 AM - Forum: General Coding Help - No Replies

I have to test word2vector model for text data similarity it generate this kind of error ValueError: dimension mismatch

[python]from keras.preproce..... More

Print this item

  Which one of these would you recommend?
Posted by: vil0x - Aug-16-2021, 11:38 PM - Forum: News and Discussions - Replies (2)

Which one of these would you recommend?

I've been wanting to start programming in python for a while now, yet I keep on getting drowned in the endl..... More

Print this item

  ABC Module and @property decorator, Pythonic Way?
Posted by: muzikman - Aug-16-2021, 07:00 PM - Forum: General Coding Help - Replies (21)

Greetings,

I just started learning Python about 3 months ago. I wanted to know what the consensus is when using the

@property
meth..... More

Print this item

  Make a wall in turtle module
Posted by: Jan_97 - Aug-16-2021, 06:20 PM - Forum: Game Development - Replies (2)

Hello! I am trying to build a small project in python turtle module but I am having some issue with how to make a wall (that is not an outside border)..... More

Print this item

  Beginner Search app
Posted by: Aero031 - Aug-16-2021, 06:20 PM - Forum: General Coding Help - Replies (1)

Hey everyone! I'm new to Python and coding and I would like some advice on creating a mobile app search tool.

I would like to create a search tool ..... More

Print this item

  Help with for loop
Posted by: samuelbachorik - Aug-16-2021, 06:05 PM - Forum: General Coding Help - Replies (4)

Hi just want to ask you how to create for loop that will work this way. I want to return two arrays and loop loop in them

[python]def function():..... More

Print this item

  How to set CPU and memory resource
Posted by: SriRajesh - Aug-16-2021, 11:50 AM - Forum: General Coding Help - Replies (1)

Hi,
I am running my python script on server, most of the time resource is distributed and occupied by other scheduled jobs. I want to minimize my prog..... More

Print this item

  Access specific value in df
Posted by: ju21878436312 - Aug-16-2021, 09:44 AM - Forum: Data Science - Replies (2)

Hi there,

Is there a way to assign a time difference to the whole column, from a certain row on?
How do I access e.g. the value in row 2, column 0..... More


Attached Files

.txt   2021-06-15_data.txt (Size: 14.02 KB / Downloads: 0)
Print this item

  Having problem configuring and using acitoolkit
Posted by: JSung - Aug-16-2021, 05:05 AM - Forum: General Coding Help - Replies (3)

I have donwloaded all the source code for acitoolkit. I have been trying to figure out how to use it.
I already have Python2.7 and pycharm install on..... More

Print this item

  How to sort values descending from a row in a dataframe using python
Posted by: sankarachari - Aug-15-2021, 06:23 PM - Forum: General Coding Help - Replies (1)

Hi There,
I would like to sort values descending to each row in a dataframe based grouping 1st col values.
Group col1 values and display relevant va..... More


Attached Files

.csv   SAMPLE.csv (Size: 150 bytes / Downloads: 379)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 2 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 4 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578850
  Tutorial Requ... 509899
  Web Scraping ... 441918
  Newbie with P... 385922
  New Users Int... 376233
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday

User Panel Messages

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