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,279
» Latest member: Santoro
» Forum threads: 38,791
» Forum posts: 175,868

Full Statistics

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

Latest Threads
How Can Solo Indie Game D...
Forum: Game Development
Last Post: OtiliaBecker
1 hour ago
» Replies: 0
» Views: 11
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 86
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 29
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 5,980
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,282
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 294
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 141
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 207
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,110
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 253

 
  Convert py file to exe
Posted by: SmukasPlays - Jul-16-2020, 05:11 PM - Forum: General Coding Help - Replies (12)

I need help to convert four python files (they are all about the same program) in just one executable file that can be installed in other computers wi..... More

Print this item

  AttributeError: 'collections.OrderedDict' object has no attribute 'value_counts
Posted by: Kristenl2784 - Jul-16-2020, 05:04 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm not sure why I'm receiving the error message at the very bottom, its for line 30. I'm just trying to count how many times the value 0 oc..... More

Print this item

  How to plot gantt chart using matplotlib
Posted by: Mekala - Jul-16-2020, 03:43 PM - Forum: General Coding Help - Replies (1)

Hi,
I have below data,

[python]Date_time ID Duration Status
2020-07-13 20:13:25 E1 0.00 Normal
2020-07-13 20:14:35 CI_345 1.1..... More

Print this item

  Dynamically chosing number of players in a "game"
Posted by: nsadams87xx - Jul-16-2020, 03:19 PM - Forum: Homework - Replies (5)

Hey everyone I'm trying to write the game Cricket that you play on a darts board and I'm a little stuck on how to make a prompt that would take any nu..... More

Print this item

  PyInstaller related question
Posted by: Evil_Patrick - Jul-16-2020, 02:23 PM - Forum: General Coding Help - Replies (6)

So if I convert my python GUI file into an exe file using PyInstaller
can I run that file in another system without python or modules installed ? **h..... More

Print this item

  Easy Learning Python
Posted by: timhu - Jul-16-2020, 02:06 PM - Forum: Bar - Replies (6)

Python for Beginner's Guide
http://www.verebuy.com
[Image: 41WbGBk+wXL.jpg]..... More

Print this item

  Count number of values
Posted by: Kristenl2784 - Jul-16-2020, 01:26 PM - Forum: General Coding Help - No Replies

Hello,

How would I go about reading ws1 column F starting at row 4 and counting the number of times the value 0 occurs and then write that number t..... More

Print this item

  process finished with exit code -1073741819 (0xC0000005)
Posted by: GMCobraz - Jul-16-2020, 12:53 PM - Forum: General Coding Help - Replies (8)

Dear all,

Is anyone facing the error as per in title before?
Please give a hints on how to solve.

Thank you very much.

Regards,
Guang Min

Print this item

  How to calculate time difference between each row of dataframe in seconds
Posted by: Mekala - Jul-16-2020, 11:57 AM - Forum: General Coding Help - Replies (1)

Hi,
I have below data and want to calculate time difference,
I use below code: it give the below error:

TypeError: ufunc true_divide cannot use o..... More

Print this item

  Replacing part of a source image with the matching template image
Posted by: Glasgow1988 - Jul-16-2020, 11:39 AM - Forum: General Coding Help - Replies (2)

Hello,

Replacing part of a source image with the matching template image

I have been using this code which shows when a small template im..... More

Print this item

  Notify when a new file lands in a directory
Posted by: fioranosnake - Jul-16-2020, 11:12 AM - Forum: General Coding Help - Replies (1)

Hi,

We have an SFTP server and would like to be able to receive an email/SMS when a new file lands in a directory structure. Is there a python solu..... More

Print this item

  Changing Time Series from Start to End of Month
Posted by: illmattic - Jul-16-2020, 10:49 AM - Forum: Data Science - No Replies

Hello,

I'm pulling monthly data from Quandl and it gives me the follwing:

[python]USA_m1 = quandl.get('FRED/M1NS', authtoken=api_key, start_date..... More

Print this item

  problem with opening csv file in pandas
Posted by: saratha - Jul-16-2020, 09:00 AM - Forum: Data Science - Replies (2)

Hello everyone,
See, I'm a Pycharm user and I'm currently learning how to use pandas for data analysis. But the problem is that I cannot open my csv ..... More

Print this item

  PyGame Not Quiting
Posted by: KieranPage - Jul-16-2020, 08:37 AM - Forum: Game Development - Replies (2)

Hi ive recently started coding something in pygame and have been following along with a set of tutorial but recently whenever you hover over the close..... More

Print this item

  Trying to pass an exe filepath to tkinter Chatbot & expecting the chatbot to run it
Posted by: svkroy - Jul-16-2020, 07:46 AM - Forum: General Coding Help - No Replies

Hi,

I have been through a few web pages to create a tkinter based chatbot, that has a training module derived from a json file.

Now the inputs i..... More

Print this item

  Import CSV data into array and turn into integers
Posted by: DoctorSmiles - Jul-16-2020, 12:10 AM - Forum: General Coding Help - Replies (5)

Hey guys,

I am working on a school project and need to make it so that i can import data from a CSV file into an array and use it to do calculation..... More

Print this item

  Simple mistake about for
Posted by: Nomatter - Jul-15-2020, 11:41 PM - Forum: General Coding Help - Replies (4)

Hello , sorry for this simple mistake but I could not solve this. I am trying to text firstly english then turkısh words.Then they will come random an..... More

Print this item

  Why is my original list also sorted?
Posted by: Pedroski55 - Jul-15-2020, 09:09 PM - Forum: General Coding Help - Replies (1)

I have a simple list of words and a function to sort those words.

[python]def sortAlpha(words):
words.sort()
retu..... More

Print this item

  Need Direction
Posted by: illmattic - Jul-15-2020, 08:26 PM - Forum: Data Science - Replies (5)

Hello everyone,

I just started with python a month ago and it's the first computer language I've attempted to learn. I've gone through the basics a..... More

Print this item

  Horse racing stats output to csv
Posted by: paulfearn100 - Jul-15-2020, 08:17 PM - Forum: Web Scraping & Web Development - No Replies

i would like the code to loop over all profile links and show the table text but will only parse one page and not loop over all profiles, please see b..... More

Print this item

  Vocabulary indexing?
Posted by: gr3yali3n - Jul-15-2020, 07:16 PM - Forum: General Coding Help - Replies (5)

So I thought that I had this figured out, I was mistaken, I’ve been using this piece of code to practice learning dictionaries, indexes, join and spl..... More

Print this item

  memory leak on embedded python in c++
Posted by: asdf3721 - Jul-15-2020, 07:03 PM - Forum: General Coding Help - Replies (3)

why this line cause memory?
how do I solve it

void cyc()
{
Py_Initialize();


PyObject *pArgs = Py_BuildValue("idd",4,1.0,..... More

Print this item

  Centering labels and buttons
Posted by: Heyjoe - Jul-15-2020, 07:02 PM - Forum: GUI - Replies (8)

Hello Python Users:

I am a beginner with Python & Tkinter. I created 3 rows of labels and command buttons with the following code. I am kind of h..... More

Print this item

  Rounding to the nearest eight
Posted by: wallgraffiti - Jul-15-2020, 05:30 PM - Forum: General Coding Help - Replies (2)

Basically, I just need to round a number to the nearest eight and by my research the

round()
function cannot do that.

Print this item

  ResourceExhaustedError: OOM
Posted by: Marvin93 - Jul-15-2020, 05:21 PM - Forum: Data Science - No Replies

Hello everyone,

i am training a very small model multiple times in a row. I know this is probably not what most people do, but i just want to try a..... More

Print this item

  Why can't i send a private message?
Posted by: Nomatter - Jul-15-2020, 03:35 PM - Forum: Bar - Replies (6)

Hi, I can not send a private message to someone , Why can't I send?

Print this item

  can anyone help convert to python3
Posted by: corsasri - Jul-15-2020, 01:34 PM - Forum: General Coding Help - Replies (24)

Hello i need a bit of help converting something created for python2 to work with python3.
here is what i need converting.
..... More

Print this item

  Using a Proxy Server
Posted by: rsherry8 - Jul-15-2020, 01:11 PM - Forum: Web Scraping & Web Development - Replies (11)

Please consider the following python program.
[python]
import requests

url = 'https://washingtonpost.com/'

proxy = {
"https": "https..... More

Print this item

  [openpyxl] Increment cells being pasted into Template
Posted by: Kristenl2784 - Jul-15-2020, 12:45 PM - Forum: General Coding Help - Replies (4)

Hello,

How would I increment ws2 cells? ws cells can remain the same because when the script loops through my files it will copy data from the sam..... More

Print this item

  python socket connect only sometimes
Posted by: espDino - Jul-15-2020, 12:07 PM - Forum: Networking - No Replies

Hallo,
I have program in python to simply connect to TCP server and disconnect:
[python]
import socket

HOST = '192.168.1.6' # The server's hos..... More

Print this item

  splitting dirs into variables?
Posted by: zarize - Jul-15-2020, 11:57 AM - Forum: General Coding Help - Replies (3)

Hey guys,

I have grouped files which meets some requirements and i have it stored, but now i don't know how to seperate them from each other.

[p..... More

Print this item

  Property price calculation
Posted by: oli_action - Jul-15-2020, 11:53 AM - Forum: General Coding Help - Replies (4)

Hi. I'm a beginner stuck with a problem and need help please. I need to calculate the total property size ( width and length ) and then the total cost..... More

Print this item

  Creating tables with pymysql using Xampp
Posted by: newbie1 - Jul-15-2020, 11:10 AM - Forum: Web Scraping & Web Development - No Replies

I'm trying to build a webapp using Flask and the part with the database is a little bit confunsing since and want to wrap the creation of the tables i..... More

Print this item

  DOS tool [HTTP, TCP, UDP, SYN]
Posted by: Anarab - Jul-15-2020, 11:05 AM - Forum: Code sharing - No Replies

[python]
import time
import socket
import random
import sys

## USAGE ##
# python3 main.py <IP> <Port> <duration in secs> <packets size> <mode (udp, t..... More

Print this item

  how to do a bytes f-string?
Posted by: Skaperen - Jul-15-2020, 05:34 AM - Forum: General Coding Help - Replies (4)

how to do a bytes f-string?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Can Solo Indie Game D... 1 hour ago OtiliaBecker OtiliaBecker Game Developm...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 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
  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
Most views
  The best Prog... 579183
  Tutorial Requ... 511871
  Web Scraping ... 442138
  Newbie with P... 386215
  New Users Int... 379099
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
Santoro Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19

User Panel Messages

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