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,983
» Latest member: lydiaharrison12
» Forum threads: 38,734
» Forum posts: 175,571

Full Statistics

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

Latest Threads
SECURE HACKER EXPERTISE R...
Forum: General Coding Help
Last Post: lydiaharrison12
16 minutes ago
» Replies: 0
» Views: 8
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 5
» Views: 128
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,027
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 439
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,077
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,140
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 807
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,541
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,130

 
  Trying to convert my Expect/bash to Python
Posted by: sumncguy - Jun-06-2019, 01:37 PM - Forum: General Coding Help - Replies (4)

Good Morning,

I am trying to gain some python knowledge and convert scripts Ive written in expect and bash.
I do not have permission to load mod..... More

Print this item

  variable call back into an array
Posted by: yamifm0f - Jun-06-2019, 01:23 PM - Forum: General Coding Help - Replies (3)

Hello

I would like to get the value of each port area in a pipe in one array. I have developed an array class called Equation where equation.A is ..... More

Print this item

  malformed header from script 'main.py': Bad header: * Serving Flask app "main"
Posted by: anuragsapanbharat - Jun-06-2019, 12:20 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi All,

I am trying to host a simple python application to test. But while running the app from browser I am getting the below error.

[pid 3952]..... More

Print this item

  tkinter clock
Posted by: Ondrej - Jun-06-2019, 12:14 PM - Forum: GUI - Replies (5)

Hello everyone,

I need help to make simple clock app which will change background color in choosen periods with duration for few secc and after th..... More

Print this item

  Unable to install packages of python3.6 in ubuntu server 16.04
Posted by: jenkins43 - Jun-06-2019, 12:06 PM - Forum: Networking - Replies (2)

Hi, as I am working on ubuntu 16.04 and I was able to install python 3.6.8. But when I am trying to install numpy or pandas or scipy through command
..... More

Print this item

  change to loop
Posted by: amirliker - Jun-06-2019, 09:37 AM - Forum: General Coding Help - Replies (3)

I wrote this code that takes info (grades and student names) from a csv file with pandas and make a graph with matplotlib.

[python]import pandas as..... More

Print this item

  "Mother" from Alien terminal game.
Posted by: michael1789 - Jun-06-2019, 07:37 AM - Forum: Game Development - Replies (1)

If you've seen "Alien" you know what I mean. It's a '70's scifi text interface.


The elements I think I require are:

1) An effects layer to ap..... More

Print this item

  Update value selected in option menu when select an item from text box
Posted by: klllmmm - Jun-06-2019, 01:26 AM - Forum: GUI - Replies (2)

In my GUI using tkinter, I'm trying to update the value display for option menu based on selected row function.

[python]def get_selected_row(event)..... More


Attached Files

Thumbnail(s)
   

.py   Creating_frontend_udemy.py (Size: 3.69 KB / Downloads: 514)
.py   backend_udemy.py (Size: 1.78 KB / Downloads: 468)
Print this item

  Parse data from xml file
Posted by: klllmmm - Jun-06-2019, 01:09 AM - Forum: General Coding Help - Replies (9)

I'm trying to parse data from a xml file downloaded from https://www.treasury.gov/ofac/downloads/...idated.xml

Sample of the xml fi..... More


Attached Files

.xml   test.xml (Size: 2.37 KB / Downloads: 697)
Print this item

  Could I override a fully implemented method
Posted by: zatlas1 - Jun-05-2019, 09:57 PM - Forum: General Coding Help - Replies (2)

Hi all
I have an abstract class with a mixture of abstract methods and fully implemented methods. The latter are correct for 99.9% of the derived cl..... More

Print this item

  Finding multiple strings between the two same strings
Posted by: Slither - Jun-05-2019, 08:34 PM - Forum: General Coding Help - Replies (1)

I'm just starting to learn Python and have hit my first real road block. I have a need for a file renamer and figured it would be a good way to start..... More

Print this item

  downloading source for every version
Posted by: Skaperen - Jun-05-2019, 08:10 PM - Forum: Bar - Replies (11)

downloading source for every version of Python from www.python.org is such a bitch. they have a mix of .tar.bz2 and .tar.xz and i didn'..... More

Print this item

  Creating Map Obstacles
Posted by: cameron121901 - Jun-05-2019, 08:00 PM - Forum: Game Development - Replies (9)

I saved the image without paying for it, however, I don't intend to use it for anything but learning how to use PyGame. I am a beginner.

When the c..... More

Print this item

  ExecTiming
Posted by: JacobMorris - Jun-05-2019, 07:47 PM - Forum: Code sharing - Replies (1)

Several years ago, I wrote a small module named PyTimer that provided some features to make it easier to determine the execution time of functions and..... More

Print this item

  error using 'continue' in my code
Posted by: ilcaa72 - Jun-05-2019, 07:24 PM - Forum: General Coding Help - Replies (1)

i get the error "continue not properly in loop". i cant find examples that dont use it like this...

i want the code to exit and 're-enter' the loop..... More

Print this item

  Probem importing tkinter
Posted by: GarDebs - Jun-05-2019, 07:17 PM - Forum: GUI - Replies (3)

Hi

I'm trying to teach my son Python programming... we're using Spyder on Ubuntu.

I'm trying to use this code...
[python]from tkinter import *..... More

Print this item

  Evaluate dataset with logistic regression
Posted by: chisox721 - Jun-05-2019, 06:32 PM - Forum: Data Science - Replies (6)

To start I'll just say that I do a lot of work with Python but I'm venturing into new territory with math/data plotting so bear with me. My dataset in..... More

Print this item

  flagged as spam
Posted by: Skaperen - Jun-05-2019, 06:08 PM - Forum: Board - Replies (8)

my last post got flagged as spam and the javascript erased it so i can't review it to see why. did it get logged?

Print this item

  Python requests writes the name of the file instead of contents to web page
Posted by: bluethundr - Jun-05-2019, 04:43 PM - Forum: General Coding Help - Replies (1)

I have a function that tries to write a web page into conflunece. Instead of posting the contents of a file, it writes the name of the file to the web..... More

Print this item

  proper syntax for itertuples?
Posted by: ilcaa72 - Jun-05-2019, 04:15 PM - Forum: General Coding Help - Replies (1)

i have this code the keeps giving me errors. i cant seem to get the correct syntax, can anyone assist? below is the dataframe and error is: [b]TypeEr..... More

Print this item

  flask to uwsgi threading issue
Posted by: batchenr - Jun-05-2019, 04:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey,

I dont know if its the right forum but ill post anyways, feel free to delete if its not.

Using Python 3.7.3, uwsgi 2.0.18, (docker containe..... More

Print this item

  Help with a CFD script development
Posted by: yamifm0f - Jun-05-2019, 02:45 PM - Forum: General Coding Help - No Replies

Hello, I am new to programming and especially new to python. I have been self-learning and I managed to write a script for a CFD code and it works fin..... More

Print this item

  Scrollbar
Posted by: rturus - Jun-05-2019, 01:46 PM - Forum: GUI - Replies (5)

Hi,

How can I attach the scrollbar to a button so that when button clicked the bar moves down automatically?

Any idea?

Thanks,

Print this item

  Grouping data based on rolling conditions
Posted by: kapilan15 - Jun-05-2019, 01:07 PM - Forum: Data Science - No Replies

I am trying to group the data-frame based on a few conditions.

Data frame:
Start Date End Date value
1971-07-01 1971-07-31 0.0
1971-08-01 ..... More

Print this item

  Encoding problems on multiple files in one folder
Posted by: NikolajKorsgaard - Jun-05-2019, 12:56 PM - Forum: General Coding Help - Replies (5)

Hello, I'm pretty new to Python, so please bear over with me, if I ask any beginner's questions.

I'm trying to work on multiple files in a folder, ..... More

Print this item

  How can I get some arguments using argparse?
Posted by: Mike Ru - Jun-05-2019, 12:32 PM - Forum: General Coding Help - No Replies

I am using a module argparse. I need to get arguments and then do something. I can only one argument now, but I cannot get some arguments if an user t..... More

Print this item

  pydev error pydev debugger: warning: trying to add breakpoint to file that does not e
Posted by: kwhhst - Jun-05-2019, 12:22 PM - Forum: General Coding Help - Replies (8)

Hello,
I think ther is only a little missing in the settings.
I have a python script where I call a function which is located in a other file.
e.g..... More

Print this item

  count unique letters in a word
Posted by: sunny_awesome - Jun-05-2019, 12:22 PM - Forum: Homework - Replies (4)

Problem description :
Write a function called unique_english_letters that takes the string word as a parameter. The function should return the total ..... More

Print this item

  Loop through array items dynamically in a certain format
Posted by: bhojendra - Jun-05-2019, 11:09 AM - Forum: General Coding Help - Replies (3)

I have something like below code:

[python]
arr = ['foo','bar']
def func():
return f"""
MY_STATEMENT (
{{
{arr[0]}: ${arr[0]},
..... More

Print this item

  Plot a small neighborhood map with some GPS trails
Posted by: dervast - Jun-05-2019, 10:22 AM - Forum: General Coding Help - Replies (2)

Hi all,
I have some GPS measurements that are coming from a car driving around. I would like to print a map overlay with the streets and then atop of..... More

Print this item

  send email after restart raspberry pi
Posted by: chano - Jun-05-2019, 09:48 AM - Forum: News and Discussions - Replies (6)

How raspberry send email when it restarting, I want receive email when raspberry is restarting, for example, when electricity drops.

Is it a possib..... More

Print this item

  3rd problem from project Euler
Posted by: Richard_SS - Jun-05-2019, 08:00 AM - Forum: General Coding Help - Replies (6)

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the number 600851475143 ?
-
I have written a programm for solving..... More

Print this item

  Need Help Typing Text into Tough Form [xpath / selenium]
Posted by: digitalmatic7 - Jun-05-2019, 06:26 AM - Forum: General Coding Help - No Replies

I'm struggling Huh I have no idea how to proceed. I just need to send text to these 2 fields.

The code is the exact same for both fields and..... More

Print this item

  Imitating C's strtol() function.
Posted by: Gribouillis - Jun-05-2019, 06:07 AM - Forum: Code sharing - Replies (5)

An exercise to imitate more or less the C function strtol that parses an integer at a given position in ..... More

Print this item

  compiling various versions of Python, which toolchain?
Posted by: Skaperen - Jun-05-2019, 05:54 AM - Forum: News and Discussions - Replies (4)

is there info on which toolchains the Python developers tested old versions of Python with (especially the compiler). i am building a script to compi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  SECURE HACKER EXPERTISE R... 16 minutes ago lydiaharrison12 lydiaharrison12 General Codin...
  Parse Markdown / get the ... 1 hour ago SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 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
Most views
  The best Prog... 577451
  Tutorial Requ... 501056
  Web Scraping ... 441079
  Newbie with P... 385149
  New Users Int... 369751
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lydiaharrison12 Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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