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,933
» Latest member: bennyanderson482
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

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

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Gribouillis
6 hours ago
» Replies: 2
» Views: 311
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,344
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,748
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 721
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 969
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,033
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,069
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 642
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,621
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,846

 
  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: 706)
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

  All pip install attempts are met with SSL error
Posted by: flycast - Oct-15-2017, 08:53 PM - Forum: General Coding Help - Replies (5)

Using Windows...
Python 3.6.3
When I attempt to install anything using:

[quote]C:\Users\Eric>pip install ssl
Collecting ssl
Could not fetch U..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 6 hours ago Alexandros Gribouillis General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576130
  Tutorial Requ... 497649
  Web Scraping ... 440075
  Newbie with P... 383869
  New Users Int... 366394
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 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bennyanderson482 Yesterday
AstoundzSEO Yesterday
tobey12 Yesterday
alexguemez 09-17
Shadab 09-17

User Panel Messages

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