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,977
» Latest member: hoki1881
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

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

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Today, 07:43 AM
» Replies: 2
» Views: 299
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 928
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 978
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 664
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,994
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,421
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,999
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,440
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,339
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,671

 
  How to assign this output to a string variable?
Posted by: Pedroski55 - Apr-17-2019, 03:38 AM - Forum: General Coding Help - Replies (3)

I am trying to automate making my little homework webpages. I've made lots of little Python programs. For example:

makeRadioButtonsInlineV1.py

i..... More

Print this item

  int infinity
Posted by: Skaperen - Apr-17-2019, 03:28 AM - Forum: News and Discussions - Replies (8)

so int has no infinity. i guess i just need to use some extremely large numbers. for this its going to need to be so large that repeating divide by ..... More

Print this item

  Skipping Loop
Posted by: blueriver649 - Apr-17-2019, 03:14 AM - Forum: General Coding Help - Replies (4)

Hi Gents,

I could not do Step 5 in this Skipping loop exercise, for step 5, where do I put the codes thanks.

1)Start a new program with a statem..... More

Print this item

  Randomly generate an even number
Posted by: Truman - Apr-17-2019, 02:07 AM - Forum: Homework - Replies (17)

[i]How would you randomly generate an even number x, 0 <= x < 100? Fill out the definition for the function genEven(). Please generate a uniform distr..... More

Print this item

  Downloading Multiple Webpages
Posted by: MoziakBeats - Apr-16-2019, 11:55 PM - Forum: Web Scraping & Web Development - Replies (4)

[size=medium][font=Arial, Helvetica, sans-serif][align=center]I Need a script that takes link's from a text document and downloads the web page there ..... More

Print this item

  ploting dot
Posted by: lioko - Apr-16-2019, 10:44 PM - Forum: General Coding Help - Replies (3)

Hi everyone !
i have a problem for ploting my results the way i want.

I have a list of results of a function F(x,tau).
my results are in a "list ..... More

Print this item

  Python Formula
Posted by: prophet11 - Apr-16-2019, 09:17 PM - Forum: General Coding Help - Replies (5)

Dear Collaborates,

Firs of all thank you in advance for replying to my inquiry:

Problem: I have written a python program that works fine, but I ..... More

Print this item

  [split] the best python teaching program for an 8 year kid?
Posted by: ThomasMoore - Apr-16-2019, 07:55 PM - Forum: News and Discussions - Replies (2)

Hello python family
Would anyone know the best python teaching program for an 8 year kid?
Please let me know, text me 703-200-5367
Thanks in advanc..... More

Print this item

  How to concatenate nested numpy arrays?
Posted by: python_newbie09 - Apr-16-2019, 04:30 PM - Forum: General Coding Help - Replies (2)

I am trying to work with matlab files on python and I managed to extract the data needed and it is loaded in 1D array form. But I now want to combine ..... More

Print this item

  why import time 2x
Posted by: ilcaa72 - Apr-16-2019, 04:18 PM - Forum: General Coding Help - Replies (4)

just need a quick explanation on why if i imported time from datetime in line 2, do i need to import again in line 3 to make this work?

ctime wont ..... More

Print this item

  switching frames
Posted by: nick123 - Apr-16-2019, 03:00 PM - Forum: GUI - Replies (2)

I want to switch between two frames instead of creating a new window.I just want to stay in same window and after some button is pressed then the anot..... More

Print this item

  opencv memory question
Posted by: djf123 - Apr-16-2019, 02:49 PM - Forum: General Coding Help - Replies (1)

Basically I want to convert a .mts movie file to a numpy array. Each frame of the movie is 1080x1920 and the file is 47.1 MB in size for 721 frames. W..... More

Print this item

  Use the write function
Posted by: manonB - Apr-16-2019, 01:16 PM - Forum: General Coding Help - Replies (2)

Hi everyone!

I'm mew to Python and I'm trying to write a file with Information I get from a finite element mesh in Ansa. For that I use the Ansa py..... More

Print this item

  From Dictionaries to Matrix.
Posted by: dervast - Apr-16-2019, 10:17 AM - Forum: General Coding Help - Replies (1)

Hi
I have a rather complicated task.

I would like to turn the keys of my dictionaries to columns of a matrix (or columns of a data frame).

1...... More

Print this item

  Overload of constructor
Posted by: psosmol - Apr-16-2019, 09:59 AM - Forum: General Coding Help - Replies (2)

Hello, I have for files AllOnesGA.py with the main(), GeneticAlgorithm.py,Population.py and Individual.py

The cuestion is that pycharm mark as an e..... More

Print this item

  Keypress when running a python app in a console on windows
Posted by: Stephen - Apr-16-2019, 09:32 AM - Forum: General Coding Help - Replies (6)

Hi all,

I have a small python program running for the windows command window (console app) I want to detect a keypress when the console app has not..... More

Print this item

  missing 1 required positional argument:
Posted by: psosmol - Apr-16-2019, 08:05 AM - Forum: General Coding Help - Replies (7)

[i]
Hello, I have for files AllOnesGA.py with the main(), GeneticAlgorithm.py,Population.py and Individual.py
My problem is that when I try to run t..... More

Print this item

  unicode variable names
Posted by: Skaperen - Apr-16-2019, 04:41 AM - Forum: News and Discussions - Replies (1)

unicode variable names work. i tried to use a unicode math operator in a name and it was rejected. yay! it looks like i can use unicode the right w..... More

Print this item

  Openpyxl - When save existing xlsx sheet, images/drawing does not get saved
Posted by: shubhamjainj - Apr-16-2019, 04:18 AM - Forum: General Coding Help - Replies (2)

Openpyxl - After modifying existing xlsx sheet with some drawings/images, when saved already existing images and drawings does not get saved.

I am ..... More

Print this item

  Off topic, but how did you get better?
Posted by: acblevins - Apr-16-2019, 02:12 AM - Forum: News and Discussions - Replies (9)

I am teaching myself Python and I have taken many different beginner series from "Automate the boring stuff" to a few Udemy courses. I understand the ..... More

Print this item

  Read bit by bit from a 128 bit number
Posted by: vdhingra - Apr-15-2019, 11:48 PM - Forum: General Coding Help - Replies (3)

I am trying to read bit by bit from a 128 bit binary number and want to use it.

I was trying my logic on 8 bit number but not getting the bits in o..... More

Print this item

  if /else statement not executing correctly
Posted by: bluethundr - Apr-15-2019, 08:53 PM - Forum: General Coding Help - Replies (3)

I am trying to get a list of groups in an aws account. Then allow a user to add the groups to a user name, until the user enters quit:
[python]group_l..... More

Print this item

  Can you find the problem in my code?
Posted by: ivinjjunior - Apr-15-2019, 07:50 PM - Forum: General Coding Help - Replies (3)

hey everyone, back here Smile , i got a problem with my code.. don't know it you can help due to the code that i made is a bit confusing.. but if..... More

Print this item

  pygame uploading image from opengameart
Posted by: fatimabttt - Apr-15-2019, 07:38 PM - Forum: Game Development - Replies (3)

hi
hi I am learning pygame please.I am using windows computer.Please I want to upload images from opengameart.org.
I have downloaded them for my game...... More

Print this item

  How can I fix this code so if i want to retry, it will go through the same loop
Posted by: SteampunkMaverick12 - Apr-15-2019, 07:08 PM - Forum: General Coding Help - Replies (1)

I want to make it so that if I get the password wrong, and I choose to retry, it will ask me again and go through the same checking process again.

..... More

Print this item

  Python coding
Posted by: Nomathemba - Apr-15-2019, 07:00 PM - Forum: Homework - Replies (3)

There are three steps(open,write,close)required for file handling files. You need to write a Python program that executes each of these three steps. Y..... More

Print this item

  Spoof MAC question
Posted by: jean - Apr-15-2019, 06:13 PM - Forum: Networking - Replies (1)

I inherited a code using the spoof-mac.py from GitHub change the Wi-Fi MAC address.
It works on Windows 7 laptop with both Broadcom or Intel wireless..... More

Print this item

  'module' object is not callable
Posted by: psosmol - Apr-15-2019, 04:24 PM - Forum: General Coding Help - Replies (5)

Hello, I have for files AllOnesGA.py with the main(), GeneticAlgorithm.py,Population.py and Individual.py
My problem is that when I try to run the pr..... More

Print this item

  file python task, need help !
Posted by: rayabv - Apr-15-2019, 02:18 PM - Forum: Homework - Replies (7)

the task is below:https://pp.userapi.com/c850124/v850124111/11a750/yRoZ2C4WFRI.j[url=https://python-forum.io/thread-17549.html]..... More

Print this item

  uising python zero with IDLE I get an error of 'module not found'
Posted by: Brian123 - Apr-15-2019, 02:05 PM - Forum: General Coding Help - Replies (1)

I can run a python program using pgzrun (program name) on the DOS prompt
but when I type in at the start of the code 'import pgzrun' and type in 'pgz..... More

Print this item

  legend/color
Posted by: mcgrim - Apr-15-2019, 12:03 PM - Forum: General Coding Help - Replies (5)

The following code is running as it should, however, when it comes to plot the graph,
the command cm.rainbow is printing the same color, and I'd like..... More

Print this item

  Find Maximum Flow for graph with infinite capacities
Posted by: Dav - Apr-15-2019, 11:54 AM - Forum: General Coding Help - Replies (6)

I want to know how I could compute maximum flow for a graph G(V,E) that includes one or more infinite capacities.

Thanks

Print this item

  Automatically plot each variable on the same graph for each "ID"
Posted by: AdWill97 - Apr-15-2019, 09:22 AM - Forum: Data Science - No Replies

Hello, I am currently doing an Internship and have been tasked with writing a code that will automatically plot values in a dataframe based on their I..... More

Print this item

  Use range to add char. to empty string
Posted by: johneven - Apr-15-2019, 09:15 AM - Forum: Homework - Replies (5)

This seems simple enough, but I can't seem to get my head around it.

The problem:
Create an empty string and assign it to the variable lett..... More

Print this item

  trace invalid pointer
Posted by: simon149 - Apr-15-2019, 08:23 AM - Forum: General Coding Help - Replies (7)

Hello

I am using a python program i have writtent to collect machine data and send it via a socket to a server, the program does what it is suppose..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577393
  Tutorial Requ... 500800
  Web Scraping ... 441043
  Newbie with P... 385096
  New Users Int... 369628
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
hoki1881 Today
stephaniehendrix Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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