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,290
» Latest member: irukson
» Forum threads: 38,793
» Forum posts: 175,881

Full Statistics

Online Users
There are currently 30 online users.
» 1 Member(s) | 25 Guest(s)
Google, Bing, Applebot, lovedeep

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 71
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Nov-23-2025, 12:05 PM
» Replies: 5
» Views: 174
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 68
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,506
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 162
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 74
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,103
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,312
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 420
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 240

 
  How to use python 3.x instead of 2.x?
Posted by: AndrzejB - Nov-07-2019, 06:16 PM - Forum: General Coding Help - Replies (4)

I have Linux Mint and python 3.6 already installed.
If I call "python" , Python 2.7.15 is called. If I call with -3, is the same and option -2 is not..... More

Print this item

  Conditional not processing as intended (Colt Steele’s Udemy course)
Posted by: Drone4four - Nov-07-2019, 04:10 PM - Forum: General Coding Help - Replies (3)

I’m trying to choose one element at random from a list with 6 food items and then categorizes the randomly selected item as either fruit, vegetable or..... More

Print this item

  Print string in a single line
Posted by: RavCOder - Nov-07-2019, 03:02 PM - Forum: General Coding Help - Replies (8)

[python]
'''
Write a program (using functions!) that asks the user for a long string containing multiple words. Print back to the user the same stri..... More

Print this item

  Help with basic webscraping
Posted by: Captain_Snuggle - Nov-07-2019, 02:33 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys,
I have recently started learning Python, and have now started learning webscraping with BeautifulSoup. The following code is not working for..... More

Print this item

  beginner - object has no attribute
Posted by: gean - Nov-07-2019, 09:39 AM - Forum: Game Development - Replies (2)

Hi everyone,
I am working on a game with python 3.6 and PYGAME and with the Geany text editor.
The problem is in the last line. Can someone please e..... More

Print this item

  equation
Posted by: MathisDELAGE - Nov-07-2019, 09:25 AM - Forum: General Coding Help - Replies (5)

Hello,
I'd like to fix an equation with this program is what it would be possible to please
[python]
# coding:utf-8


équation = str(input("sais..... More

Print this item

  ValueError: Found input variables with inconsistent numbers of samples: [5, 6]
Posted by: bongielondy - Nov-07-2019, 03:26 AM - Forum: Data Science - Replies (6)

I am working on a small test data. I am getting a ValueError: Found input variables with inconsistent numbers of samples: [5, 6]. How can I make the X..... More

Print this item

  memory issue loading movie to numpy array
Posted by: djf123 - Nov-07-2019, 01:31 AM - Forum: Data Science - Replies (1)

I have a movie, .mts file, that I want to be able to read into a numpy array that is (w,h,3,f), where w is the frame's width, h its height, and f the ..... More

Print this item

  TensorFlow get error - array with more than one element is ambiguous
Posted by: vokoyo - Nov-07-2019, 01:20 AM - Forum: Data Science - Replies (3)




The experiment is carried out on Windows 10 Pro Intel ® Core ™ i5-4590 CPU @ 3.3 GHz, based on the platform of Anaconda with Spyder ..... More

Print this item

  Keyword can't be an expression
Posted by: fcktheworld587 - Nov-06-2019, 11:23 PM - Forum: General Coding Help - Replies (2)

In the following module, IDLE refuses to run it, siting "Keyword can't be an expression" and highlights the ( on the righthand side of AthleteList ins..... More

Print this item

  Running tests in a sibling directory to code
Posted by: sodhiar - Nov-06-2019, 10:59 PM - Forum: General Coding Help - Replies (1)

In a shared root, I have a src and a tests folder. When from that root I run pipenv run pytest ., I get the error that my auth module..... More

Print this item

  Super easy beginner question
Posted by: AkulaLA - Nov-06-2019, 10:26 PM - Forum: General Coding Help - Replies (3)

Hello new to the forum and new to python,

my questions are:
- In step 3 of the below code why is 'members' recognized as a what i am guessing Boolea..... More

Print this item

  Still working with dicts
Posted by: menator01 - Nov-06-2019, 09:49 PM - Forum: General Coding Help - Replies (2)

Given the current dict and data structure, doing a search for chicken pulls all recipes for chicken. If I wanted to refine that search for bourbon chi..... More

Print this item

  send all pictures instead of just two
Posted by: mcgrim - Nov-06-2019, 09:35 PM - Forum: Networking - Replies (10)

The server is supposed to send all pictures from a folder to the client.
By changing the number inside of the parenthesis of s.recv() in the client s..... More

Print this item

  Roman Numeral Ordered List? (first post)
Posted by: CopperyMarrow15 - Nov-06-2019, 09:05 PM - Forum: General Coding Help - Replies (1)

Hello...
I'm trying to make a program that creates an ordered list marked by several different pieces of text (like in html if anyone here uses that)..... More

Print this item

  hangman doesn't end after guessing the word
Posted by: vinci - Nov-06-2019, 09:02 PM - Forum: Game Development - Replies (3)

Hi,

I should say from the beginning that I'm very new in Python. I've been following a video tutorial where hangman is being tested. I've got the f..... More

Print this item

  Turkish Character Prohibition
Posted by: JgKSuperstar - Nov-06-2019, 07:58 PM - Forum: General Coding Help - Replies (3)

Hi, i'm learning Python, but there are some places where I have problems. I would like to ban the use of Turkish characters. But Somewhere I'm making ..... More

Print this item

  Can't seem to get the current state of a checkbutton.
Posted by: p_hobbs - Nov-06-2019, 07:52 PM - Forum: GUI - Replies (6)

Hello everyone. I'm pretty new to Python, so this is probably basic. I have tried about a million different things, and have gone though everything I ..... More

Print this item

  resample grouping pr0blem
Posted by: olufemig - Nov-06-2019, 07:41 PM - Forum: General Coding Help - Replies (1)

i have a scenario in which i have a dataframe which contains 3 columns ( date, product_id and sales_amt)

the dates are supposed to span a whole mon..... More

Print this item

  file directory
Posted by: linards - Nov-06-2019, 07:27 PM - Forum: General Coding Help - Replies (3)

newbie here - please be gentle :)

Having a path error when trying to run a file in the terminal

Path:
/Users/linardsberzins/Desktop/weatherterm..... More

Print this item

  cacul in variable
Posted by: MathisDELAGE - Nov-06-2019, 05:18 PM - Forum: General Coding Help - Replies (2)

hello,
I'd like to do an operation in a variables like

1.calcul = input("enter a calculation: ")
2.x = 1
3.print(calcul)

>>>enter a calculati..... More

Print this item

  Getting form data ?
Posted by: JohnnyCoffee - Nov-06-2019, 01:49 PM - Forum: Web Scraping & Web Development - Replies (3)

How can I get input data from a form via post without using any framework ?

Print this item

  Flask session behaves erratically
Posted by: Antares - Nov-06-2019, 01:09 PM - Forum: Web Scraping & Web Development - Replies (5)

My Flask Session behaves in an unpredictable manner. I'm using the same Flask Session settings I did in my previous project, and yet this time it's co..... More

Print this item

  Importing packages with long names
Posted by: joel_graff - Nov-06-2019, 01:01 PM - Forum: General Coding Help - Replies (7)

So I've never really sorted out a good solution to this issue, and from what I can see, there really isn't one. so I thought I'd post here as a last ..... More

Print this item

  Python and PIP
Posted by: scratchmyhead - Nov-06-2019, 12:32 PM - Forum: General Coding Help - Replies (5)

I downloaded and installed python 3.7 version and have been running Pycharm with no problem but when I go to the command prompt and check the python v..... More

Print this item

  C++ Wrapper for python
Posted by: yamifm0f - Nov-06-2019, 12:26 PM - Forum: General Coding Help - Replies (6)

Hi I have a code written in python and I need use it with another code that is written in C++
it was recommended to me to have a c wrapper to link th..... More

Print this item

  Beginner needing advice with data files
Posted by: JFI2019 - Nov-06-2019, 12:15 PM - Forum: General Coding Help - Replies (2)

Hello there, I am a complete newbie to Python as a whole, and need some advice, to be precise, I need to handle .dat files describing a few hundred th..... More

Print this item

  print
Posted by: mar24nn - Nov-06-2019, 11:18 AM - Forum: General Coding Help - Replies (4)

hi
any one can help

print args.test1, args.test2,':', args.test3
im getting this output: value value : value but need: [..... More

Print this item

  problem in socket
Posted by: Mamad - Nov-06-2019, 11:12 AM - Forum: Networking - Replies (2)

Hi guys i need your helps guys im new in python and i have a problem in my code here is code:
from socket import *
ip = input("ip= ")
port = input(..... More

Print this item

  Read in trades from emails
Posted by: semantina - Nov-06-2019, 10:43 AM - Forum: General Coding Help - Replies (2)

Hi,
I need to develop a script which will read in and place trades from emails sent each hour.

The email text is as follows:

1 EURCHF Sell 1.10..... More

Print this item

  Pycharm Interpreter
Posted by: Cryptus - Nov-06-2019, 10:36 AM - Forum: Bar - Replies (1)

Hello,

I am using Pycharm as my main IDE for Python projects and I like to switch between OS (Windows & Linux) where I have my Pycharms installed...... More

Print this item

  can't remove element from a list
Posted by: yokaso - Nov-06-2019, 10:22 AM - Forum: General Coding Help - Replies (6)

i have a list and i want to remove all non digit element from it,but got some problem.
there is my code , can you help me:



[python]
match = r..... More

Print this item

  .startup.py
Posted by: perfringo - Nov-06-2019, 09:30 AM - Forum: Bar - Replies (1)

Does anybody uses .startup.py and for what?

As .startup.py runs for interactive sessions, not when Python is running programs one don’t have to wor..... More

Print this item

  Execute search query on Amazon website
Posted by: Pavel_47 - Nov-06-2019, 08:50 AM - Forum: Web Scraping & Web Development - Replies (7)

Hello,
Probably a solution already exists but I have trouble formulating my request correctly.
My task can be summarized in two points:

  1. [..... More

Print this item

  Extract info from 3d file
Posted by: DindonPiere - Nov-06-2019, 08:32 AM - Forum: General Coding Help - Replies (1)

Hello,

My questions are a little unusual:
I'm trying to find out how (from a 3d model of a propeller (stl or any other format that could work)) t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  data fetching for indian ... 11-23, 12:05 drakhsin snippsat Web Scraping ...
  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...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579310
  Tutorial Requ... 512178
  Web Scraping ... 442202
  Newbie with P... 386310
  New Users Int... 379875
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 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
irukson Today
J2M Yesterday
jackhunter Yesterday
EmilyCarter Yesterday
xdimbah Yesterday

User Panel Messages

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