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,965
» Latest member: zalexstolzeoz5360
» Forum threads: 38,730
» Forum posts: 175,547

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 4
» Views: 210
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 571
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,109
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,671
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 570
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,054
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,045
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,322
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,906
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,956

 
  Variable Not Updating
Posted by: NectDz - Jun-07-2020, 10:41 PM - Forum: General Coding Help - Replies (1)

Hello, Im having a problem with my function. It is supposed to out put '01' if the user only puts 1 digit but when I call it in the engine function it..... More

Print this item

  better than discord
Posted by: goodsignal - Jun-07-2020, 10:35 PM - Forum: Bar - Replies (4)

Wow! I'm brand new here and already this place seems so much better than the python discord group. The generally thoughtful responses and an easily se..... More

Print this item

  Who enjoys Py RegEx? re.sub() isn't working
Posted by: goodsignal - Jun-07-2020, 10:11 PM - Forum: General Coding Help - Replies (4)

From all I've read, these two functions should produce the same results, given a regex pattern with two groups. I'd like to know if I'm using [b]re.su..... More

Print this item

  Using OpenPyXL How To Read Entire Column Into Dictionary
Posted by: jo15765 - Jun-07-2020, 09:23 PM - Forum: General Coding Help - Replies (1)

Using openpyxl how can I read every row in the last column (excluding the first row for the header) into a dictionary?

Print this item

  anytree implicit node?
Posted by: gw1500se - Jun-07-2020, 08:42 PM - Forum: General Coding Help - No Replies

I have a weird problem with anytree. I defined a node thus:

Node(str(sensor.target),parent=tgt,index=0,action='target')
Note that i..... More

Print this item

  Assigning Value To Period Seperated List
Posted by: jo15765 - Jun-07-2020, 08:22 PM - Forum: General Coding Help - Replies (6)

I have period separated list of values, like this

1.1.1.1
1.2.1.1
1.1.2.1
etc and these can be duplicated. I need a way to as..... More

Print this item

  Looking for some advice about where to start.
Posted by: Wierbowski - Jun-07-2020, 06:26 PM - Forum: General Coding Help - Replies (1)

Hello everyone!
I'm new here and fairly new to Python and programming, have been trying to read alot the past 2 weeks.
I was just wondering if any..... More

Print this item

  A Tkinter Widget-Templater/GUI Builder for Linux/Mac
Posted by: rootVIII - Jun-07-2020, 06:23 PM - Forum: Code sharing - Replies (2)

I made a pretty neat project for templating a Tkinter GUI for Python3: VisiPy

The front end itself is m..... More

Print this item

  Unable to import data from Stata-press website
Posted by: Salahaddin - Jun-07-2020, 06:01 PM - Forum: Data Science - Replies (1)

Dear All,

I am new to python. I am trying to replicate code in https://www.statsmodels.org/dev/examples...gression.h..... More

Print this item

  create an array of each line of text
Posted by: macieju1974 - Jun-07-2020, 05:05 PM - Forum: General Coding Help - Replies (7)

Hi,
I have the following text file:
... here's a fragment
I wrote a code in python that reads data from this file.
[python]file = open('raport.tx..... More

Print this item

  Loading large .csv file with pandas
Posted by: hangejj - Jun-07-2020, 03:56 PM - Forum: General Coding Help - Replies (2)

Hello, I am trying to load a .csv file that has around 3 million lines. This file has a delimiter that is "|" due to commas are in the needed data so..... More

Print this item

  My attemp at the Tic Tac Toe
Posted by: menator01 - Jun-07-2020, 02:50 PM - Forum: Code sharing - No Replies

As always, I welcome input. It's easy to win. I need to work on the logic, if there ar two x's in a row. Give it a random choice picking the slot or a..... More

Print this item

  Designing a "game" loop api
Posted by: pitosalas - Jun-07-2020, 02:47 PM - Forum: General Coding Help - Replies (2)

I would like to create a structure sort of like "Processing" in Java, where someone writes a short python script with the following structure:

[pyt..... More

Print this item

  Article Extraction - Wordpress
Posted by: svzekio - Jun-07-2020, 12:33 PM - Forum: Web Scraping & Web Development - Replies (7)

Hi everyone!
Please be warned, I am a doctoral candidate who realized that there is no way around learning how to use Python, but I have come accros..... More

Print this item

  Iterating through lists with different letter cases
Posted by: fatherted99 - Jun-07-2020, 12:32 PM - Forum: General Coding Help - Replies (2)

[python]


menu = []
menu.append(["egg", "spam", "bacon"])
menu.append(["egg", "sausage", "bacon"])
menu.append(["egg", "spam"])
menu.append(["..... More

Print this item

  Saving Excel workbook file with dataframe names
Posted by: Biplab1985 - Jun-07-2020, 12:20 PM - Forum: General Coding Help - No Replies

Hi Guys,
I am exporting multiple dataframes to excel template - GMC_template.xlsx which has formulas for further calculations. the below codes works ..... More

Print this item

  Pythonic and scaleable way to handle thousand of API-call per minute?
Posted by: Fredrick - Jun-07-2020, 10:34 AM - Forum: News and Discussions - No Replies

Hey guys!

I'm fairly new to python, but I've created a script that tracks users attacks in an online game through the game's API. Due to the pace o..... More

Print this item

  day HIGH/LOW studies on 1-min S&P futures data.
Posted by: ptcm - Jun-07-2020, 09:48 AM - Forum: Data Science - Replies (3)

I am trying to do a day HIGH/LOW studies on 1-min S&P futures data.

I have 2 questions.

1) How could I print the day HIGH / LOW for each day
2)..... More

Print this item

  Comparisons with functions
Posted by: menator01 - Jun-07-2020, 08:00 AM - Forum: General Coding Help - Replies (1)

If I have a function with some values that I defined in the function, how would i go about getting those values out to be check against.
I know I can..... More

Print this item

  Create process to control python script
Posted by: kobibi11 - Jun-07-2020, 07:49 AM - Forum: Homework - Replies (5)

Hello you all:

I have a question with which approach and resources I have to make the following task:

There is a script in my Ubuntu machine tha..... More

Print this item

  Question on "define function"; difference between return and print
Posted by: extricate - Jun-07-2020, 07:20 AM - Forum: Homework - Replies (10)

Hi there,

Can someone enlighten me on the diff between print and return when defining function. I get the same output for both, albeit with the apo..... More

Print this item

  filling and printing numpy arrays of str
Posted by: pjfarley3 - Jun-07-2020, 07:07 AM - Forum: General Coding Help - Replies (4)

I am new to python but experienced in several other languages. I do not understand yet why numpy.full does not fill an array of strings with the stri..... More

Print this item

  Assistance with a Python Script
Posted by: Nasho23 - Jun-07-2020, 07:06 AM - Forum: Web Scraping & Web Development - Replies (13)

I am an Ex Service Veteran and an Aged Pensioner, 86 years of Age. I am a bit too old to start learning how to use Python, which, I have been advised ..... More

Print this item

  Python Webscraping with a Login Website
Posted by: warriordazza - Jun-07-2020, 07:04 AM - Forum: Web Scraping & Web Development - No Replies

Looking for some help scraping a website that requires a login. Essentially the website is to get trading card prices (that I believe are from ebay) b..... More

Print this item

  Pyhton code help from head first with python
Posted by: Shaikat_99 - Jun-07-2020, 06:34 AM - Forum: General Coding Help - Replies (3)

I am a beginner learning python . i am following the book "head first python ". In that in chapter of creating a webapp , i am facing a problem as i ..... More

Print this item

  Pack integer values as single bytes in a struct
Posted by: bhdschmidt - Jun-07-2020, 06:16 AM - Forum: General Coding Help - Replies (3)

Hello,

I try to put 128 values into a struct to write this data of the struct to a file. This is my code:

[python]
import struct

values = []..... More

Print this item

  square root of 6 input numbers
Posted by: mrityunjoy - Jun-07-2020, 05:46 AM - Forum: General Coding Help - Replies (3)

Hi,

I want to find sqrt of 6 input numbers and append the result in lst (an empty array), Not able to pass multiple input in a function

[python]..... More

Print this item

  Add food choice to menu
Posted by: extricate - Jun-07-2020, 05:35 AM - Forum: Homework - Replies (4)

Hi there,

I'm just trying to apply what I've learned so far. I just thinking of a way to add food choice to the current menu. I want my code to allow..... More

Print this item

  Criticize my TIC TAC TOE game
Posted by: modeezy23 - Jun-07-2020, 01:17 AM - Forum: Code Review - Replies (3)

Hi! I'm a bit new to python. I've been learning on my own for about 2-3weeks. Here is a typical TIC-TAC-TOE game that I made.
PLEASE LET ME KNOW WHA..... More

Print this item

  lists in tkinter
Posted by: erock - Jun-06-2020, 10:14 PM - Forum: General Coding Help - Replies (3)

Hi,
totaly new to this python stuff
I have 2 lists
i want to be able to randomly pick one item from each list one at a time
this code doesen't do ..... More

Print this item

Question Defining a self made module's function to interact with the main .py variables?
Posted by: Gilush - Jun-06-2020, 09:54 PM - Forum: GUI - Replies (9)

I'm using Tkinter. (self learner)
My goal is to display the function's output in the main .py text widget.
How can I make the function send the out..... More

Print this item

  Longest sequence of repeating integers in a numpy array
Posted by: Cricri - Jun-06-2020, 09:45 PM - Forum: General Coding Help - Replies (5)

Hello,

Python (coding in general) newbie, so please forgive me if the question is naive/ I did do a search before asking, but I have not found an a..... More

Print this item

  Need help with code - thanks!
Posted by: card51shor - Jun-06-2020, 07:46 PM - Forum: Homework - Replies (16)

Hey guys I have tried for days and can't figure out why this isn't adding anything to my users table. I'm not getting any errors - it just doesn't do ..... More

Print this item

  openpyxl - How can I copy some row from an excel file and paste them in another one?
Posted by: aquerci - Jun-06-2020, 06:49 PM - Forum: General Coding Help - Replies (2)

from a source excel file I have to copy the rows (with theirs formatting) where I find a specific string placed in a specific column. In few words I w..... More


Attached Files

Thumbnail(s)
   
Print this item

  saving a dictionary as json file
Posted by: vinay_py - Jun-06-2020, 04:08 PM - Forum: General Coding Help - Replies (6)

[python]
import json
with open("users.json") as datafile:
data = json.load(datafile) # loaded json file data into python string
data_wi..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 6 hours ago tester_V noisefloor General Codin...
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [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...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577244
  Tutorial Requ... 500287
  Web Scraping ... 440934
  Newbie with P... 384949
  New Users Int... 369262
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
zalexstolzeoz5360 Today
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday

User Panel Messages

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