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,969
» Latest member: Zephlonix
» Forum threads: 38,731
» Forum posts: 175,554

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 33 Guest(s)
Google, AOL, Bing, Applebot, AOL, Facebook Dev

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
23 minutes ago
» Replies: 0
» Views: 11
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: llarkin6
57 minutes ago
» Replies: 4
» Views: 674
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
4 hours ago
» Replies: 8
» Views: 418
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,806
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 669
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,203
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,771
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,165
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,137
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,429

 
  http server whit proxy
Posted by: jrcruz - Feb-13-2019, 10:02 AM - Forum: Networking - No Replies

Im tying to implement an httpserver for handling request and i want that request passe to another url behind proxy, so far i got this code.

[python..... More

Print this item

  Iterate a tuple with dict inside
Posted by: anna - Feb-13-2019, 09:50 AM - Forum: General Coding Help - Replies (2)

My output is below, its tuple inside dict, help iterate

for interface in result["interfaces"].items():
print(interface)


..... More

Print this item

  Socket creation speed difference Python 2.7 / Python 3.7
Posted by: PiAil - Feb-13-2019, 09:49 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to create a socket, then connect to the same server until I can't make any connection from my PC and I face a problem : my progra..... More

Print this item

  Python, Tkinter. How to search a specific file in a folder
Posted by: Roo - Feb-13-2019, 09:29 AM - Forum: GUI - Replies (3)

Hi everybody!!
I created a program using Tkinter that allows me to fill up a form with some details and write a text file to store all the details. E..... More

Print this item

  [new] Need help in get data from AWS App
Posted by: shreehacker - Feb-13-2019, 07:35 AM - Forum: Web Scraping & Web Development - No Replies

Hello
I don't know python and programming.
I have a Application backup of my AWS that's in python (my be).
I need some data from that app
Some s..... More

Print this item

  install libraries on device without internet
Posted by: lacaca - Feb-13-2019, 07:02 AM - Forum: Data Science - Replies (1)

Hello everyone,

I'm new to this forum and I have several questions to ask for help!
I'm looking for python alternative for programming numeric\sc..... More

Print this item

  Why Can't I call base class function for my derived class object?
Posted by: AmirAB - Feb-13-2019, 06:37 AM - Forum: General Coding Help - Replies (2)

Hi experts!
Any idea if I am making an error in my code as I am not able to understand Why Can't I call the the base class function for my derived cl..... More

Print this item

  Restricted pip
Posted by: xxp2 - Feb-13-2019, 06:25 AM - Forum: General Coding Help - No Replies

Hi everyone..

I have a problem with pip system. İ working a company that here restricted pip .I can't use pip ..Therefore I 'm install every pack..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'get'
Posted by: ahmeddedo - Feb-13-2019, 02:14 AM - Forum: General Coding Help - Replies (1)

Here's the program:

[python]

# ------------------------------
# Notice
# ------------------------------
# ------------------------------
# ..... More

Print this item

  AttributeError?
Posted by: ghost0fkarma - Feb-13-2019, 12:50 AM - Forum: General Coding Help - Replies (4)

[python]class player:
def __init__(self, name, health):
self.name = name
self.health = health

def player_is_attacked(sel..... More

Print this item

  How to make loop go back to the beginning if test evaluaes to True.
Posted by: FWendeburg - Feb-13-2019, 12:34 AM - Forum: General Coding Help - Replies (1)

Hi, im trying to make a program that generates random numbers using the randint function. With this function I want to generate numbers but they can't..... More

Print this item

  write csv data into teradata table
Posted by: sandy - Feb-13-2019, 12:11 AM - Forum: General Coding Help - No Replies

Hi All,
I am writing csv data into Teradata table:
Using below code .. and getting error..

[python]
import csv
with open(r"C:\Users\sandy\Desk..... More

Print this item

  'function' object has no attribute 'write' paramiko
Posted by: lateublegende - Feb-12-2019, 08:32 PM - Forum: General Coding Help - Replies (1)

hello
I want to write in a distant file with sftp.write
my code
[python]
write=paramiko.SFTPFile.write
sftp=paramiko.SFTPFile.write
sftp.write(d..... More

Print this item

  Creating Dictionary form LOG /text file
Posted by: DG1234 - Feb-12-2019, 07:51 PM - Forum: General Coding Help - Replies (7)

Hi All,
I am new to Python world and because of that I am not expert to do all the stuff. I am having some issue to convert below log file content to..... More

Print this item

  Hello Im looking for a compiled window version of 3.4.x ...
Posted by: SlowMotion - Feb-12-2019, 07:37 PM - Forum: General Coding Help - Replies (2)

Hello

Im looking for a compiled window version of 3.4.x ...
It seems to stop at 3.4.3.
Is there official/good compiled version for 3.4.9 ?

:..... More

Print this item

  compare and modify columns in dataframe
Posted by: DionisiO - Feb-12-2019, 07:30 PM - Forum: Data Science - Replies (1)

Hello all,

I'm have loaded a csv file into a dataframe using pandas. I want to compare the numbers in two columns, if col A is the same as col b, d..... More

Print this item

  Python hangman help
Posted by: A1395 - Feb-12-2019, 07:17 PM - Forum: General Coding Help - Replies (11)

Hello.

I need some help with my code. It has to be in the format I am posting. So when I run the game, it is basically supposed to keep asking for..... More

Print this item

  Timestamp is undefined
Posted by: ErnestTBass - Feb-12-2019, 07:02 PM - Forum: General Coding Help - Replies (7)

I am receiving the following error. The timestamis undefined. I am not sure
how to correct it.

I know that must import something. I am just not s..... More

Print this item

  Sorting getting off, when I switch page Django 1.11
Posted by: m0ntecr1st0 - Feb-12-2019, 06:40 PM - Forum: Web Scraping & Web Development - No Replies

Hi. I write the pagination and and sorting. But sorting getting off, when I switch page Django 1.11...

forms.py
[python]
from django impor..... More

Print this item

  Protected Pages with Django
Posted by: xxp2 - Feb-12-2019, 05:54 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone .. I wanna make a simple project with Django. I need to safe page project.
For example, if somebody doesn't logging and he/she gets to r..... More

Print this item

  python ibeacon rasp pi localization
Posted by: joefreedy - Feb-12-2019, 02:58 PM - Forum: General Coding Help - Replies (13)

Hello, I'm trying to find the distance of ibeacon with raspberry pi and when I run the python code I get the following error;

File "indoor.py", line ..... More

Print this item

  Help improve code efficiency
Posted by: benbrown03 - Feb-12-2019, 02:06 PM - Forum: General Coding Help - Replies (9)

if anyone could help me improve the efficiency of this code it would be greatly appreciated. I would like it to only loop over the newly contaminated ..... More

Print this item

  Getting info from a file
Posted by: kwckwckwc - Feb-12-2019, 01:59 PM - Forum: Web Scraping & Web Development - Replies (2)

I did a google search and saved it in a file, "page.html".

I am trying to grab the result count into a variable.

My attempts to use regular exp..... More

Print this item

  Fatal Python error: Py_Initialize: unable to load the file system codec
Posted by: ecg1g15 - Feb-12-2019, 12:16 PM - Forum: General Coding Help - No Replies

Hi,

I am using the terminal on a OS X El Capitan. Recently I have used python to run some software until I got some error and started updating the p..... More

Print this item

  Python tKinter sQL. How to add a column of values?
Posted by: dewijones67 - Feb-12-2019, 09:32 AM - Forum: GUI - Replies (4)

Hello,

I'm trying to calculate the total of a column of values using an sQL DB.
The values are generated using a query.

I have an Orders table:..... More

Print this item

  Get the variables in a sympy expression
Posted by: SJ001 - Feb-12-2019, 06:28 AM - Forum: General Coding Help - Replies (8)

Hello! I have some equations which I read from a file, and then turn into sympy expressions and I need the variables that appear in each equation. How..... More

Print this item

  Grab columns from multiple files, combine into one
Posted by: jon0852 - Feb-12-2019, 02:53 AM - Forum: Data Science - No Replies

I have some files stored in a cloud storage bucket and each file contains different variables. What I would like to develop is a function whereby I s..... More

Print this item

  Launching other programs from Python
Posted by: Truman - Feb-12-2019, 01:30 AM - Forum: General Coding Help - Replies (4)

import subprocess
subprocess.Popen('C:\Users\user\Desktop\notepad.lnk')
gives an error
[error]C:\Python36\kodovi>times.py
Fil..... More

Print this item

  Fatal Error in Python
Posted by: MrRobot - Feb-11-2019, 11:50 PM - Forum: General Coding Help - Replies (6)

I'm facing this problem for about 4 months I've searched everywhere but no solution.

Fatal Python error: initfsencoding: unable to load the file sy..... More

Print this item

  Collatz Conjecture Formatting
Posted by: TreasureDragon - Feb-11-2019, 09:43 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

So I figured out how to set up the technical aspect of the Collatz conjecture as well as making it print out the number of steps. Howe..... More

Print this item

  Problem with and if() logic
Posted by: nikos - Feb-11-2019, 09:33 PM - Forum: General Coding Help - Replies (2)

[python]
if name and month and year:
cur.execute( '''SELECT * FROM jobs WHERE clientID = (SELECT id FROM clients WHERE name = %s) and MONTH(las..... More

Print this item

  A virtual network to use with python to learn about networking with python?
Posted by: marienbad - Feb-11-2019, 09:20 PM - Forum: Networking - No Replies

I have got through the python cgi stuff, and am reading a book about networking with python. It started okay but then he was off talking about settin..... More

Print this item

  Adding timer on the Messagebox
Posted by: aniyanetworks - Feb-11-2019, 09:06 PM - Forum: GUI - Replies (6)

Hello Experts,
I would like to show some message on the Message Box, with a Timer on it. Messagebox will have 2 min countdown clock and after 2 min..... More

Print this item

  Hex and serial variable
Posted by: deal0703 - Feb-11-2019, 08:45 PM - Forum: General Coding Help - Replies (8)

Hi all,

I am new to pyhton and pyserial and got a question please.

I got a file with hex code

final_CW
b'\xEA\x10\xC6\x26\x4B\x37\xE4\x87\x..... More

Print this item

  Is there a way of improving this leaderboard system?
Posted by: Zelpha - Feb-11-2019, 05:55 PM - Forum: General Coding Help - Replies (2)

So me and my friend came up with this as a leaderboard system and im wondering are there any improvements that can be made to it? especially in the so..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... 23 minutes ago fosuwxb fosuwxb Code sharing
  Unable to resolve FileNot... 57 minutes ago llarkin6 llarkin6 General Codin...
  Comparing 2 100GB Drives/... 4 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  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... 577299
  Tutorial Requ... 500492
  Web Scraping ... 440968
  Newbie with P... 384999
  New Users Int... 369431
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 7370
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Zephlonix Today
samuelshlzeo7159 Today
Seu12Jorge Yesterday
seomelbourneaustralia Yesterday
zalexstolzeoz5360 Yesterday

User Panel Messages

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