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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 214 online users.
» 0 Member(s) | 211 Guest(s)
Bing, Google, Mojeek

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 3
» Views: 66
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 4
» Views: 136
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
8 hours ago
» Replies: 8
» Views: 657
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,809
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 134
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 118
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 203
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,213
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 313
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 194

 
  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

  Convert my .py to .exe but failed to execute
Posted by: gahhon - Feb-11-2019, 04:56 PM - Forum: Web Scraping & Web Development - Replies (7)

pyinstaller -w -F iApplication.py
As the source and tutorial from this Covert PY [url=https://python-forum.io/thread-16027.html]..... More

Print this item

  Post serial results
Posted by: BMC - Feb-11-2019, 04:30 PM - Forum: General Coding Help - No Replies

Hello

I am new to Python but have found code that does what I need to an extent.

I have a scale with an rs232 out. I have modified the python c..... More

Print this item

  Unexpected expected type error result
Posted by: MartinMaker - Feb-11-2019, 04:19 PM - Forum: General Coding Help - Replies (1)

[python]# creating a new kind of class or instance attribute

class Integer:
def __init__(self, name):
self.name = name

def __get__(s..... More

Print this item

  Plotting of equations
Posted by: mudezda1 - Feb-11-2019, 03:52 PM - Forum: General Coding Help - Replies (1)

import numpy as np

import matplotlib.pyplot as plt

l= 1.5

m= 2.5

g= 9.81

d= 2.7

k= 9.08

angles = np.arange(360) / 180 * np.pi

..... More

Print this item

  python shell elabroting output
Posted by: kapilan15 - Feb-11-2019, 01:36 PM - Forum: General Coding Help - Replies (2)

I ran a simple correlation matrix with 8 columns and rows. The output produced in python shell does not show the full output (image attached). How can..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 2 hours ago Lou noisefloor General Codin...
  Python is not working on ... 2 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... 8 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579442
  Tutorial Requ... 512567
  Web Scraping ... 442318
  Newbie with P... 386371
  New Users Int... 380624
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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