Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,961
» Latest member: carlbidwell
» Forum threads: 38,729
» Forum posts: 175,539

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 46 Guest(s)
Google, Bing, Mojeek, AOL

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
51 minutes ago
» Replies: 3
» Views: 1,748
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 3
» Views: 273
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 694
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 779
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,028
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,671
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,712
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 330
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 565
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 30,037

 
  Change the color automatically
Posted by: Dragonos - Jul-28-2020, 11:43 AM - Forum: General Coding Help - Replies (5)

Hi, I am new to Python, and was wondering if it was possible to change the color automatically in the program. In fact, it would be to change the colo..... More

Print this item

  How to find what is causing the unboundlocalerror 'crumb' and invalid syntax error?
Posted by: JonathanBanks - Jul-28-2020, 10:27 AM - Forum: Data Science - Replies (1)

I am running a test for cointegration using numpy and pandas library. The codeis written in Python 2 while I am trying to execute the code in Python 3..... More

Print this item

  How to Think Like a Computer Scientist - exercise solutions
Posted by: Oldman45 - Jul-28-2020, 08:45 AM - Forum: News and Discussions - Replies (3)

I am using How to Think Like a Computer Scientist to teach myself Python 3.8.4 but the book contains no solutions to the exercises. Is anybody aware ..... More

Print this item

  Check text contains words similar to themes/topics (thesaurus)
Posted by: Bec - Jul-28-2020, 08:34 AM - Forum: General Coding Help - Replies (1)

I'm a beginner in python and am needing some help (either code, or point me in the right direction for help).

I have some free text fields where i ..... More

Print this item

  Open source PyCharm
Posted by: Ben69ben - Jul-28-2020, 08:11 AM - Forum: News and Discussions - Replies (4)

Hi everyone,
I've just got the PyCharm student's version.
Could you please tell me if Open source code means that eveyone can see/ use my code?
Doe..... More

Print this item

  Pycharm - method to deploy finshed project with AppImage
Posted by: Murray - Jul-28-2020, 05:43 AM - Forum: Code sharing - No Replies

This is a Pycharm process that lets you create an AppImage of your python App
without any AppImage packaging knowledge. You develop your app as norm..... More

Print this item

  Line of code to show dictionary doesn't work
Posted by: MaartenRo - Jul-28-2020, 02:55 AM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to write a line of code that should return the names and their favourite colors. Somehow it won't work. What am i doing wrong? I d..... More

Print this item

  select all the span text with same attribute
Posted by: JennyYang - Jul-28-2020, 02:24 AM - Forum: Web Scraping & Web Development - Replies (2)

after finding all spans in the object I get the results as following.
I would like to choose the different values using:
rating_chart[31].find('spa..... More

Print this item

  Python API and requests
Posted by: deep_logic - Jul-28-2020, 01:06 AM - Forum: General Coding Help - Replies (9)

Hi all,
I'm trying to download some data from the Energy Information Administration with my API. This url: ..... More

Print this item

  how to handling time series data file with Python?
Posted by: aupres - Jul-28-2020, 01:01 AM - Forum: Data Science - Replies (4)

I am a newbie in deep learning and try to make feature matrix with python. My sample data structure is like below,

dataset.csv

[python]
..... More

Print this item

  name error "name"is not defined
Posted by: MaartenRo - Jul-28-2020, 12:41 AM - Forum: General Coding Help - Replies (1)

Hi,

I am doing an exercise but somehow my code doesn't work. It should ask for a colorname and when the user types red, orange, yellow, green or bl..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 51 minutes ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... 6 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
Most views
  The best Prog... 577094
  Tutorial Requ... 499933
  Web Scraping ... 440826
  Newbie with P... 384819
  New Users Int... 368976
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25

User Panel Messages

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