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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,537

Full Statistics

Online Users
There are currently 56 online users.
» 0 Member(s) | 50 Guest(s)
Bing, AOL, AOL, Apple, Google

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
54 minutes ago
» Replies: 2
» Views: 58
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
1 hour ago
» Replies: 4
» Views: 524
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 1
» Views: 637
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 6
» Views: 4,860
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
8 hours ago
» Replies: 1
» Views: 1,531
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,587
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 231
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 431
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,825
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,659

 
  pymqi user/password
Posted by: ThomasT - Sep-24-2018, 09:36 PM - Forum: Networking - Replies (1)

Hello

while connecting to a Websphere MQ Queuemanager I get reason code 2035 ("not authorized").
It works in Java with IBM-MQ-Java-classes.

py..... More

Print this item

  HOMEWORK HELP
Posted by: abdullahali - Sep-24-2018, 08:55 PM - Forum: Homework - Replies (1)

Hey guys, I have been given a list of questions to answer using this code. Ive answered some of them but some I have no answer for and would appreciat..... More

Print this item

  text file processing
Posted by: nzcan - Sep-24-2018, 07:16 PM - Forum: Homework - Replies (5)

hello,

i have a 'one.txt'-file. 'one.txt' contains 11 sentences - plain text - utf-8 characters.
i want to write a py-script that process 'one.tx..... More

Print this item

  Arcs
Posted by: eduardoforo - Sep-24-2018, 06:51 PM - Forum: Game Development - Replies (2)

I'm drawing in Pygame a soccer field.
With this code I have managed to draw the arc of the lower left corner of the field.

pygame.draw.arc (pantal..... More

Print this item

  Nested looping issue
Posted by: smk90 - Sep-24-2018, 06:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi,
I am a Python newbie, I am trying to use Python recursively loop through a list and provide a cumulative value of a metric for each 'match' in a ..... More

Print this item

  How to find particular text from td tag using bs4
Posted by: Prince_Bhatia - Sep-24-2018, 06:02 PM - Forum: Web Scraping & Web Development - Replies (7)

hi,

I have some html links and i want to find some particular text and it's next text also. I am using regex but receiving lost of empty lists.

..... More

Print this item

  Representation of recursive list
Posted by: DeaD_EyE - Sep-24-2018, 05:20 PM - Forum: Bar - Replies (1)

Guess you have following code:

x = [1, 2, 3]
x.append(x)
print(x)
The output:
[spoiler]
Output:
[1, 2, 3, [...]]
[/spoi..... More

Print this item

  Spyder: Module Not Found
Posted by: jmair - Sep-24-2018, 04:57 PM - Forum: General Coding Help - Replies (2)

Is there a location in Spyder that I can add another directory of Modules? from CMD line I can import a module (such as pygame) but from Spyder it's a..... More

Print this item

  Traceback error
Posted by: tjnichols - Sep-24-2018, 04:44 PM - Forum: Homework - Replies (3)

This runs, as in it appends the file. The problem is I get this traceback error and I don't know why.

[python]employee_file = open("Employees.txt",..... More

Print this item

  Is it possible to trun local internet access off programmatically?
Posted by: Larz60+ - Sep-24-2018, 02:34 PM - Forum: Networking - Replies (4)

Is there a way to enable or disable local internet access programmatically ?

Print this item

  Python equivalent to sed [solved]
Posted by: cygnus_X1 - Sep-24-2018, 02:32 PM - Forum: General Coding Help - Replies (2)

I'm trying to create a program guide for BBC Radio 4 Extra.
I'm using python3.4 and Debian linux on Raspberry Pi

In linux the stream editor (sed) ..... More

Print this item

  instant update of graph within selected time range
Posted by: brecht83 - Sep-24-2018, 01:34 PM - Forum: Web Scraping & Web Development - No Replies

I’m developing a project where I have a large .csv file (>3 000 000 lines) with multiple columns. Depending on the input of the user I want to display..... More

Print this item

  Mail
Posted by: Faiyaz - Sep-24-2018, 12:29 PM - Forum: General Coding Help - Replies (1)

Dear people,

I have searched how i can send mails from Python, but al the tutorials and posts are confusing, because the in every tutorial and post..... More

Print this item

  Extract Specific Pattern
Posted by: rlinux57 - Sep-24-2018, 12:20 PM - Forum: General Coding Help - Replies (4)

Hi Team,

How do I extract specific pattern in below code. As I have tried to get expected output through regex and use Python Dictionary in or..... More

Print this item

  Pick Value from Json
Posted by: dataonmyview - Sep-24-2018, 11:53 AM - Forum: General Coding Help - Replies (3)

Hi

I have a below JSON output. I want to pick the value of "Id" from the JSON result.

[
{
"Attributes": {
"accessories": [],
"age..... More

Print this item

  Simple question - ERROR
Posted by: UnitedK - Sep-24-2018, 10:51 AM - Forum: General Coding Help - Replies (1)

Hi guys, i'm just learning how to program in Python and i'm have some problems...

I'm testing the functions and this is my code:

##I want a simp..... More

Print this item

  A remote firewall Python library that I'm working on
Posted by: Ripolak - Sep-24-2018, 10:33 AM - Forum: Code sharing - No Replies

Hi there!

For the past few days I've been working on a small library that I personally have the need for, and I'm sure that there are some sysadmin..... More

Print this item

  How do I put a variable inside a String in Python?
Posted by: evilcode1 - Sep-24-2018, 09:59 AM - Forum: General Coding Help - Replies (8)

hello all ...

im trying to add a variable inside a String ...
this is my code :

[python]import os
import sys

cmd2 = """powershell -com..... More

Print this item

  How to print a File Path ?
Posted by: Astrikor - Sep-24-2018, 09:39 AM - Forum: General Coding Help - Replies (3)

Hello

I am sure I must have a misunderstanding about Python codec formats,
so I am looking for advice here.

I want to print a file path:

[py..... More

Print this item

  Newbie Ubuntu script problem
Posted by: Kloontor - Sep-24-2018, 01:56 AM - Forum: General Coding Help - Replies (6)

I decided for my first Python project I would make a program that broke up a text file into individual passwords that would be attempted on a rar file..... More

Print this item

  select one item from row with sqlite3
Posted by: mcmxl22 - Sep-24-2018, 12:32 AM - Forum: General Coding Help - Replies (1)

I have a database consisting of 3 columns. I want to match just one item from one column.

[python]
def interface():
'''Create interface allowing ..... More

Print this item

  numpy subtraction of two arrays
Posted by: devenuro - Sep-24-2018, 12:30 AM - Forum: Data Science - Replies (1)

Hi there

So I want to subtract two numpy arrays a and b:

a=[[ 1. 0.85979163 0. 0.11766047 0.19353699]
[ 0.8589698 1. ..... More

Print this item

  Populating a list with Dictionaries....
Posted by: SteenRudberg - Sep-23-2018, 11:12 PM - Forum: Homework - Replies (4)

HI

I have a .adi file that looks like this:
<PROGRAMID:15>WWFFlog by 5p0o
<PROGRAMVERSION:4>5.04

<EOH>

***************** START OF NEW CALL:..... More

Print this item

  pi3 serial communication
Posted by: tony1812 - Sep-23-2018, 10:29 PM - Forum: General Coding Help - No Replies

Hello, I have this two pieces of codes, It is used to communicate between pi 3 and Arduno via HC-0% bluetooth. It was work about a year ago but now I..... More

Print this item

  pathlib hanging
Posted by: bluefrog - Sep-23-2018, 08:56 PM - Forum: General Coding Help - Replies (2)

Its the first time I'm using pathlib. Any reference to it seems to hang. Is it something to so with permissions ?
I'm working under my home directory..... More

Print this item

  concatenating list with tuple
Posted by: Skaperen - Sep-23-2018, 08:34 PM - Forum: General Coding Help - Replies (7)

i can do mylist+=mytuple but i cannot do mylist=mylist+mytuple. why is that?

[code]lt1/forums /home/forums 1> py3
P..... More

Print this item

  Linux user folder names (if translated)
Posted by: Axel_Erfurt - Sep-23-2018, 05:55 PM - Forum: Code sharing - Replies (1)

[python]
from gi.repository import GLib

docs = GLib.get_user_special_dir(GLib.USER_DIRECTORY_DOCUMENTS)
desktop = GLib.get_user_special_dir(GLib...... More

Print this item

  Help with def, try, except
Posted by: dflick - Sep-23-2018, 05:00 PM - Forum: General Coding Help - Replies (1)

Environment CentOS 7 fully patched. Python 3.6.

I have the following bit of code that is failing validation. The validation script runs all of my ..... More

Print this item

  Why can't I merge pandas dataframes
Posted by: learnpython2018 - Sep-23-2018, 04:53 PM - Forum: Data Science - Replies (2)

I'm just trying to learn python and started with the imdb database files. (the headers and the data files can be seen here: https://www.imdb.com/inter..... More

Print this item

  Create simple live plot of stock data
Posted by: dram - Sep-23-2018, 04:00 PM - Forum: General Coding Help - Replies (2)

The below code us just some start of learning python quicker by using a real world example and trying out different things. It's nothing that will be ..... More

Print this item

  Webscraping homework
Posted by: Ghigo1995 - Sep-23-2018, 03:47 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, I really need some help with a Python assigment. The assignment consists in writing a Python code to web scrape data and assemble a dataset.
..... More

Print this item

  Run Error
Posted by: jacobdadoun - Sep-23-2018, 03:04 PM - Forum: Bar - Replies (3)

Hello community!
I'm very new to PyCharm.

Every time I save a project and I close it, and then reopen the project to run it, I get an error equals=2 ..... More

Print this item

  AES encryption - does not match between arduino and python 3 crypto
Posted by: guillaume55 - Sep-23-2018, 11:14 AM - Forum: General Coding Help - No Replies

Hi,
I'm trying to send encrypted data from python3 to an esp8266 via mqtt.
Currently mqtt with no encryption works but i'm stuck on the encryption..... More

Print this item

  Wasted hour
Posted by: pcsailor - Sep-23-2018, 10:37 AM - Forum: Bar - Replies (5)

Hi,

I just spent an hour solving a problem for the second time, one that I solved last week, but forgot I solved the problem last week.

And the ..... More

Print this item

  GET Request and JSON response
Posted by: montyonthebonty - Sep-23-2018, 10:08 AM - Forum: Networking - Replies (9)

Good morning

I'm trying to use Python to connect to a MySQL Database, so I'm trying to use a GET request and a PHP script.

The code I have so fa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 54 minutes ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 1 hour ago RonR noisefloor GUI
  Is the interpreter that c... 5 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 5 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 8 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577002
  Tutorial Requ... 499731
  Web Scraping ... 440754
  Newbie with P... 384740
  New Users Int... 368811
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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