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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 29 Guest(s)
Bing, AOL, Applebot, AOL, Mojeek

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
6 hours ago
» Replies: 8
» Views: 8,415
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
7 hours ago
» Replies: 3
» Views: 1,808
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 313
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 747
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 819
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,066
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,706
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,747
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 354
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 604

 
  Datasets
Posted by: lErn1324 - Jul-17-2020, 08:37 AM - Forum: Data Science - Replies (1)

I have some datasets and I would like to compare them and check if, in one dataset has the components of the other, and I want to append that to anoth..... More

Print this item

  Tkinter - unicode
Posted by: DPaul - Jul-17-2020, 07:42 AM - Forum: GUI - Replies (4)

Hi,

I'm writing a program that needs a large Tkinter label, with multiline symbols in it.
Most fonts are 8 x 16 glyphs = rectangular. Visually tha..... More

Print this item

  Profit on Pricing Solver
Posted by: Gamo - Jul-17-2020, 07:30 AM - Forum: Code sharing - No Replies

Finally created this program for the "Pricing Calculations" solver.
This Profit for Pricing solver ask for any two knowns values and program
will solv..... More

Print this item

  image manipulation on a web app
Posted by: jdos - Jul-17-2020, 07:10 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello guys, I want to create an app that has a background (for example a t-shirt), and then to be able to add a logo and some text maybe of choose the..... More

Print this item

  I’m Flat out struggling to understand list indexes
Posted by: gr3yali3n - Jul-17-2020, 06:11 AM - Forum: General Coding Help - Replies (7)

Let’s say

x = [0, 1, [2]] 

x[2][0] = 3

print(x) 
I found this in a book I was scanning through, ok so I’m still trying..... More

Print this item

  Array issues
Posted by: Bmart6969 - Jul-17-2020, 01:46 AM - Forum: Data Science - Replies (1)

Getting a too many indices for array error while trying to make a function repeat. Is there a way to remove Array data or overwrite it maybe?[python]d..... More

Print this item

  could someone explain keywords, marks, and function
Posted by: DrKatherineThuyMiller - Jul-16-2020, 11:39 PM - Forum: General Coding Help - Replies (14)

Dear everyone,

I just started to study Python. I still need to grasp some basic concepts. If someone helps with these, I appreciate:

1- Functio..... More

Print this item

  dictionary merge
Posted by: Skaperen - Jul-16-2020, 11:38 PM - Forum: News and Discussions - Replies (1)

i'd like to see the | operator work for dictionary the same way it works for set.

Print this item

  Started coding yesterday. Please review "Basic Calculator" I made.
Posted by: blueconsole - Jul-16-2020, 11:33 PM - Forum: Code Review - Replies (5)

I started learning to code yesterday and figured I'd use python because of it's relative ease of use. Here is my version of the "Basic Calculator". I ..... More

Print this item

  Partial key lookup in dictionary
Posted by: GaryNR - Jul-16-2020, 06:46 PM - Forum: General Coding Help - Replies (1)

Hi,

Anyone ever needed to do a partial key lookup in a dictionary?
By this for example I mean:

[python]
starting_key = myDict.getLike("Que*")..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 6 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 7 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... Today, 03:54 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...
Most views
  The best Prog... 577119
  Tutorial Requ... 500014
  Web Scraping ... 440840
  Newbie with P... 384833
  New Users Int... 369060
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
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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