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,277
» Latest member: NAGASOWMYAGUNDU
» Forum threads: 38,790
» Forum posts: 175,867

Full Statistics

Online Users
There are currently 60 online users.
» 0 Member(s) | 57 Guest(s)
Google, AOL

Latest Threads
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
8 hours ago
» Replies: 2
» Views: 83
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Today, 06:48 AM
» Replies: 0
» Views: 27
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Today, 04:59 AM
» Replies: 11
» Views: 5,976
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Today, 04:46 AM
» Replies: 2
» Views: 4,282
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:34 PM
» Replies: 3
» Views: 287
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 136
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 204
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,108
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 248
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 166

 
  Find data using a period of time in SQLITE3
Posted by: SmukasPlays - Jul-27-2020, 08:46 PM - Forum: General Coding Help - Replies (2)

I'm doing a program to register products using SQlite3 so I need to generate some spreadsheets in Excell with some datas. One of the things that I nee..... More

Print this item

  needleman wunsch algorithm for two sequences of different length
Posted by: johnny_sav1992 - Jul-27-2020, 05:45 PM - Forum: General Coding Help - No Replies

i wrote a code to align two sequences with the needleman-wunsch algorithm. it is going well for two sequences same length. When i use two sequences of..... More

Print this item

  convert to python 2.7
Posted by: rejit - Jul-27-2020, 04:17 PM - Forum: Homework - Replies (2)

hey guys! i wrote a program in python 3 and now want to convert the program to python 2.7. i was really unsucessfull at this. can anyone help me out p..... More

Print this item

  How to call/read function for all elements in my list in python
Posted by: johnny_sav1992 - Jul-27-2020, 04:10 PM - Forum: General Coding Help - Replies (1)

Hello everybody,

i need help with a code i have written.

i have defined a function to compare two sequences with the def statement. Now i want..... More

Print this item

  how to add segments to the snake body
Posted by: blacklight - Jul-27-2020, 04:05 PM - Forum: Game Development - Replies (1)

Hi so I don't really understand how to add a segment to the correct position after the snake has eaten the fruit.
Can someone assist me with this? not..... More

Print this item

  Two Raspberry pi (Different location ) to SQL database
Posted by: rithikvg - Jul-27-2020, 04:00 PM - Forum: General Coding Help - No Replies

Dear All,
I am working on the project with a raspberry pi and SQL server. Currently, I have connected 2 Ardunio to 1 raspberry pi data uploaded to th..... More

Print this item

  Print part of a variable
Posted by: rs74 - Jul-27-2020, 03:50 PM - Forum: General Coding Help - Replies (4)

Hm, I want to print only 27 + a random generated number so it should be (for example) 2717. The content of variable meters should not be included, not..... More

Print this item

  Skipping Strings
Posted by: Kristenl2784 - Jul-27-2020, 03:28 PM - Forum: General Coding Help - No Replies

Hello,

There is more to this script but I cut out the portion I am currently working on. This is part of a for loop, there're a lot of excel files..... More

Print this item

  No Scripts File present after python installation
Posted by: ag2207 - Jul-27-2020, 02:46 PM - Forum: General Coding Help - Replies (5)

Hello,
I have been trying to install python and everytime I install a new version my scripts folder is empty there's no pip file or easy_install file..... More

Print this item

  How do I insert images in Python using gspread (or any other package)?
Posted by: ivansing23 - Jul-27-2020, 01:26 PM - Forum: General Coding Help - No Replies

I am looking for a way to insert an image into google sheets using Pyhton. If there is any function, package or other way of doing that, please let me..... More

Print this item

  Download some JPG files and make it a single PDF & share it
Posted by: rompdeck - Jul-27-2020, 12:54 PM - Forum: Web Scraping & Web Development - Replies (5)

I download some jpg files (A4 size) from a website and convert all the files into a single pdf file and email it.

The jpg files are in a url format..... More

Print this item

  what is wrong with this 'if' statement!?
Posted by: neshom_imilas - Jul-27-2020, 11:47 AM - Forum: General Coding Help - Replies (1)

[b]hello!
I am new to coding and I have 0 experience.
I've started learning just yesterday! I was writing something to take a full name and sort out ..... More

Print this item

  Download file from Private GitHub rep
Posted by: vinuvt - Jul-27-2020, 11:38 AM - Forum: General Coding Help - No Replies

Hi,

First of all, I am a Python newbie. I am trying to download a file from private Github repo

[python]import requests
from requests.auth impo..... More

Print this item

  Multidimensional lists
Posted by: Ferdis - Jul-27-2020, 10:51 AM - Forum: News and Discussions - Replies (1)

How do you return a two-dimensional list?

Thank you!

Print this item

  Return a definition
Posted by: samh625 - Jul-27-2020, 10:30 AM - Forum: Homework - Replies (6)

Hi guys! so i have been able to get to almost all of this question correct, which i am quite proud of!!!

But this last bit is not showing the corr..... More

Print this item

  for loop on stacked images
Posted by: falahfakhri - Jul-27-2020, 09:48 AM - Forum: News and Discussions - Replies (3)

Dear All,

I have read each single image from stacked file *.tif separately, using the following code,

dataset = rasterio.open('D:\data_stacked..... More

Print this item

  Programme will not returns the day number not the day name
Posted by: Oldman45 - Jul-27-2020, 09:41 AM - Forum: General Coding Help - Replies (8)

I have the following programme:
[python]
n = input("Enter a number 0 to 6: ")
day_of_the_week = n

def day_of_the_week ():
if n == 0:
..... More

Print this item

  How to update component props every time when a Dash callback returns?
Posted by: sguzunov - Jul-27-2020, 07:11 AM - Forum: General Coding Help - No Replies

Hi All,

I am new to Dash. I’ve just started working on a dash component library in React. I have encountered a problem when trying to update a comp..... More

Print this item

  Problem in solving optimization problem
Posted by: Ruchika - Jul-27-2020, 05:28 AM - Forum: General Coding Help - No Replies

I am trying to solve an optimization problem on python with gurobi solver.
There is a constraint in which I am trying to multiply a 1*n variable vec..... More

Print this item

  ValueError: could not convert string to float:
Posted by: RandomCoder - Jul-27-2020, 04:01 AM - Forum: General Coding Help - Replies (3)

i tried to write a small program using tkinter and other small libraries, but i ran into a problem converting the string into a float in line 13, coul..... More

Print this item

  strange error from pandas dataframe
Posted by: djf123 - Jul-26-2020, 10:53 PM - Forum: Data Science - Replies (1)

I am trying to apply the command

example_batch = normed_train_data[:10]
to the pandas data frame named normed_train_data, but ..... More


Attached Files

.csv   dataframe1.csv (Size: 28.69 KB / Downloads: 10)
.csv   dataframe2.csv (Size: 55.37 KB / Downloads: 9)
Print this item

  Logs and terminal in Tkinter
Posted by: Prezess - Jul-26-2020, 09:20 PM - Forum: GUI - Replies (1)

I want to add an event log to my program or make redirect from gui to terminal.
How to do that???

Print this item

  Dropping rows with missing values
Posted by: NewBeie - Jul-26-2020, 07:46 PM - Forum: General Coding Help - Replies (2)

Hi,

I have this code below, I'm trying to drop rows with missing values, and I'm trying to use DataFrame.dropna(), But when I test below the rows w..... More

Print this item

  Get element (ID) from website to login
Posted by: Olimpiarob - Jul-26-2020, 06:40 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi there,

Can you help me to get the element name from the website that I want to log-in to? I tried everything...:( I tried username, email, login..... More

Print this item

  Creating many csv files from Pandas
Posted by: EMA - Jul-26-2020, 06:39 PM - Forum: Data Science - No Replies

I have one csv file with thousands of rows ,and 3 columns( Dept, staffName , role).
What I need to do is :

1.create separate CSV file for ..... More

Print this item

  George Pyman
Posted by: Gribouillis - Jul-26-2020, 05:16 PM - Forum: Bar - No Replies

I discovered George Pyman, who died one century before Python. His name looks like a forum handl..... More

Print this item

  Class variable / instance variable
Posted by: ifigazsi - Jul-26-2020, 02:32 PM - Forum: General Coding Help - Replies (9)

[python]
class Something:

saved_data = [2, 3, 4, 5]

def __init__(self):
self.data = Something.saved_data
self.data2 =..... More

Print this item

  Can urlopen be blocked by websites?
Posted by: peterjv26 - Jul-26-2020, 02:13 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I am trying to scrape a web site with following code. But it comes with a Timeout Error as below.

TimeoutError: [WinError 10060] A connection a..... More

Print this item

  Do I have to download and install Python if I want to compile my code online?
Posted by: bld - Jul-26-2020, 01:22 PM - Forum: News and Discussions - Replies (2)

Hello,
I want to compile my code with an online compiler, such as repl.it and I was wondering, if I have to download Python to be able to use an onli..... More

Print this item

  Scrollbar in tkinter
Posted by: PatrickNoir - Jul-26-2020, 09:49 AM - Forum: GUI - Replies (2)

I don't know why this scrollbar not working. Please help Sad

[python]
canvas = Canvas(frame, bd=0,
xscrollcommand=xscrollbar.se..... More

Print this item

  Jinja sort values from request.form
Posted by: SpongeB0B - Jul-26-2020, 07:19 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone,

I'm following this tutorial -> https://www.tutorialspoint.com/flask/fla...mplate.htm

I tried to have the val..... More

Print this item

  Require Some Suggestions
Posted by: gouravlal - Jul-26-2020, 06:48 AM - Forum: General Coding Help - Replies (2)

Hello

I am looking for a Solution in python.
Problem Statement:
I wanted to get all the rows from all the files in all directory based on match..... More

Print this item

  OpenPyxl: How to iterate through each Column (in 1 row) to find a value?
Posted by: chatguy - Jul-26-2020, 05:19 AM - Forum: General Coding Help - Replies (2)

When using Python OpenPyxl, how would I iterate through each Column (in only one row) to find a value?

Here's my current (failing) attempt -- (Ther..... More

Print this item

  Paths
Posted by: millpond - Jul-26-2020, 12:53 AM - Forum: General Coding Help - Replies (12)

Lets start at the beginning.

Awhile back I started taking an interest in Python, and began to build a Python37 system in C:\Python37.

Then I had..... More

Print this item

  arithmetic on 2-tuple of 2 numbers
Posted by: Skaperen - Jul-26-2020, 12:20 AM - Forum: News and Discussions - No Replies

a function returns a 2-tuple of 2 numbers. i want to apply an arithmetic operation to both numbers. is there a nice neat way to do this in an expres..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] [BeautifulSoup] ... 8 hours ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Today, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Today, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Today, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... Yesterday, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [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...
Most views
  The best Prog... 579182
  Tutorial Requ... 511850
  Web Scraping ... 442135
  Newbie with P... 386215
  New Users Int... 379074
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 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
NAGASOWMYAGUNDU Today
shipa1autotransport Today
eastnoob Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18

User Panel Messages

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