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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,389
» Latest member: Whitecolor
» Forum threads: 13,400
» Forum posts: 66,905

Full Statistics

Online Users
There are currently 122 online users.
» 1 Member(s) | 121 Guest(s)
PythonSnake

Latest Threads
Repair function for a nes...
Forum: General Coding Help
Last Post: Alfalfa
9 minutes ago
» Replies: 0
» Views: 16
Write something to anothe...
Forum: General Coding Help
Last Post: nilamo
1 hour ago
» Replies: 3
» Views: 58
débutant sur python
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 2
» Views: 39
Looking for a Guide Throu...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 19
Beginner python password ...
Forum: General Coding Help
Last Post: Alfalfa
2 hours ago
» Replies: 4
» Views: 78
What is the best IDE
Forum: News and Discussions
Last Post: buran
4 hours ago
» Replies: 29
» Views: 509
I need help with loop one...
Forum: General Coding Help
Last Post: buran
4 hours ago
» Replies: 1
» Views: 59
'int' object is not subsc...
Forum: General Coding Help
Last Post: ichabod801
5 hours ago
» Replies: 1
» Views: 23
help with flatten nested ...
Forum: General Coding Help
Last Post: ichabod801
5 hours ago
» Replies: 1
» Views: 29
Pizza Ordering Program
Forum: Completed Scripts/Snippets
Last Post: Trinx
6 hours ago
» Replies: 5
» Views: 145

 
  Repair function for a nested database
Posted by: Alfalfa - 1 hour ago - Forum: General Coding Help - No Replies

I made a class handle the preference database of my apps. The problem is that as new features are added, using the get() method on the new keys raise ..... More

Print this item

  Looking for a Guide Through the Labyrinth
Posted by: stephenmolnar - 2 hours ago - Forum: General Coding Help - Replies (1)

I am a semi-retired Research Scientist who bumbled his way through FORTRAN II programming more years ago that I am willing to admit.

I have a Quant..... More

Print this item

  Write something to another script
Posted by: Lsxbash - 4 hours ago - Forum: General Coding Help - Replies (3)

I just want to write something to another script like this example; When i write msfconsole to terminal is going to opening metasploit so i can do thi..... More

Print this item

  I need help with loop one function and creating variables
Posted by: don - 5 hours ago - Forum: General Coding Help - Replies (1)

my code that is working
*****************************************************
[python]names = ['xx','yy','cc']

for name in names:
exec("%s_m..... More

Print this item

  'int' object is not subscriptable
Posted by: lateublegende - 5 hours ago - Forum: General Coding Help - Replies (1)

my code
[python]
line = line.strip()
except AttributeError:
line = line
line+1
lines = o..... More

Print this item

  help with flatten nested list
Posted by: Arch2030 - 5 hours ago - Forum: General Coding Help - Replies (1)

I am trying to flatten my nested list

Input:

list1=[[[0],[1400,100]],[[0],[1200,100]],[[100],[800,400]]]

Expected output:

flattened1=[[0,1..... More

Print this item

  débutant sur python
Posted by: salahoum - 6 hours ago - Forum: General Coding Help - Replies (2)

j'ai un fichier csv
j'ai trouvé plusieurs vidéo qui fait la lecture de donnés de fichier dans python comme :
nom;age;pays;numéro;salah;21;france;2;Lu..... More

Print this item

  Tuple Unpacking
Posted by: HarshaliPatel - 10 hours ago - Forum: General Coding Help - Replies (2)

Can anyone help me with Tuple unpacking term? If given example, that will help me to understand more clearly.

Print this item

  Dijkstra code - trying to simplify it
Posted by: grandpapa10 - 10 hours ago - Forum: General Coding Help - Replies (1)

Hello again peeps,

After hours struggling with my other code, I decided to start from scratch again.
I finally came up with a code that finds the ..... More

Print this item

  Need help for extractring keys from dictionary
Posted by: dragan979 - 11 hours ago - Forum: General Coding Help - Replies (3)

Have this code:

[python]if mail["Subject"].find("Alert for Clarion prod errors") > 0 :
body = get_autosys_body(mail)
info = ..... More

Print this item

  arima model error in python
Posted by: wissam1974 - Today, 09:37 AM - Forum: Data Science - No Replies

hi
i am using the software PyCharm(2018.1) software to create ARIMA model in pyhthon
here is the model that i have created:

[python]
def arima_..... More

Print this item

  Difference
Posted by: mane - Today, 08:51 AM - Forum: Bar - No Replies

What is the difference between Server.Transfer and Response.Redirect?

Print this item

  Hard time with prime factors in the task.
Posted by: blackknite - Today, 07:51 AM - Forum: General Coding Help - Replies (1)

Hey people.Im trying to do some harder python challenges to learn some new things. Given a string,and a number, I have to get an ascii value of a char..... More

Print this item

  TypeError: __str__ returned non-string error
Posted by: jolinchewjb - Today, 06:34 AM - Forum: General Coding Help - Replies (4)

the result is : TypeError: __str__ returned non-string (type NoneType), but i think my __str__ function is correct,any idea? thanks, this is under pyt..... More

Print this item

  Regarding AWS API authorization
Posted by: naressh1994 - Today, 06:13 AM - Forum: General Coding Help - No Replies

We have created a AWS API gateway for connecting AWS infrastructure. We are having ARC API client for checking the API requests. We have to design a A..... More

Print this item

  How to deploy Django application on Apache2 server
Posted by: deepag - Today, 05:09 AM - Forum: Web Development - No Replies

Hello,

I am trying to deploy my Django project on server[Ubuntu 18.04]. I referred this forum.
https://www.digitalocean.com/community/tutorials/..... More

Print this item

  Beginner python password program
Posted by: jakobscheffler - Today, 02:52 AM - Forum: General Coding Help - Replies (4)

[python]print('\n')

print('uPass 1.0')




menu = input('Create - Y, Enter N: ')

if menu == 'Y' or menu == 'y':

new_pass = input('En..... More

Print this item

  Recursive using Python
Posted by: karupython - Yesterday, 09:35 PM - Forum: General Coding Help - Replies (1)

Need help in achieving below logic using python

I have a data in the table as below and need output as below

https://imgur.com/a/ppSRXeT

Print this item

  python
Posted by: salahoum - Yesterday, 09:16 PM - Forum: General Coding Help - Replies (1)

I'm trying to read a csv file in python
but not just display it but from the manager as a table
I found a lot of video that read csv file but only f..... More

Print this item

  Disk usage stats.
Posted by: MuntyScruntfundle - Yesterday, 08:47 PM - Forum: General Coding Help - Replies (2)

Hi folks.

I'm using all the usual code to get the main disk usage info, how big is the disk, how much available etc. but how can I get a current ov..... More

Print this item

  Is this even possible? Advanced ML
Posted by: Devilish - Yesterday, 08:44 PM - Forum: Data Science - Replies (5)

Lets see if I can describe this in words... I guess this is best described as a time series, so I have this "event" that randomly occurs. I can easil..... More

Print this item

  Confused by order of operations
Posted by: ward - Yesterday, 08:08 PM - Forum: General Coding Help - Replies (4)

I'm doing a seminar to learn Python, and I've been asked to predict the result of this code:

print ( 5*2 - 3+4/2 )
The lesson expla..... More

Print this item

  Log WSGI directly to stdout
Posted by: ThomasT - Yesterday, 06:36 PM - Forum: Web Development - Replies (3)

Hello

How can I log from wsgi_script directly to stdout?
We are using it in a docker container. httpd writes to stdout. But any logs from wsgi a..... More

Print this item

  QScrollArea with a gridlayout
Posted by: littleGreenDude - Yesterday, 05:57 PM - Forum: GUI - Replies (1)

I have a form that grows in height as the user provides information. Currently this occurs by dynamically adding tables and other widgets to a grid l..... More

Print this item

  enumeration code help
Posted by: sar - Yesterday, 04:56 PM - Forum: General Coding Help - Replies (5)

Hi there, I am a new user of python and just want to know if there is anyway to shorten by below code in a way that I can multiply all records with a ..... More

Print this item

  Cannot use function with timer/clock
Posted by: theangryprogrammer - Yesterday, 02:58 PM - Forum: General Coding Help - Replies (1)

I have been working for days now trying to implement a timer, which would take 5 minutes in any other language. I have tried every tutorial in existen..... More

Print this item

  SSL not working with Python 3.7
Posted by: Kyuu - Yesterday, 02:49 PM - Forum: General Coding Help - Replies (1)

I started to learn python and sockets those days and I made a simple client-server app just to make some tests and it works fine with Python 3.6, but ..... More

Print this item

  how can I initialize this code ?
Posted by: grandpapa10 - Yesterday, 12:57 PM - Forum: General Coding Help - Replies (4)

Hey there !

Im having trouble with this code:
[python]class Graph:
def __init__(self):
self.graph = {
'A': {'B': 10, 'D'..... More

Print this item

  Delete multiple files using file extention
Posted by: sumncguy - Yesterday, 12:28 PM - Forum: General Coding Help - Replies (2)

I script in bash and some expect and I am trying to make the move to python.
I have taken a beginner class at a local community college and am now t..... More

Print this item

  Looping with Beautifulsoup
Posted by: CaptainCsaba - Yesterday, 11:55 AM - Forum: General Coding Help - Replies (8)

Hi!

This is my very first python script, I will probably make some noob mistakes and I apologise for that.
So I have a txt file that is full of URLS,..... More

Print this item

  How to Host a REST API that executes a PYTHON script on the WEB SERVER
Posted by: rahul4data - Yesterday, 10:39 AM - Forum: General Coding Help - No Replies

Hi Python Gurus,
I have Python installed on my machine.
I have created a python script my_python_script.py that executes locally.
Now, I am trying ..... More

Print this item

  class program no output under python 3.5.1
Posted by: jolinchewjb - Yesterday, 09:43 AM - Forum: General Coding Help - Replies (1)

my python profram is as follows:
[python]
class logent(object):
def __init__(self, s):
self.line=s
self.info=s.split('',5)

def printli..... More

Print this item

  Help : Inserting records into MySQL workbench
Posted by: Aresden - Yesterday, 06:36 AM - Forum: Homework - Replies (1)

Hi all, this is my first time and I am new here. With that being said, I have read the guidelines. First and foremost, this is a project homework rela..... More

Print this item

  How to work with json?
Posted by: manhsv - Yesterday, 04:38 AM - Forum: Web Development - Replies (2)

As I mentioned above, I want to simplify a json string. An example for more details: I have a json string:
[python]
{"name":"erik","name_sanitized":..... More

Print this item

  Help learning a concept
Posted by: Ccjake - Yesterday, 01:20 AM - Forum: Homework - Replies (2)

I have this project I have to do by wednesday, (here are the instructions https://imgur.com/WAWpWdt), but I have no idea how to do this, could anyone ..... More



Attached Files Thumbnail(s)
   
Print this item