Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,630
» Latest member: reynanvt
» Forum threads: 37,387
» Forum posts: 169,905

Full Statistics

Online Users
There are currently 351 online users.
» 3 Member(s) | 341 Guest(s)
Google, Bing, Apple, Baidu, Yandex, AOL, Gribouillis, micseydel, main

Latest Threads
dict.setdefault()
Forum: Code sharing
Last Post: main
32 minutes ago
» Replies: 0
» Views: 94
Right way to open files w...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 2
» Views: 113
wrong entries in sqlite d...
Forum: General Coding Help
Last Post: epsilondatum
2 hours ago
» Replies: 2
» Views: 259
watchdog on_modified
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 86
Volume label
Forum: Bar
Last Post: DPaul
4 hours ago
» Replies: 1
» Views: 72
TypeError: Diagram.render...
Forum: Code Review
Last Post: catherine
7 hours ago
» Replies: 1
» Views: 67
match case
Forum: Code sharing
Last Post: DeaD_EyE
9 hours ago
» Replies: 1
» Views: 118
Loop through all files in...
Forum: General Coding Help
Last Post: DeaD_EyE
9 hours ago
» Replies: 9
» Views: 226
FutureWarning: The behavi...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 09:51 PM
» Replies: 12
» Views: 256
Add NER output to pandas ...
Forum: Data Science
Last Post: dg3000
Yesterday, 08:14 PM
» Replies: 0
» Views: 51

 
  How yo find "zlib" necessary for "pyenv" in Linux
Posted by: sylas - Aug-13-2018, 02:58 AM - Forum: General Coding Help - Replies (1)

Hi all! I am trying to make python 3.7.0 the default language, with "pyenv install 3.7.0" and then
"pyenv global 3.7.0". But when I install 3.7.0..... More

Print this item

  G code reader
Posted by: luisfelipepc - Aug-13-2018, 01:21 AM - Forum: General Coding Help - Replies (2)

Hi, i'm trying to make a g-code reader for my cnc project, i allready had some progress, but i'm strugguling to make it identify the number 0,1,4 and ..... More

Print this item

  Incorrect lambda
Posted by: vndywarhol - Aug-13-2018, 12:06 AM - Forum: General Coding Help - Replies (3)

Hi! I'm trying to make a map with "factorial" func, but with a sum and odd numbers. For example, 1=1, 3=3+1, 5=5+3+1 and so on.
Now I have something..... More

Print this item

  Kivy property (in .kv) loses binding to a variable (in .py)
Posted by: j.crater - Aug-12-2018, 11:47 PM - Forum: GUI - Replies (3)

Hello all,
so, I have the following files:

main.py
[python]
from kivy.app import App

import parameters


class MainApp(App):
gui_data = p..... More

Print this item

  Python prediction
Posted by: Larz60+ - Aug-12-2018, 10:58 PM - Forum: News and Discussions - Replies (3)

Will Python dethrone Java this year? Programming language rankings say yes:
https://jaxenter.com/will-python-dethron...47499.html

Print this item

  Homework
Posted by: blabla44 - Aug-12-2018, 09:50 PM - Forum: Homework - Replies (3)

I can't find what I did wrong.
[python]
def program(a, b, c):
a = eval(input('Enter value a: '))
b = eval(input('Enter value b: '))
c = eval(i..... More

Print this item

  Code to change LAN Settings
Posted by: MTom5 - Aug-12-2018, 09:18 PM - Forum: Networking - No Replies

I need to change LAN settings within IE and LAN adapter settings as part of my script but cannot get it working.
I have a Batch file that currently d..... More

Print this item

  Output variables from a list
Posted by: MTom5 - Aug-12-2018, 08:53 PM - Forum: Data Science - Replies (2)

I have the following code that uses Pandas and filters an excel spreadsheet containing IP Addresses.
The code filters the spreadsheet and narrows it..... More

Print this item

  Project im working on
Posted by: Mobilesoundfx - Aug-12-2018, 05:35 PM - Forum: Bar - Replies (3)

I had an idea to build a modern day boom box. Im going to use a Raspberry Pi as the brains, and a Raspberry Pi 7 inch touch screen to control the whol..... More

Print this item

  Decoding html to text string
Posted by: PeterPython - Aug-12-2018, 04:51 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all

Trying to convert email information into text. Have the following code:

[python]for response_part in data:
if isinstance(respons..... More

Print this item

  Installing RE2
Posted by: Mradr - Aug-12-2018, 04:31 PM - Forum: General Coding Help - Replies (2)

Trying install RE2 on to windows and I keep hitting hit with the following error:

[python]C:\Users\Owner\AppData\Local\Programs\Python\Python37\pytho..... More

Print this item

  pythy
Posted by: fpourki - Aug-12-2018, 04:25 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi there

How can i check if i installed the Django?

Thanks in advance

Print this item

  Hey Python, football's over y'know..
Posted by: Nwb - Aug-12-2018, 03:16 PM - Forum: Bar - Replies (3)

They still haven't removed the football icon. Ahh guys take good glimpse of this before it's fixed. Big Grin

Print this item

  TypeError: initial_value must be str or None, not bytes
Posted by: PeterPython - Aug-12-2018, 01:47 PM - Forum: General Coding Help - Replies (2)

Hi all

Here is a snapshot of my code:

[python]for num in data[0].split():
typ, data = mail.fetch(num,'(RFC822)')


for response_part..... More

Print this item

  Simple coding help: Volumes of three cubes
Posted by: MrHendrixen - Aug-12-2018, 12:59 PM - Forum: Data Science - Replies (1)

Hello Python-forums!

Im new to python and programming. Literally no experiences before so please bear with me.
For a textbook exercise the task go..... More

Print this item

  yet another homework question
Posted by: HakolYahol - Aug-12-2018, 10:34 AM - Forum: Homework - Replies (16)

Quote:Write a program that flips a coin 100 times and then tells you
the number of heads and tails.

the solution should not include "list..... More

Print this item

  newbie questions about objects properties...
Posted by: slowbullet - Aug-12-2018, 09:27 AM - Forum: Homework - Replies (2)

Hi everyone,
Still confused between objects and properties..

When I run this:

[python]

from datetime import date
from datetime import time..... More

Print this item

  Computing average
Posted by: vestkok - Aug-12-2018, 09:04 AM - Forum: Homework - Replies (2)

Hi guys, I have an exercise question from a book. I can't figure out where and how do I place error message if the first input from the user is 0.

..... More

Print this item

  Asyncio select.select
Posted by: Mradr - Aug-12-2018, 08:46 AM - Forum: Networking - Replies (3)

What is select.select(rlist, (), (), timeout) doing as far as "waiting" for socket data using asyncio?

My end goal here is to remove the need for ..... More

Print this item

  Read and find elements which contains text
Posted by: craver35 - Aug-12-2018, 08:34 AM - Forum: General Coding Help - Replies (2)

Hello

I am new to this forum, i am currently working on a simple bot, which should be able to find an element which contain some information (text)..... More

Print this item

  [Help] How to print elements from list of lists?
Posted by: vanicci - Aug-12-2018, 08:28 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm trying to print the elements inside the list world. I'm using for loop but I kept getting [i]"SyntaxError: invalid character in identifier..... More

Print this item

  Element with locator not found - WebElement is used
Posted by: kavitha - Aug-12-2018, 05:38 AM - Forum: Bar - Replies (1)

Very new to Robot Framework and am trying to read the elements from xpath / css

My Code
My variable declaration
${xpath_l} xpath=//..... More

Print this item

  Add reference into Python in Visual Studio
Posted by: python_bim - Aug-12-2018, 05:02 AM - Forum: General Coding Help - No Replies

Hi all,
How i can add reference file (*dll) into python in visual studio. with c# I can add reference but in python I can not browse to the library f..... More

Print this item

  python error
Posted by: Prashant93 - Aug-12-2018, 03:49 AM - Forum: General Coding Help - Replies (17)

Hello guys,

One small help

I have written a code

print('Temp={0:0.1f}*C Humidity={1:0.1f}%'.format(temperature, humidity))

and it..... More

Print this item

  Windows 10 Task Scheduler Error
Posted by: mypython - Aug-11-2018, 10:31 PM - Forum: General Coding Help - Replies (1)

Hello Team

I'm new to python - here is my problem , any suggestions are welcome ..

We are using pentaho as a ETL tool to load data from CSV to ..... More

Print this item

  How to add new registry key
Posted by: shlomi27 - Aug-11-2018, 07:52 PM - Forum: General Coding Help - Replies (3)

I need to add new registry
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1..... More

Print this item

  Decorators
Posted by: yksingh1097 - Aug-11-2018, 07:24 PM - Forum: General Coding Help - Replies (2)

I was going through a tutorial and encountered this code. Can anybody please make me understand the control flow of this code? Like which line is exec..... More

Print this item

  Help with Python technologies and structure code
Posted by: giu88 - Aug-11-2018, 06:40 PM - Forum: Data Science - Replies (13)

Hello everybody,

I am new to Pyhton and already appreciating its power. I am building a little desktop app and i need somesuggestions, i hope this..... More

Print this item

  '<=' not supported between instances of 'str' and 'int'
Posted by: Loom - Aug-11-2018, 05:40 PM - Forum: General Coding Help - Replies (1)

I've just started learning Python and I try to run a program that is written, more or less, in the book i'm using right now (Automate the boring stuff..... More

Print this item

  string error
Posted by: satyam - Aug-11-2018, 05:00 PM - Forum: General Coding Help - Replies (2)

hey guys, I am new to python programming. I was practising a program that prints first half of a string. But I cant run the code. please identify the ..... More

Print this item

  Header above a list in Panda
Posted by: sweet_swiss - Aug-11-2018, 04:34 PM - Forum: General Coding Help - Replies (3)

I had just started with notebooks and Python. When I print my list will I just the list and then number how often they occur.

I would like to if I ..... More

Print this item

  Show Name of Calling function - Debug aid
Posted by: Larz60+ - Aug-11-2018, 02:54 PM - Forum: Code sharing - No Replies

There is a method that I use to determine what function or method is calling another function or method, during initial testing of a program.
This is..... More

Print this item

  SQlite database portable?
Posted by: PythonWriter - Aug-11-2018, 02:34 PM - Forum: General Coding Help - Replies (1)

I want to use SQLite for my database, but how portable is it? Could I take my python script (or executable if I wrap it?) and my database to a new com..... More

Print this item

  copy content of folder to existing folder
Posted by: shlomi27 - Aug-11-2018, 01:44 PM - Forum: General Coding Help - No Replies

I am trying to copy content of folder to existing folder
using following code and got 'PermissionError: [error 13] permission denied : 'c:/WINDOWS/S..... More

Print this item

  How to find unique and common words per line from a txt file?
Posted by: sweet_swiss - Aug-11-2018, 09:19 AM - Forum: General Coding Help - Replies (6)

I had just started with Python and run into this task:

1.Find words that exists on both even and odd lines.
2.Words that only exists on even lines..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  dict.setdefault() 32 minutes ago main main Code sharing
  Right way to open files w... 1 hour ago Winfried snippsat General Codin...
  wrong entries in sqlite d... 2 hours ago epsilondatum epsilondatum General Codin...
  watchdog on_modified 3 hours ago CAD79 deanhystad General Codin...
  Volume label 4 hours ago DPaul DPaul Bar
  TypeError: Diagram.render... 7 hours ago sachin1361 catherine Code Review
  match case 9 hours ago main DeaD_EyE Code sharing
  Loop through all files in... 9 hours ago Winfried DeaD_EyE General Codin...
  FutureWarning: The behavi... Yesterday, 21:51 sawtooth500 deanhystad General Codin...
  Add NER output to pandas ... Yesterday, 20:14 dg3000 dg3000 Data Science
  Made a discord bot game t... Yesterday, 14:27 Dmcsdiscord Dmcsdiscord General Codin...
Most views
  The best Prog... 408321
  Web Scraping ... 299709
  Tutorial Requ... 290282
  Newbie with P... 248928
  Thread remain... 230782
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11871
buran 8090
snippsat 7085
deanhystad 6212
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
reynanvt Today
catherine Today
Kamati Today
LauraTanner Today
main Yesterday

User Panel Messages

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