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,414
» Latest member: aalexfracesoz1783
» Forum threads: 38,828
» Forum posts: 176,067

Full Statistics

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

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 3
» Views: 125
python re.finditer return...
Forum: General Coding Help
Last Post: arbiel
11 hours ago
» Replies: 6
» Views: 185
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Yesterday, 04:31 PM
» Replies: 14
» Views: 524
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Yesterday, 12:47 PM
» Replies: 12
» Views: 7,293
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Yesterday, 06:35 AM
» Replies: 4
» Views: 463
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 794
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,394
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 514
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,756
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 546

 
  Grade Loop
Posted by: dtweaponx - Oct-17-2017, 01:28 PM - Forum: Homework - Replies (8)

Hello, my assignment is to make a program that allows a teacher to enter any number of tests grades and it will give them the average. My problem is m..... More

Print this item

  Error while loading the csv file
Posted by: Analyst - Oct-17-2017, 12:00 PM - Forum: General Coding Help - Replies (3)

Hi , While I am trying to load csv file using the below code :
***********************************************************
# Load a CSV file
def lo..... More

Print this item

  Imputation
Posted by: Analyst - Oct-17-2017, 10:50 AM - Forum: General Coding Help - Replies (3)

Hi , I have variables in the data set with missing values . Can anyone please suggest python syntax to :

1 -> Check which of the variables are wit..... More

Print this item

  Practical use of pathlib
Posted by: Larz60+ - Oct-17-2017, 09:54 AM - Forum: Code sharing - No Replies

The app below uses pathlib objects to read the header record from national fips code files
and print each. Eventually it will process each into an ea..... More

Print this item

  Logging module stopped working!
Posted by: llanitedave - Oct-17-2017, 04:14 AM - Forum: General Coding Help - Replies (1)

I'm building an application that contains some long-running operations in a separate thread from the user interface.  I've been using the logging modu..... More

Print this item

  invoke c++ shared library but the FILE fread() function always return 0
Posted by: sansirokarl - Oct-17-2017, 03:08 AM - Forum: General Coding Help - Replies (1)

this is my c code :
[quote]//libtest.c
#include <stdio.h>
#include <string.h>

void testfile(const char* file)
{
FILE *..... More

Print this item

  version 2 to 3 changes
Posted by: Skaperen - Oct-17-2017, 02:28 AM - Forum: News and Discussions - Replies (4)

as we all know, version 3 changed the print statement to a built in print() function.  i am curious why and also curious why not other statements.

Print this item

  Error with conditionals
Posted by: RiceGum - Oct-17-2017, 12:37 AM - Forum: Homework - Replies (17)

mes = input()

if mes in ("Abril", "Junho", "Setembro", "Novembro"):
print("30 dias")
elif mes in ("Janeiro", "Março", "Abril", "Maio", "Julho..... More

Print this item

  lcm
Posted by: mp3909 - Oct-16-2017, 08:37 PM - Forum: General Coding Help - Replies (2)

[python]def lcm(m,n):
answer = 0
if m>n:
for i in range(m,m*n+1,m):
if i%n==0:
answer==i
break
return answer

>>> lcm(5,3)
0..... More

Print this item

  Flask Flash Messages Blank
Posted by: Leaf - Oct-16-2017, 08:13 PM - Forum: Web Scraping & Web Development - Replies (2)

View.py
[python]
@site.route('/dashboard/')
def dashboard():
flash("flash test!!!!")
flash("fladfasdfsaassh test!!!!")
flash("asdfas asfsa..... More

Print this item

  Windwos, VirturalQueryEx and ReadProcessMemory
Posted by: Awesometech - Oct-16-2017, 07:56 PM - Forum: General Coding Help - No Replies

Hi all,

I am working on my own memory scanner. It uses Windows API, VirtualQueryEX
and ReadProcessMemory. I am not sure I put down the following p..... More

Print this item

  Anyone help me to run this project?
Posted by: HungTran - Oct-16-2017, 07:42 PM - Forum: Data Science - Replies (3)

I am new in python and I am studying simulation for organic materials. I found a thesis with python code at the end of thesis (link here http://liu.di..... More

Print this item

  Unable to output the indices from an input file
Posted by: rainbow2312 - Oct-16-2017, 06:13 PM - Forum: Homework - Replies (1)

Hi everyone,

I'm trying to write a program to find all the indices of a value being searched from an input file. The program will accept the number..... More

Print this item

  Error Ctypes in Windows
Posted by: rramosg - Oct-16-2017, 04:57 PM - Forum: General Coding Help - Replies (4)

Hello everyone.

I have just begun to program in Python. I have done several scripts and now I am trying to call the Windows API with Ctypes module...... More

Print this item

  Python Editor
Posted by: sairam132033 - Oct-16-2017, 04:44 PM - Forum: General Coding Help - Replies (17)

Would you please recommend me a good Python editor?

Sairam

Print this item

  Interaction with games such as BO3
Posted by: nmills688 - Oct-16-2017, 04:42 PM - Forum: General Coding Help - Replies (1)

I was wondering if anyone knows of a way to get game information such as zombie or player locations with python. I'm looking for something like game.g..... More

Print this item

  Creating folders dynamically with year/month/date
Posted by: sritsv - Oct-16-2017, 03:44 PM - Forum: General Coding Help - No Replies

Hello Team,

Below is the scenario, i need help in S3 using python.

In S3 have a path till Table level manually created, <Bucket-Name> / <Subject..... More

Print this item

  database connectivity
Posted by: achhayya - Oct-16-2017, 02:37 PM - Forum: Homework - Replies (1)

Hello
I have installed the module psycopg2(pp psycopg2)

My program is having only one below statement

import psycopg2

When i try to execut..... More

Print this item

  A good tutorial for beginners? (Youtube)
Posted by: Peter_EU - Oct-16-2017, 02:35 PM - Forum: Tutorial Requests and Submissions - Replies (11)

Hallowings,

I am new to this, so my excuse if I am asking smt. silly :)

Uh, I just started coding, I finished all lessons on CodeAcademy (Python..... More

Print this item

  Having issues with a lab
Posted by: Thompscr01 - Oct-16-2017, 02:21 PM - Forum: Homework - No Replies

Question: I am currently having an issue with a lab in my class and am looking for help setting up my program. The professor asked us to make it "idio..... More

Print this item

Question Implementing classes , RSS feed program
Posted by: Miraclefruit - Oct-16-2017, 02:16 PM - Forum: Homework - Replies (1)

News Feed Program. I need help fixing these errors listed below. My code is completed but I don't know how to approach these errors. If you'd like det..... More


Attached Files

.py   ps5.py (Size: 7.27 KB / Downloads: 724)
Print this item

  web interface to check python code
Posted by: 1885 - Oct-16-2017, 12:11 PM - Forum: Web Scraping & Web Development - Replies (3)

I teach computer science in Washington State. Kennewick
I recently move from Java to Python for our core Language.
It was a very good choice. So I ..... More

Print this item

  I need guidance in building a program
Posted by: Rius2 - Oct-16-2017, 10:42 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,i need guidance in choosing a direction for a program i want to build. I am new to programing in general, and very new to python in particular, ..... More

Print this item

  Newly written .txt file not printing
Posted by: Crackity - Oct-16-2017, 06:23 AM - Forum: Homework - Replies (11)

Hello all,

Continuing my self study I just created a simple program which was to "write" to a new text file. The lesson is demonstrating a few diff..... More

Print this item

  logic comparater based on dictionary values
Posted by: ijosefson - Oct-16-2017, 03:56 AM - Forum: Homework - Replies (3)

I have the following 'dictionary':
a = {"one":(10, 11.25), "two":(11, 12.25), "three":(12, 13.25)}

I would like to build an 'if statement' based o..... More

Print this item

  many versions on python on linux
Posted by: Skaperen - Oct-16-2017, 03:12 AM - Forum: News and Discussions - Replies (8)

i would like to setup as many installed versions of python under linux as possible without chroots, containers or virtual machines.  anyone kno..... More

Print this item

  trouble importing class definition from one .py into another
Posted by: ijosefson - Oct-16-2017, 02:38 AM - Forum: Homework - Replies (3)

Problem: I'm having issues calling classes in a program.

I created a program named example.py which has the following code:
[python]
class Exampl..... More

Print this item

  I'm a beginner
Posted by: michaelshopfer - Oct-16-2017, 02:37 AM - Forum: Bar - Replies (10)

Hello, I want to know where I can learn to program some simple programming language (I'm a beginner) if you can help me, thank you.

Print this item

  Threading and Queue
Posted by: nexusfactor - Oct-16-2017, 02:34 AM - Forum: General Coding Help - Replies (5)

I'm working on a backup script for home use and at the same time learn threading. I was researching about threads and sharing data across threads. All..... More

Print this item

  How to calculate the mccabe complexity in module falke8?
Posted by: fuqianz - Oct-16-2017, 12:56 AM - Forum: General Coding Help - Replies (1)

Right now, i am working on a assignment for a class, which is to calculate the mccabe complexity like it does in module flake8.
And I found that, if ..... More

Print this item

  Blender courses on sale for only $10
Posted by: Larz60+ - Oct-16-2017, 12:34 AM - Forum: News and Discussions - Replies (4)

Thought I'd post this here.
Blender is great for any 3D art, animations or even movies.
I heard about this sale on the radio today while I was drivi..... More

Print this item

  Presenting data from a dictionary in a basic table
Posted by: ijosefson - Oct-15-2017, 11:18 PM - Forum: Homework - Replies (3)

Requirement: present keys and values from a dictionary w/ headers via a __str__ method. Also present an additional value calculated in an earlier meth..... More

Print this item

  Looping over amount of attempts
Posted by: Beatenberg - Oct-15-2017, 11:08 PM - Forum: Homework - Replies (4)

Hey so my code is about a username and password system. My issue is that after the user fails to input the correct details (from Intro) more than once..... More

Print this item

  MySQL SSL Connection, Need help
Posted by: LordVaderXIII - Oct-15-2017, 10:51 PM - Forum: General Coding Help - Replies (3)

Hey Everyone

I have a project that requires uploading excel files to a Google Cloud SQL Database (MySQL).

I have the below code that I have bor..... More

Print this item

  Argument lists
Posted by: sobrio1 - Oct-15-2017, 09:52 PM - Forum: Data Science - Replies (7)

Does anyone know how to get an argument list for a function besides using shift+tab?

I can't use my_dataframe.loc() properly because I have no idea..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exponential Number Conver... 5 hours ago Tuurbo46 Pedroski55 General Codin...
  python re.finditer return... 11 hours ago arbiel arbiel General Codin...
  Possible bug found, pleas... Yesterday, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... Yesterday, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... Yesterday, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580671
  Tutorial Requ... 521652
  Web Scraping ... 442886
  New Users Int... 387703
  Newbie with P... 387095
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+ 12117
buran 8197
snippsat 7398
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aalexfracesoz1783 Yesterday
Jessicaadams Yesterday
alexajames Yesterday
speakingfever 01-07
Saskia 01-07

User Panel Messages

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