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,387
» Latest member: zashleyfracesz3221
» Forum threads: 38,820
» Forum posts: 176,013

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 30 Guest(s)
Bing, AOL, Facebook, AOL

Latest Threads
IP address for users
Forum: Networking
Last Post: itx_sumeet
4 hours ago
» Replies: 4
» Views: 7,054
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 5
» Views: 9,870
Calling python from anoth...
Forum: General Coding Help
Last Post: bowlofred
10 hours ago
» Replies: 4
» Views: 125
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 129
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 73
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 132
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,288
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 96
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 751
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: beslanpuzl
Dec-21-2025, 11:52 AM
» Replies: 0
» Views: 162

 
  Looping sent message with socket
Posted by: anastejzja - Jun-16-2022, 06:59 PM - Forum: Homework - Replies (1)

Hi, I'm almost finished with my project for university, but I'm having a really rough time with looping the message that is sent. I've tried doing it ..... More

Print this item

  Grid-EYE and Raspberry Pi to adafruit IO
Posted by: JLivingstonsg - Jun-16-2022, 01:23 PM - Forum: General Coding Help - No Replies

Hi.

Anyone know how to get people counter and x/y position data
https://www.hackster.io/64742/people-cou...-raspberry-..... More

Print this item

  client.get_all_tickers() Doesn't work
Posted by: gerald - Jun-16-2022, 07:44 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

This line used to work without any problems: client.get_all_tickers()

But now all of a sudden it gives a Timeout exception.

Now ..... More

Print this item

  wrapping c++ library
Posted by: JESuh - Jun-16-2022, 05:56 AM - Forum: General Coding Help - Replies (2)

Hello,

I want to use some c++ library in python code.
I used scipy dsp(digital signal processing) filter until now, but it was too slow and this p..... More

Print this item

  print statements without ()
Posted by: petec - Jun-16-2022, 03:58 AM - Forum: General Coding Help - Replies (7)

I have been findiing sites that include examples that have print ststements that don't use (), they use "".
When I try to execute these examples they..... More

Print this item

  generators with errors
Posted by: Skaperen - Jun-15-2022, 10:47 PM - Forum: News and Discussions - Replies (1)

normally a generator initially returns a reference to an instance of that generator which is holding specific parameters and/or data it needs to do it..... More

Print this item

  Pandas dataframe indexing
Posted by: pythonNovice - Jun-15-2022, 08:51 PM - Forum: Homework - Replies (1)

I am new to python and have decided to take a self-paced free course. i attempting to generate a scatter plot for "price" vs "area" in the state of "R..... More


Attached Files

Thumbnail(s)
   
Print this item

  Can a program execute code in iPython shell and get result?
Posted by: deanhystad - Jun-15-2022, 08:44 PM - Forum: General Coding Help - Replies (3)

I am playing around with iPython magic commands. I am trying to write a command to "enter" an object. When the user types:
[python]ENTER expression[..... More

Print this item

  \n not working
Posted by: WouldWerker - Jun-15-2022, 07:48 PM - Forum: General Coding Help - Replies (4)

Why does the following code work in my CLI, but not on my local Apache web server?

[python]#!C:\Python310\python.exe
print ("Content-type: text/ht..... More

Print this item

  An idiotic problem on Python lists on HackerRank
Posted by: anata2047 - Jun-15-2022, 06:32 PM - Forum: Homework - Replies (4)

I found the hackerrank.com, where you can solve tasks and use whatever tutorials for this.
There's one problem on Python lists, which seems idiotic an..... More

Print this item

  python wheel file
Posted by: Led_Zeppelin - Jun-15-2022, 01:07 PM - Forum: General Coding Help - Replies (1)

I am trying to install python 3.7 or less in my virtual env. via pip or conda. But it says it cannot find the version I want and aborts the install. ..... More

Print this item

  __getitem__ Error
Posted by: stahorse - Jun-15-2022, 07:33 AM - Forum: General Coding Help - Replies (4)

Hi,

I have this code below:

[python]import configparser
import graph

def main():
# print('Python Graph Tutorial\n')

# Load setti..... More

Print this item

  Passing string functions as arguments
Posted by: Clunk_Head - Jun-15-2022, 04:44 AM - Forum: General Coding Help - Replies (3)

I want to pass string functions like string.upper into another function as a parameter, there to be called as a function.
A simplified example:
[pyt..... More

Print this item

  What time format is this?
Posted by: wrybread - Jun-14-2022, 10:27 PM - Forum: General Coding Help - Replies (3)

I'm working with an API that returns the time for events in this format:

2022-06-14T13:00:00-07:00

Can I presume that that's telling me local ti..... More

Print this item

Sad pandas writer create "corrupted" file
Posted by: freko75 - Jun-14-2022, 07:58 PM - Forum: General Coding Help - Replies (1)

Hello,
I recently start to learn Python (I use Jupyter), and I do a code which scrap data from several urls. Depending on the frames, I write data in..... More

Print this item

  What web UI framework do you all use?
Posted by: Fredrik - Jun-14-2022, 05:04 PM - Forum: Web Scraping & Web Development - No Replies

I do not mean Flask or Django, I mean UI library.

I want to create a single page app with similar controls to a normal desktop app, but as always i..... More

Print this item

  Scrollable buttons with an add/delete button
Posted by: Clich3 - Jun-14-2022, 03:20 PM - Forum: GUI - Replies (5)

I am trying to make a GUI to manage the sensors I am going to be putting in my aquariums, terrariums, and vivariums. I am going to have a main menu sc..... More


Attached Files

Thumbnail(s)
   
Print this item

  Points not plotting with reference to x-tick labels
Posted by: Mark17 - Jun-14-2022, 03:08 PM - Forum: General Coding Help - Replies (2)

Here's the graphing portion of my program:
[Python]
fig, axs = plt.subplots(1,1)
fig.set_size_inches(14, 6)

axs.plot(trade_list,P_price_orig_all, ma..... More

Print this item

  How to solve this simple problem? Check if cvs first element is the same in each row?
Posted by: thesquid - Jun-14-2022, 02:50 PM - Forum: General Coding Help - Replies (2)

Ok so I have a cvs with these information (I am using pipes and not commas):

1 | A | B
1 | C | D
2 | E | F


I need a code that does this:
I..... More

Print this item

  Errror when importing pixiedust
Posted by: Led_Zeppelin - Jun-14-2022, 02:01 PM - Forum: General Coding Help - Replies (2)

I install pixie debugger and it installs fine with the commnad

pip install pixiedust

However, when I import it I get the error:

[error]
Attr..... More

Print this item

  set.difference of two list gives empty result
Posted by: wardancer84 - Jun-14-2022, 11:03 AM - Forum: General Coding Help - Replies (4)

hi,

i want to get the difference from two list of strings (using sets) but i always get an empty result. funny enough this worked until today and s..... More

Print this item

  Problem with importing Python file in Visual Studio Code
Posted by: DXav - Jun-14-2022, 10:04 AM - Forum: General Coding Help - Replies (7)

Hello here ! I'm learning how to code starting with Python, and I'm facing a problem trying to import a file as a module. With this code :

[python]..... More

Print this item

  How to format Excel column with comma?
Posted by: dee - Jun-13-2022, 10:11 PM - Forum: General Coding Help - No Replies

I want to format the number columns with commas. I received an error "column.map = '{:,d}'.format AttributeError: 'str' object has no attribute 'map'"..... More

Print this item

  Sublime Text Editor not recognizing Python
Posted by: elroberto - Jun-13-2022, 03:17 PM - Forum: General Coding Help - Replies (5)

I am just trying to run a hello world file through sublime text and it is not recognizing python. I am currently taking an intro to programming class ..... More

Print this item

  4D matrices
Posted by: ali1almakhmari - Jun-13-2022, 09:21 AM - Forum: General Coding Help - No Replies

Hi guys. I recently switched from MATLAB to Python and the syntax is killing me a bit. I ran across this issue here

[python]
picture[:,:,:,j] = cv..... More

Print this item

  Pyspark Window: perform sum over a window with specific conditions
Posted by: Shena76 - Jun-13-2022, 08:59 AM - Forum: General Coding Help - No Replies

Hello everyone,

I'm just learning about pyspark windows, and I was wondering how to achieve a particular operation.

I have a Pyspark table that ..... More

Print this item

  Problem with scrapping Website
Posted by: giddyhead - Jun-13-2022, 03:35 AM - Forum: Web Scraping & Web Development - Replies (1)

Good Day Everyone. I am having issues with web scaping as I am not sure why it does not want to scape. I am using xpath and also soup to gather the ..... More

Print this item

  Simple Python API, need packaging/removing hardcoding
Posted by: zxcv101 - Jun-12-2022, 07:36 PM - Forum: General Coding Help - Replies (2)

Hi guys, very much a newbie question, so pls go easy.

I have assembled the following program by searching the net - this basically logs onto a brok..... More

Print this item

Bug Problem connecting TLS client written in C++ and Twisted server
Posted by: gpropf - Jun-12-2022, 05:57 PM - Forum: Networking - No Replies

I'm trying to get a TLS (encrypted) connection between a client program written in C++ using the Boost::Asio framework and a server written using the ..... More

Print this item

  function understanding
Posted by: insignia47 - Jun-12-2022, 02:49 PM - Forum: Game Development - No Replies

Hello Everyone.

I want to understand the concept behind this function or simply if anybody could explain the function as what its doing and how is ..... More

Print this item

  parallel loop python
Posted by: caro - Jun-12-2022, 07:57 AM - Forum: General Coding Help - Replies (4)

Hello,
I have a funtion with a for loop, and i would like that the loop will be process faster and to make each loop run by a process so that it w..... More

Print this item

  Pygame running slow
Posted by: patagondev - Jun-11-2022, 11:25 PM - Forum: Game Development - Replies (3)

Hello. Im trying to run a simple snake code, which I get from youtube. In the video runs smoothly and fast, but when I run it freezes for moments and..... More

Print this item

  Gmail API - Error 400: redirect_uri_mismatch
Posted by: Depp - Jun-11-2022, 08:06 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am trying to access Gmail API using Al Sweigart book, however I am getting "Error 400: redirect_uri_mismatch". Attached is the print screensh..... More


Attached Files

Thumbnail(s)
   
Print this item

  List Creation and Position of Continue Statement In Regular Expression Code
Posted by: new_coder_231013 - Jun-11-2022, 12:57 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm going through a Python course and there's a section on extracting data using regular expressions in which the presenter shows the follow..... More

Print this item

  Cannot Display Image after Selecting Image
Posted by: bintangkecil - Jun-11-2022, 09:32 AM - Forum: GUI - Replies (4)

Hello,

I'm trying to figure out how to display image in label. I design the GUI with Qt Designer and work with PyQt5.

Right now I have defined..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  IP address for users 4 hours ago Robots itx_sumeet Networking
  Lottery generator (beginn... 8 hours ago Hullari Pedroski55 General Codin...
  Calling python from anoth... 10 hours ago eedjsa bowlofred General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
  a function to watch files 12-21, 07:43 Skaperen Gribouillis News and Disc...
Most views
  The best Prog... 580339
  Tutorial Requ... 518883
  Web Scraping ... 442761
  Newbie with P... 386944
  New Users Int... 386075
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today
Michaelhauct Yesterday
eedjsa Yesterday

User Panel Messages

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